'DHTML Code' Category

March 31st, 2006

DHTML Image Thumbnail Chooser

This function allows you to easily browse through a series of thumbnails. When you click on a thumbnail, the full-size image is displayed on the right. The currently selected thumbnail becomes highlighted. The DHTML changes the source of an image tag, by taking out the '_tn' of the thumbnail filename. You can use this for [...]

Share
March 31st, 2006

DHTML – SEO-friendly drop-down menus with CSS

Many DHTML drop-down (fly-out) menu solutions are complicated to implement, require complex JavaScript arrays, are resource intensive, and can't be read by search engines. This code addresses these issues, and allows you to create menus from <ul> lists very easily, which are SEO friendly.

Share
March 20th, 2006

Create Tabs with CSS and JavaScript

With this code you can make any of the content of your page tabbed. You can take long sections of content, and put it all into one concise tabbed interface that users can click through instead of scrolling. You can use this code as-is, all you need to do is modify the "Page" divs, and/or [...]

Share
March 15th, 2006

DHTML: Dynamically Move an Object to Mouse Position

This function will enable to move objects to wherever the mouse is currently pointing. This is very handy for tooltips, when you want to display a help screen depending on the object you're pointing at

Share
March 14th, 2006

DHTML: Fade an Object or image in and Out

This function is great to dynamically fade images in and out. You could use JavaScript to dynamically change an object's display to 'block' or 'none', or change the visibility. But this is much slicker. With compatible browsers (IE and Mozilla/FireFox) it fades the object in or out at the rate that you specify

Share
« Previous PageNext Page »