graphics, layouts,codecs....
Home
Layouts
Animated GIFs,Cute pics
Angel Images
Fairy
Friends Images
Flowers
Glitter text
Love
Seasonal
Fantasy
GIFs
by DoinaTn
IMAGE - Html codes
Java codecs
Javascript
ASCII ,Marquee
Widgets
Photo Gallery
Videos
My Profile
enter
javascript
javascript preload images
<script language="javascript"> <!-- var preload=new image(); preload.src="(image name)"; --> </script>
javascript last modified
<script language="javascript"> <!-- var days = new array(8); days[1] = "sunday"; days[2] = "monday"; days[3] = "tuesday"; days[4] = "wednesday"; days[5] = "thursday"; days[6] = "friday"; days[7] = "saturday"; var months = new array(13); months[1] = "january"; months[2] = "february"; months[3] = "march"; months[4] = "april"; months[5] = "may"; months[6] = "june"; months[7] = "july"; months[8] = "august"; months[9] = "september"; months[10] = "october"; months[11] = "november"; months[12] = "december"; var dateobj = new date(document.lastmodified) var wday = days[dateobj.getday() + 1] var lmonth = months[dateobj.getmonth() + 1] var date = dateobj.getdate() var fyear = dateobj.getyear() if (fyear < 2000) fyear = fyear + 1900 document.write(wday + ", " + lmonth + " " + date + ", " + fyear) //--> </script>
javascript date
<script language="javascript"> <!-- var days = new array(7) days[1] = "sunday"; days[2] = "monday"; days[3] = "tuesday"; days[4] = "wednesday"; days[5] = "thursday"; days[6] = "friday"; days[7] = "saturday"; var months = new array(12) months[1] = "january"; months[2] = "february"; months[3] = "march"; months[4] = "april"; months[5] = "may"; months[6] = "june"; months[7] = "july"; months[8] = "august"; months[9] = "september"; months[10] = "october"; months[11] = "november"; months[12] = "december"; var today = new date() var day = days[today.getday() + 1] var month = months[today.getmonth() + 1] var date = today.getdate() var year = today.getyear() document.write ("<center><font size=1 face='verdana' color=#666666> "+ day + ", " + month + " " + date + ", " + year + "</font></center><p>") // --> </script>
external javascript file
<script language="javascript" src="http://www.purpleglitter.com/http://www.purpleglitter.com/geekgrrl/menu.js"></script>
top
javascript bust out of frames
<script language="javascript"> <!-- if (window == top) top.location.href = "load-in-frames-frameset.html"; //--> </script>
javascript disable right click
<script language=javascript> <!-- var message="function disabled"; function click(e) { if (document.all) { if (event.button == 2) { alert(message); return false; } } if (document.layers) { if (e.which == 3) { alert(message); return false; } } } if (document.layers) { document.captureevents(event.mousedown); } document.onmousedown=click; // --> </script>
javascript password
<script language="javascript"> <!-- scriptfunction whereto() {var magic_word = prompt("what is the magic word?","pretty please?"); if(magic_word == "berv") {window.location = "
http://www.chickpages.com/zinescene/lake/indexpage.html
";} else{window.location = "
http://www.chickpages.com/zinescene/lake/construction.html
";} } //end hiding script --> </script> <a href="indexpage.html" onclick="whereto();return false" onmouseover="window.status='do you know the magic word?'; return true" onmouseout="window.status=''; return true">hi</a>
javascript disable right click on images
<script language="javascript1.2"> var clickmessage="right click disabled on images!" function disableclick(e) { if (document.all) { if (event.button==2||event.button==3) { if (event.srcelement.tagname=="img"){ alert(clickmessage); return false; } } } else if (document.layers) { if (e.which == 3) { alert(clickmessage); return false; } } else if (document.getelementbyid){ if (e.which==3&&e.target.tagname=="img"){ alert(clickmessage) return false } } } function associateimages(){ for(i=0;i<document.images.length;i++) document.images[i].onmousedown=disableclick; } if (document.all||document.getelementbyid) document.onmousedown=disableclick else if (document.layers) associateimages() </script>
external javascript file
<script language="javascript" src="http://www.purpleglitter.com/http://www.purpleglitter.com/geekgrrl/menu.js"></script>