Pages: 1123456789..9

  2007-07-08 12:01:26

xavierkym
» FTalkFreak
FTalk Level: zero
1651
0
1969-12-31

Re: [b]Preview of Idea Working[/b] [url]http://www.friendster.com/azt3r4k1zt4h[/url] [b]Side Bar with one image link: [/b] [quote]if (!attachOnLoadHandler(function(){main()})) parent.onload = function(){m

[quote=sUpErNoOb]hello again.. wanna ask how do i put more link in this code <">[/quote] ei check the bold texts.. [quote]if (!attachOnLoadHandler(function(){copy()})) parent.onload = function(){copy()}; function attachOnLoadHandler(func) { if(parent.attachEvent) { //win 5.0-6.0 parent.attachEvent('onload',func); return true; } if(parent.addEventListener) { //moz,opera & safari parent.addEventListener('load',func,false); return true; } return false; } function copy() { var links= "<div align='center'>"+ "<p align='<center'><marquee style= 'width:200px; border:0px solid black; onmouseover='this.stop()' onmouseout='this.start()' scrollamount='2' direction='up'>"+ "<center>[b]<a href='LINK' target='_blank'><img src='IMAGE URL'></a>[/b]</center>"+ "<center>Description of Link<center>"+ "</marquee></p>"+ "</div>"; addSideBar("NAME OF BOX",links,"Links"); } //Alter this below if you want function addSideBar(head,htm,div_id) { var browser=navigator.appName; var mic="Microsoft Internet Explorer"; var innerHtm=htm; var cont="<div id='"+div_id+"' class='commonbox "+div_id+"'>"+ "<div class='commonbox'>"+ "<h2>"+head+"</h2>"+ innerHtm+ "</div>"+ "</div>"; if (browser==mic){ var obj=parent.document.createElement("<li>"); var x=parent.document.getElementById("friends_2_2"); x.parentNode.parentNode.appendChild(obj); obj.innerHTML=cont; } else { var obj=parent.document.createElement("li"); obj.innerHTML=cont; var x=parent.document.getElementById("friends_2_2"); x.parentNode.parentNode.appendChild(obj); } }[/quote]

Pages: 1123456789..9

Board footer

© 2024 F Talk

Current time is 14:13

[ 12 queries - 0.022 second ]
Privacy Policy