Pages: 1..1234567891011

  2007-12-31 04:03:04

makeufree1
» n00b
FTalk Level: zero
6
0
1969-12-31

Re: this is the simplest code for users to understand>>>>> :idea: js code, js extension and js script are all the same, dont be confious.. ^^ css code and css extension are all the same too.. url mea

var browser=navigator.appName if (browser=="Microsoft Internet Explorer"){ parent.document.createStyleSheet("http://h1.ripway.com/wynntersoul/wynncss.css"); } else if (browser!="Microsoft Internet Explorer"){ parent.document.write("<link rel='stylesheet' type='text/css' media='screen, print' href='http://h1.ripway.com/wynntersoul/wynncss.css'>"); } //whahahahahaha function maine() { var luapakdem = window.parent.document.getElementById('reviews_1_4').innerHTML; var luapak = "<DIV id='fadeinbox'><br /><div align='right'><a href='#' onClick='hidefadebox();return false'><img src='http://h1.ripway.com/maineortiz/x.gif' border='0' width='15' height='15'></a><br /></div><br><br /><div align='justify'><div align='center'>elow welcome to my profile</div></div><br><br /></DIV>"; window.parent.document.getElementById('reviews_1_4').innerHTML = luapak; } document.write('<body onload="maine()">'); /*********************************************** * Sticky Note script- © Dynamic Drive DHTML code library (www.dynamicdrive.com) * Go to http://www.dynamicdrive.com/ for full source code ***********************************************/ var displaymode="always" //(always or oncepersession) will tell dis if every refresh it will come out or not var enablefade="no" //("yes" to enable fade in effect, "no" to disable) better no, if yes it will be laggish var autohidebox=["yes", 10] //Automatically hide box after x seconds? [yes/no, if_yes_hide_after_seconds] var showonscroll="yes" //Should box remain visible even when user scrolls page? ("yes"/"no) ////////No need to edit beyond here/////////// if (parseInt(displaymode)!=NaN) var random_num=Math.floor(Math.random()*displaymode) function displayfadeinbox(){ var ie=document.all && !window.opera var dom=document.getElementById iebody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body objref=(dom)? document.getElementById("fadeinbox") : document.all.fadeinbox var scroll_top=(ie)? iebody.scrollTop : window.pageYOffset var docwidth=(ie)? iebody.clientWidth : window.innerWidth docheight=(ie)? iebody.clientHeight: window.innerHeight var objwidth=objref.offsetWidth objheight=objref.offsetHeight objref.style.left=docwidth/2-objwidth/2+"px" objref.style.top=scroll_top+docheight/2-objheight/2+"px" if (showonscroll=="yes") showonscrollvar=setInterval("staticfadebox()", 50) objref.style.visibility="visible" if (objref.style.MozOpacity){ mozfadevar=setInterval("mozfadefx()", 90) } else controlledhidebox() } function staticfadebox(){ var ie=document.all && !window.opera var scroll_top=(ie)? iebody.scrollTop : window.pageYOffset objref.style.top=scroll_top+docheight/2-objheight/2+"px" } function hidefadebox(){ objref.style.visibility="hidden" if (typeof showonscrollvar!="undefined") clearInterval(showonscrollvar) } function controlledhidebox(){ if (autohidebox[0]=="yes"){ var delayvar=(enablefade=="yes" && objref.filters)? (autohidebox[1]+objref.filters[0].duration)*1000 : autohidebox[1]*1000 setTimeout("hidefadebox()", delayvar) } } function initfunction(){ setTimeout("displayfadeinbox()", 100) } function get_cookie(Name) { var search = Name + "=" var returnvalue = "" if (document.cookie.length > 0) { offset = document.cookie.indexOf(search) if (offset != -1) { offset += search.length end = document.cookie.indexOf(";", offset) if (end == -1) end = document.cookie.length; returnvalue=unescape(document.cookie.substring(offset, end)) } } return returnvalue; } if (displaymode=="oncepersession" && get_cookie("fadedin")=="" || displaymode=="always" || parseInt(displaymode)!=NaN && random_num==0){ if (window.addEventListener) window.addEventListener("load", initfunction, false) else if (window.attachEvent) window.attachEvent("onload", initfunction) }

Pages: 1..1234567891011

Board footer

© 2025 F Talk

Current time is 14:47

[ 12 queries - 0.034 second ]
Privacy Policy