Metachecker.net
|
TrafficChecker.net
|
RankChecker.net
Learn Java Script Today
|
Over 5000 Free Fonts
|
Tutorials
|
Javascript Forum
|
Other Javascript Resources
|
Cheat Sheet
JavaScript Basics
Inserting Javascript
Complete Tutorial
Advance DHTML Tutorial
Script archive
Advanced Tutorials
Alert Scripts
Animation
Audio
Background Effects
Banner Ads
Browser Window
Buttons
Button Forms
Calculcators
Calendars
Clocks & Dates
Cookies
Cursor Effects
DHMTL Games
DHTML Miscellaneous
Equivalents
Forms
Games
IE4+ Scripts
IE5+ Scripts
Image Effects
Image Miscellaneous
Links & Buttons
Math Related
Messages Miscellaneous
Miscellaneous
Mouse Tricks
Navigation
Page Details
Password Protection
Pulldown Menus
Random Stuff
Scrolling
Status Bar
Text Animation
User Detail
User Info
Window Control
Live Background previewer
[View Sample]
A live background previewer that allows surfers to instantly see how a background image will look like in a document. Recommended for webmasters that manage web graphics sites. Requires IE 4.x
Insert into <HEAD>
<style> /*Background previewer credit: (www.wsabstract.com) More scripts here*/ .bgimages img {cursor:hand; border:2 solid red} </style> <script language="JavaScript1.2"> <!-- function tile(){ if (!document.all) return var source=event.srcElement if (source.tagName=="IMG") document.body.style.backgroundImage="url("+source.src+")" } //--> </script>
Insert into <BODY>
<div class="bgimages" onClick="tile()"> <!--Insert the <img> tags here--> </div>
Other Options
Once the script is inserted, any image inside the <div>, when clicked on, will be tiled against the background for previewing. This script degrades well with all browsers; users not using IE 4.x will simply not see any tiling when the image is clicked on.