Netscape's LiveConnect feature allows JavaScript to control Java applets by means of their public methods. This example shows a simple applet, the Chameleon Bar being controlled by JavaScript. You can start and stop the applet, display information about it, and even change the speed at which it switches colors. Note that you need both Java and JavaScript enabled. Moreover, you need Navigator or Communicator from Netscape: Microsoft's JScript implementation on Internet Explorer does not appear to allow control of Java applets.
This JavaScript checks if all the images in the document exists. If a particular image does not exist, that image will be replaced by a custom image! Works with IE only.
This is how it works. In IE, if a particular image does not show up, then its dimensions are 28 x 30 (without the 'alt'). So, the script checks all images with this size after removing the 'alt' tag. If such an image exists, it is a broken-image.
The only drawback is that if your image has dimensions of 28 x 30, even if it exists the script will treat it as a broken-image. But there is a solution! You can prevent the script from checking for such scripts by placing an attribute-value pair nc="1". To use the script properly, here are the guidelines :
One of the most versatile scripts of its kind, we created this one to compact arbitrary content on your page so they're expandable on demand. This allows you to save space within your webpage and even add to the aesthetics of the webpage's design in many cases. What sets this script apart from most other you'll find are the following features:
Works in both IE5+ and NS6+, and degrades fully with other browsers. In the later instances your content will appear normally.
Extremely versatile. The script can be applied to content of all types on your webpage, such as
,
,
s etc.
Two expanding behaviors- specify whether only one content should be open at any one time, or that previously open content continue to be visible.
Easily specify an optional "expand" and "contract" symbol, to be shown dependant on the corresponding content state. Symbol can be any HTML, such as an image.
New! Added optional "contact all" and "expand all" links.
Persistence feature. You can specify whether the script should remember the state of the content structure when the user navigates away to a different page. When enabled, returning to the page will cause the script to return the content to its last state (ie: third content expanded).
Yes your mind is running wild with ideas now...
One of the coolest feature of this shopping cart which I cannot find another one which have it yet is the popup feature. The other carts in the market nowadays have a "View my Shopping Cart" page, which will cause the user to be brought to another page and when he has finish viewing what he wants, he will have to load the previous page to where he was. This cart addressed this issue by simply having the cart in a DHTML popup instead of an alternate HTML page.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.