Xslt Script Snippets


26 January, 2012   

A code example of JScript XSLT Script Block

03 August, 2011   

By the below template we can make for-loop using xslt.

Have you ever wanted to know how much memory one of your PHP scripts uses when it runs? You might want this information if your script has a memory leak or takes a long time to execute. If that's the case then there's a great built-in function called memory_get_usage, which will display the exact amount of memory being used by your script. This...

26 November, 2011   

In jQuery $ is an alias for jQuery, so you can use jQuery() for accessing the jQuery methods. The following code example shows how you can use other libraries with jQuery:

13 November, 2012   

Creating and maintaining an effective JavaScript toolbox can greatly reduce development time. This script will show you how to include specific snippet modules on individual pages.

13 October, 2012   

Code example to show current date and time

05 February, 2014   

We created a slide show that allowed the user to move through an array of images.

19 October, 2011   

An example to display Dynamic Date

22 November, 2011   

JavaScript Code to display Dynamic Date

16 June, 2012   

You can use JavaScript window.location to redirect a visitor to a required page. You may have seen this feature used by sites with full page ads, or to redirect visitors to the site's new domain name. You can add also a timer to the script that will allow the page to redirect and the visitors will not need to click a link or type in the new URL.

29 January, 2011   

Cufon 101

How to add jQuery and Snippet to your HTML document

06 March, 2012   

An example code for JavaScript Random Quotes

31 December, 2014   

Function that allows a Javascript cookie to be set after HTML has been output to the page.

04 July, 2012   

Good programmer comments their code so that anyone can know what is happening in code. Its easy for others to edit the code.

23 March, 2011   

Are you looking for an easy way to launch an alert box on mouse over? This script will do just that. This JavaScript provides an easy way to alert your visitors. However, please ensure you use this script cautiously, as you certainly don't want to irritate your visitors and cause them to leave your web site.

23 May, 2011   

Are you looking for an easy way to launch an alert box on mouse over? This script will do just that. This JavaScript provides an easy way to alert your visitors. However, please ensure you use this script cautiously, as you certainly don't want to irritate your visitors and cause them to leave your web site.

20 December, 2011   

The example below defines a loop that starts with i=0. The loop will continue to run as long as i is less than, or equal to 5. i will increase by 1 each time the loop runs.

20 August, 2015   

Basic setup code for jQuery, linking to Google APIs for the jQuery library.

02 February, 2011   

Basic Alert