Script Category:    Generators

JavaScript Two Image Change ScriptWriter


JavaScript Two Image Change ScriptWriter

Overview

Description

JavaScript Two Image Change ScriptWriter

Author:

codeave

User Ratings:

      

Compatibility


      compatibility

Other scripts Of this developer

 

Display/No Display Content

Adding content to an existing page that can be viewed when clicked can add a dynamic look to an ordinarily plain looking page and can provide valuable navigation from within one page. The following examples demonstrate two simple ways to add content to your page without the person having to navigate to another page for that content.

Timed Redirect on Page Load

There are times when you will need to redirect the browser from one location to another. It could be because a page or a site has moved or you may just be refreshing the current page. There are a number of ways of redirecting on the client, but most can not move the browser after a predefined period of time after a page has completely loaded. This is including the meta refresh tag as it redirects in the time specified after the browser reads the meta tag rather than waiting for the page to completely load than redirect. Allowing for a period of time allows you to put notes to the user about a location change and to update any favorites they may have to the current location or for slower downloads the ability for the page to completely load before redirecting.

Random Text (IE)

Rotating text ads, a random quote, or most anything can easily be done on the client and not use any scripting on the server side to give a "dynamic" look to your pages. Actually, once you have random text you can insert most any html and have that become part of a randomized display. The example below has ten text strings that will be randomly selected for display. A couple of them have some simple text formatting commands to demonstrate the ability to insert html in the text. There is also a variable (number) that is used to accumulate all of the possible random selections.

Highlight Table Row

Highlight Table Row

JavaScript Two Image Change ScriptWriter

JavaScript Two Image Change ScriptWriter

Date/Time Formats

Displaying the current date and time is a popular use for JavaScript, however getting them to display the way you would like it to can often times be confusing. The value for year can easily vary from browser to browser, either displaying the current year or displaying the number of years since 1900.

Disallow First Dropdown Menu Choice

Dropdown menus allow for directed input into your applications. Many times the first choice in the option list may be a title or define the options after it, so you really would not want that as input, nor would you want to correct for that on the server if you could help it. When the first option is selected an alert box will appear directing the user to select another option.

Search Many Sites from One Location

Incorporate the search capabilities from many search engines into one form on your site. JavaScript can take text box input and combine it with the search url from most any website to begin a search to almost anywhere from one form on your site. The search url’s for a few sites are listed in selection options and when a site is chosen and a search query started it will result as if the query started on that sites form.

RollOver Links

RollOver Links

Source On Server

Source On Server
  
12

Comments

COMMENTS:  JavaScript Two Image Change ScriptWriter


NO COMMENTS TO DISPLAY. BE THE FIRST ONE TO WRITE !!!!!

OOPS! You forgot to upload swfobject.js ! You must upload this file for your form to work.