Tag

javascript

  • Total Source Code 9
  • Total Page : 1
  • You currently on page number : 1

Simple Code Javascript

  • 00 0000
  • 163
  • javascript,simple,code,browser,literate,example,listing,internet,San Francisco, SF State, SFSU, Cal State San Francisco, California State University, public university, Cal State, Gators, SF State Gators, SFSU Gators, the San Francisco State of Mind, research, business, humanities, arts, sciences, health professions, social sciences, ethnic studies, teacher preparation, community service learning, study abroad, international students, SF Promise, financial aid.

These are example scripts with short explanations drawn from the unpublished book "Quick and Easy Guide to Javascript" by Stephen Wilson Read more


A Simple PHP Image Resize Code

  • 00 0000
  • 149
  • ajax, javascript, jquery, php

A PHP image resizing script that will re size JPG and PNG images. Specify a width OR a height OR both. Images are resized proportionally if only a width or a height is specified.    // Get the image info from the photo$image_info = getimagesize($photo); $width = $new_width = $image_info[0]; $height = $new_height = Read more


Passing JavaScript variables to PHP

  • 00 0000
  • 159
  • tutorial,html,javascript,asp,vbscript,sql,php,authoring,programming,training,learning,beginner's guide,howto,reference,examples,samples,source code,tags,demos,tips,links,FAQ,tag list,forms,frames,color table,webcheatsheet,active server pages,internet,database,development,Web building,Webmaster,html guide,php hypertext preprocessor, structured query language

Javascript is mainly used as a client side scripting language, while PHP is a server side technology. Unlike Java or ASP.Net, PHP doesn't have tools to make it work client side. That is why you need to combine JavaScript and PHP scripts to develop powerful web-applications. One of the frequent problems is defining visitor’s screen resolution using JavaScript tools and passing Read more


Countable is a JavaScript function

  • 00 0000
  • 133
  • countable,javascript,html

Countable is a JavaScript function to add live paragraph-, word- and character-counting to an HTML element. Countable is a zero-dependency library and comes in at 1KB when minified and gzipped.Usage Countable offers easy-to-use methods you can use in your project. Countable.live() and Countable.once() accept one or more HTML elements and a callback that receives one parameter — holding Read more


Color Picker

  • 16 December 2013
  • 419
  • javascript,html,color picker

First downloadn the image in folder that you defined     add javascript file jscolor.js var jscolor = { dir : "", // location of jscolor directory (leave empty to autodetect) bindClass : "color", // class name binding : true, // automatic binding via preloading : true, // use image preloading? install : function() { jscolor.addEvent(window, "load", Read more


CSS Pop UP with Javascript

  • 16 December 2013
  • 987
  • css,javascript,pop up

this source code is sample for pop up menu using css and javascript   Javascript file name pop-pasarkode.js function toggle(div_id) { var el = document.getElementById(div_id); if ( el.style.display == "none" ) { el.style.display = "block";} else {el.style.display = "none";} } function blanket_size(popUpDivVar) { if (typeof window.innerWidth != "undefined") { viewportheight = Read more


Execute a JavaScript Code on a TWebBrowser Document

  • 19 December 2013
  • 487
  • delphi,javascript,browser

The TWebBrowser Delphi control provides access to the Web browser functionality from your Delphi applications. Here's how to execute a custom script (JavaScript or VBScript) function on a HTML document loaded in the TWebBrowser control:   uses MSHTML_TLB, SHDocVw; procedure ExecuteScript(doc: IHTMLDocument2; script: string; language: string) ; begin if doc nil then begin Read more


Create Calculator Using Javascript

  • 27 June 2014
  • 165
  • javascript,calculator,number,operator

This is source Read more


Only Input Number in HTML Input Element Using Javascript

  • 10 July 2014
  • 484
  • javascript,input,number,only

This code use for Input element of HTML only number insert.   Javascript :   function OnlyNumber(pasarkode) { var charCode = (pasarkode.which) ? pasarkode.which : event.keyCode; if (charCode != 46 && charCode > 31 && (charCode < 48 || charCode > 57)) return false; return true; }   HTML Read more




Category