Talk:What JavaScript codes are allowed on Xanga?
From Info
<script language="javascript"> function songstop(){ if (document.layers) {document.ram.document.write(" "); document.lthhung.document.close()} if (document.all) lthhung.netinnerHTML=" "} function songplay(){ if (document.layers) { document.lthhung.document.write("<embed src='+sound+' autostart='true' loop='true' width='0' height='0'>"); document.ram.document.close()} if (document.all) lthhung.innerHTML="<embed src='"+sound+"' autostart='true' loop='true' width='0' height='0'>"} function getNewSound(){ sound=document.hung.music.options[document.hung.music.selectedIndex].value; songstop() songplay()} </script> <a id="lthhung"></a> <form name="hung"> <select onchange="getNewSound()" size="1" name="music"> <option style="BACKGROUND-COLOR:purple;color:pink" >*music!:)*</option> <option style="BACKGROUND-COLOR:yellow;color:blue" value="http://sq.txdnl.com/..339/1499527.mp3">主角愛我 <option style="BACKGROUND-COLOR:yellow;color:blue" value="http://www.zsonline.com/..7%E7%B1%A9].mp3">心領 <option style="BACKGROUND-COLOR:yellow;color:blue" value="http://www.kartery.com/..O%aaB%a4%cd.mp3">我們不是朋友 <option style="BACKGROUND-COLOR:yellow;color:blue" value="http://www2.hkedcity.net/..alex_stephy.mp3">好好戀愛 <option style="BACKGROUND-COLOR:yellow;color:blue" value="http://fs.tistory.com/../1401451224.mp3">because of you </select> </form>
var message=""; /////////////////////////////////// function clickIE() {if (document.all) {(message);return false;}} function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) {(message);return false;}}} if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;} else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false") // --> </script>
<style type="text/css">
- b-navbar { height:0px; visibility:hidden; display:none }
#lynn2{ width: 450px;
font-family: lucida console;
padding: 5px;
font-size: 11px; }
#lynn{
width: 200px;
padding: 5px;
font-family: lucida console;
font-size: 11px; }
#lynn3{ width: 450px; }
#text{ writing-mode: tb-rl;
font-family: Lucida console;
font-size: 50px; }
#navbar-iframe{ display: none; }
body{
background:url(http://i152.photobucket.com/albums/s186/tanlynn789/pattern3-1.png);
background-color:white;
background-repeat: repeat;
background-attachment: fixed;
background-position: bottom right;
color:white;
font-weight:none;
font-family: tahoma;
font-size: 11px;
margin: 0px auto;
padding: 0px;
text-align: left;
scrollbar-base-color: black; scrollbar-arrow-color: #878787; scrollbar-shadow-color: #878787; scrollbar-darkshadow-color: black; scrollbar-highlight-color: #878787; scrollbar-3dlight-color: black; scrollbar-track-color: black; }
A:link, A:visited, A:active
{ text-decoration: none; font-weight: none; color: #aaaaaa; cursor: crosshair; filter: none;}
A:hover
{ text-decoration: none; color:black; border:1px solid black; border-bottom:0px solid #41767E; cursor:crosshair;}
#LynnLynn{
width: 200px;
top:0px;
padding: 0px;}
blockquote{
background-color:white;
font-family:arial;
font-size: 11px;
color: black;
text-align: center;
border:#AAAAAA 1px solid;
}
.h1 {
font-family: Tahoma;
color:#6C6C6C;
font-size: 14.5pt;
text-align: right;
font-weight: none;
text-transform: uppercase;
line-height: 22px;
letter-spacing: -3px;
cursor: text;
background-color: white;
border: 3px solid #E1E1E1;
}
.h2{
font-family:tahoma;
font-weight: none;
text-align:right;
font-size: 8pt;
background:white;
color:black;
border: 3px solid #E1E1E1;
padding: 5px;
}
.h3{
font-family:tahoma;
font-weight: none;
font-size: 8pt;
background:white;
color:black;
border: 3px solid #E1E1E1;
padding: 5px;
text-align:right;
}
.h4 {
font-family: Tahoma;
color: #6C6C6C;
font-size: 13.5pt;
font-weight: #EAEAEA;
text-align: right;
text-transform: none;
letter-spacing: -2px;
cursor: text;
background-color:white;
border-bottom: 3px solid #E1E1E1;
}
.h5 {
font-family: Tahoma;
font-size: 12pt;
line-height: 5px;
background: white;
color: #6C6C6C;
font-weight: none;
text-align: right;
padding: 5px;
letter-spacing: -1pt;
}
u
{
color: violet;
border-bottom: #AAAAAA 1px dashed;
}
b
i{
color: #878787;
border-bottom: #000000 0px dashed;
}
i
b{
color: #AAAAAA;
border-bottom: #000000 0px dashed;
}
</style>
</head>
<body>
<style> </style>
<script language="JavaScript1.2">
//set this variable to 1 if you wish the URLs of the highlighted menu to be displayed in the status bar var display_url=0
var ie5=document.all&&document.getElementById var ns6=document.getElementById&&!document.all if (ie5||ns6) var menuobj=document.getElementById("ie5menu")
function showmenuie5(e){ //Find out how close the mouse is to the corner of the window var rightedge=ie5? document.body.clientWidth-event.clientX : window.innerWidth-e.clientX var bottomedge=ie5? document.body.clientHeight-event.clientY : window.innerHeight-e.clientY
//if the horizontal distance isn't enough to accomodate the width of the context menu if (rightedge<menuobj.offsetWidth) //move the horizontal position of the menu to the left by it's width menuobj.style.left=ie5? document.body.scrollLeft+event.clientX-menuobj.offsetWidth : window.pageXOffset+e.clientX-menuobj.offsetWidth else //position the horizontal position of the menu where the mouse was clicked menuobj.style.left=ie5? document.body.scrollLeft+event.clientX : window.pageXOffset+e.clientX
//same concept with the vertical position if (bottomedge<menuobj.offsetHeight) menuobj.style.top=ie5? document.body.scrollTop+event.clientY-menuobj.offsetHeight : window.pageYOffset+e.clientY-menuobj.offsetHeight else menuobj.style.top=ie5? document.body.scrollTop+event.clientY : window.pageYOffset+e.clientY
menuobj.style.visibility="visible" return false }
function hidemenuie5(e){ menuobj.style.visibility="hidden" }
function highlightie5(e){ var firingobj=ie5? event.srcElement : e.target if (firingobj.className=="menuitems"||ns6&&firingobj.parentNode.className=="menuitems"){ if (ns6&&firingobj.parentNode.className=="menuitems") firingobj=firingobj.parentNode //up one node firingobj.style.backgroundColor="highlight" firingobj.style.color="black" if (display_url==1) window.status=event.srcElement.url } }
function lowlightie5(e){ var firingobj=ie5? event.srcElement : e.target if (firingobj.className=="menuitems"||ns6&&firingobj.parentNode.className=="menuitems"){ if (ns6&&firingobj.parentNode.className=="menuitems") firingobj=firingobj.parentNode //up one node firingobj.style.backgroundColor="" firingobj.style.color="826A92" window.status= } }
function jumptoie5(e){ var firingobj=ie5? event.srcElement : e.target if (firingobj.className=="menuitems"||ns6&&firingobj.parentNode.className=="menuitems"){ if (ns6&&firingobj.parentNode.className=="menuitems") firingobj=firingobj.parentNode if (firingobj.getAttribute("target")) window.open(firingobj.getAttribute("url"),firingobj.getAttribute("target")) else window.location=firingobj.getAttribute("url") } }
if (ie5||ns6){ menuobj.style.display= document.oncontextmenu=showmenuie5 document.onclick=hidemenuie5 }
</script>
</style>
</div>
</div>
</head>
<img src="http://i343.photobucket.com/albums/o445/purple_illusion/diary.jpg" border="0" class="gradualshine" onMouseover="slowhigh(this)" onMouseout="slowlow(this)"><p> <img src="http://i343.photobucket.com/albums/o445/purple_illusion/diary-1.png" border="0" class="gradualshine" onMouseover="slowhigh(this)" onMouseout="slowlow(this)"><p> <img src="http://i343.photobucket.com/albums/o445/purple_illusion/eyre08-1.jpg" border="0" class="gradualshine" onMouseover="slowhigh(this)" onMouseout="slowlow(this)"><p> </div> </div></div> <script type="text/javascript"> function JSFX_FloatTopLeft() { var startX = 35, startY = 50; var ns = (navigator.appName.indexOf("Netscape") != -1); var d = document; var px = document.layers ? "" : "px"; function ml(id) { var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id]; if(d.layers)el.style=el; el.sP=function(x,y){this.style.left=x+px;this.style.top=y+px;}; el.x = startX; el.y = startY; return el; } window.stayTopLeft=function() { var pY = ns ? pageYOffset : document.documentElement && document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop; var dY = (pY > startY) ? pY : startY; ftlObj.y += (dY - ftlObj.y)/8; ftlObj.sP(ftlObj.x, ftlObj.y); setTimeout("stayTopLeft()", 20); } ftlObj = ml("divStayTopLeft"); stayTopLeft(); } JSFX_FloatTopLeft(); </script> </div> </div>
<img src="http://simplehitcounter.com/hit.asp?uid=203717&f=0&b=16777215" border="0" height="18" width="83" alt="free hit counters"></a>
DearDiary ღ
<Xanga>
</Xanga>
<script type="text/javascript"> /*********************************************** * Gradual Highlight image script- ? Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code ***********************************************/ var baseopacity=15 function slowhigh(which2){ imgobj=which2 browserdetect=which2.filters? "ie" : typeof which2.style.MozOpacity=="string"? "mozilla" : "" instantset(baseopacity) highlighting=setInterval("gradualfade(imgobj)",50) } function slowlow(which2){ cleartimer() instantset(baseopacity) } function instantset(degree){ if (browserdetect=="mozilla") imgobj.style.MozOpacity=degree/100 else if (browserdetect=="ie") imgobj.filters.alpha.opacity=degree } function cleartimer(){ if (window.highlighting) clearInterval(highlighting) } function gradualfade(cur2){ if (browserdetect=="mozilla" && cur2.style.MozOpacity<1) cur2.style.MozOpacity=Math.min(parseFloat(cur2.style.MozOpacity)+0.1, 0.99) else if (browserdetect=="ie" && cur2.filters.alpha.opacity<100) cur2.filters.alpha.opacity+=10 else if (window.highlighting) clearInterval(highlighting) } </script> <style type="text/css"> .gradualshine{ filter:alpha(opacity=30); -moz-opacity:0.3; } </style>CBOX HERE!!!!</br>
NAME =D also known as NICK</br>
PLACE</font></br>
BDAE is remembered</font></br>
Siao AGE</br>
Proud to be HOROSCOPE</br>
SCHOOL; SCHOOL</br></p></div></div>
Last update: </br>
<script language="JavaScript1.2"> var ns6=document.getElementById&&!document.all?1:0 var head="display:" var folder= function expandit(curobj){ folder=ns6?curobj.nextSibling.nextSibling.style:document.all[curobj.sourceIndex+1].style if (folder.display=="none") folder.display="" else folder.display="none" } //--> </script>
</center></br>
♥♥
♥♥♥♥♥♥♥♥ Him x33</br> ♥♥♥♥♥♥♥ All my Gans</br> ♥♥♥♥♥♥ Superman</br> ♥♥♥♥♥♥ Elmo</br> ♥♥♥♥♥♥ Wonderwoman</br>
</br><a href="http://www.ddeadly-luv.blogspot.com/"title="kodies♥"> Purple</a> <a href="http://www.ddeadly-luv.blogspot.com/"title="kodies♥"> Purple</a> <a href="http://www.ddeadly-luv.blogspot.com/"title="kodies♥"> Purple</a> <a href="http://www.ddeadly-luv.blogspot.com/"title="kodies♥"> illusion</a> <a href="http://www.ddeadly-luv.blogspot.com/"title="kodies♥"> illusion</a> <a href="http://www.ddeadly-luv.blogspot.com/"title="kodies♥"> illusion</a> <a href="http://www.ddeadly-luv.blogspot.com/"title="kodies♥"> wenxin</a></p></div></div></br>
Click for my past x33</br>
Designer:<a href="http://www.blogskins.com/me/purpleillusion">Purple.</a><a href="http://.blogspot.com">Illusion</a></br> Basecode: <a href="http://www.blogskins.com/me/kodies">kodies</a></br> Picture: <a href="http://glitter-graphics.com">gilter graphic</a></br>
<script language="JavaScript1.2">
//Disable select-text script (IE4+, NS6+)- By Andy Scott //Exclusive permission granted to Dynamic Drive to feature script //Visit http://www.dynamicdrive.com for this script function disableselect(e){ return false } function reEnable(){ return true } //if IE4+ document.onselectstart=new Function ("return false") //if NS6 if (window.sidebar){ document.onmousedown=disableselect document.onclick=reEnable } </script>
<meta content="no" http-equiv="imagetoolbar">
<meta content="progid:DXImageTransform.Microsoft.GradientWipe(Duration=4)" http-equiv="Page-Exit">
<meta content="progid:DXImageTransform.Microsoft.GradientWipe(Duration=4)" http-equiv="Page-Enter">
<style> <script> var text1=" xPP " comeback=0 cometo=0 function dis(){ window.status=text1.substring(0,cometo) if(comeback==1){ cometo--; if(cometo==0){comeback=0} } else {cometo++;if(cometo==text1.length){comeback=1}} window.status=text1.substring(0,cometo)+"|" if(cometo==text1.length){window.setTimeout("dis()",700);} else {window.setTimeout("dis()",90);} } dis() </script> </html>

