2007-12-06 14:28:25

mickyriora
» FTalkAddict
FTalk Level: zero
335
0
1969-12-31

Re: [b]First of all, please familiarize yourself with all the codes & take note of the difference between css & js.[/b] The topic here is about compiling js so don't be asking about css considered only if

[quote=d.razcalz]sorry ms.micky.. i'm a very slow learner..hope you understand.. :cry: it worked now on my profile..many many many thanks to you.. [quote]addBox("left","My Navigation",nav,"My Navigation","0");[/quote] ^ that's only my problem..dunno what to put in the addbox(blah..blah..blah..)..well..problem solved..thank you so much.. :thumbsup:[/quote] No problem, I understand..I just showed you the difference just so you know =) It's just that later on you might want to add more boxes & with my experience testing those before, I noticed that using the new addbox function is better in adding boxes whereas the old addbox function a little bit hard to addboxes in sidebar, like for example putting same siblings or if you want to put 2 0r more sidebars all at the last part using null as null appends to last, would conflict with the others & wouldn't work so your choice is to put it as mainbar, but with the new addbox function, put 2 or more sidebars as Right which appends to last will work. [b]@bloodythoughts [/b] This is my example guide in number 1 topic...See how I implemented the loading page?..There is no onloadhandler, you don't have to add that like what you have in there.... You can apply the same if you don't have wvm, like the other example I posted quoted by duschev above. [quote]// js injection [color=red][b]you may inject your wvmcbox as shown here if you want to have wvmcbox by Feruzz & wvm by Marfi[/b][/color] var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "http://h1.ripway.com/USERNAME/WVMcboxmode.js"; document.getElementsByTagName("head")[0].appendChild(myjs); [color=red]// css injection[/color] var css = document.createElement("link"); css.setAttribute("rel","stylesheet"); css.setAttribute("href","CSS_LINK_HERE"); document.getElementsByTagName("head")[0].appendChild(css); [color=red]//Loading page for all browser by ezil2007[/color] loader=new loader(); function loader() { this.hide=function() { lding.style.display='none'; } var lding = document.getElementById('navBg'); myWidth = screen.availWidth; myHeight = screen.availHeight; lding.style.zIndex=1000; lding.style.backgroundImage ="url(http://i137.photobucket.com/albums/q205/ezil2007/overlay.png)"; lding.style.backgroundRepeat='repeat'; lding.style.position = 'fixed'; lding.style.top = '0px'; lding.style.left = '0px'; lding.style.width = myWidth; lding.style.height = myHeight; lding.style.overflow = 'hidden'; lding.style.display=''; lding.innerHTML="<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><center><font face='Comic Sans MS' color='white' size='20'>"+pageViewerFName+" Thanks for visiting! <br><br><br><br>Loading.. Please Wait...</font><b><br><br><br><br><br><img src='http://i135.photobucket.com/albums/q131/nikkomon_139/i102337293_99882.gif'/></center>"; } var ld=setTimeout("loader.hide()",4000); [color=red]// or you may use enterpage trick by Tazmaine[/color] var myplace = document.location.href; if (myplace == "http://profiles.friendster.com/user.php?uid=12345678"){ } else if (myplace == "http://profiles.friendster.com/user.php?uid=12345678"){ } else { location.href = "URL OF PHP or HTML"; } function onProfileLoad() { //onload handler //CBox var cbox="<div align='center' id='cbox'>"+blah,blah,blah...... [color=red]addBox("RIGHT","My Chat Box",cbox,"CHIKACHIKABOOMBOOM","[b]14[/b]");[/color] [color=blue]addBox("MyChatbox",cbox,"custombox_605",/standalonebox[\s]*?[b]ads/i[/b]);[/color] var mp3="<embed src=\"http://www.mp3profiles.com/players/style1/skinplayer.swf?blah,blah,blah.... [color=red]addBox("right","My MP3",mp3,"muzic","[b]2[/b]");[/color] [color=blue]addBox("My Music",mp3,"custombox_212",/commonbox[\s]*?[b]friends/i[/b]);[/color] [color=red]addBox("RIGHT","PEEPZ VISITED MY PAGE",TRACKER.div.innerHTML,"tracker",null);[/color] [color=blue]addBox(pageOwnerFName+"'s Visitors",TRACKER.div.innerHTML,"tracker","right");[/color] //Moving Friends Box var marqueeFriends = document.getElementById("content_2").innerHTML; document.getElementById("content_2").innerHTML ="<marquee direction='up' height='300' scrollamount='2' onMouseOver='stop()' onMouseOut='start()'>"+ marqueeFriends+"</marquee>"; // Marquee Fan of Box var marqueeFanof = document.getElementById("content_7").innerHTML; document.getElementById("content_7").innerHTML ="<marquee direction='up' height='200' scrollamount='3' onMouseOver='stop()' onMouseOut='start()'>"+ marqueeFanof+"</marquee>"; // Groups var marqueeGroups = document.getElementById('content_8').innerHTML; var Friends = document.getElementById('content_8'); Friends.innerHTML = "<marquee id=\"marquee\" direction=\"up\" height=\"100\" scrollamount=\"5\" onMouseOver=\"stop()\" onMouseOut=\"start()\">" + marqueeGroups + "<marquee>"; //Photo Gallery Slide var slodde = "<embed src=\"http://widget-e7.slide.com/widgets/slideticker.swf\" type=\"application/x-shockwave-flash\" quality=\"high\" scale=\"noscale\" salign=\"l\" wmode=\"transparent\" flashvars=\"cy=fr&il=1&channel=YOUR OWN&site=widget-e7.slide.com\" style=\"width:100%;height:125px\" name=\"flashticker\" align=\"middle\"/><div style=\"width:100%;text-align:center;\"><a href=\"http://www.friendster.com/photos/USERID\" target=\"_blank\"><b>View All Photo</a> | <a href=\"http://www.friendster.com/friendphotoupload.php?uid=USERID\" target=\"_blank\">Upload Photo Fo Me</b></a></div>"; document.getElementById('content_1').style.height='100%'; document.getElementById('content_1').style.overflowY='hidden'; document.getElementById('content_1').innerHTML = "<table width='100%'><tr><td align='center'>"+slodde+"</td></tr></table>"; } //Tehrzky's Block Me edited by Evan_Evanescence if(pageViewerID==""){ alert("Please log in your FRIENDSTER account to view this page!"); top.location.href="http://www.friendster.com/login.php?next=/user.php?uid=USERID"; } //TRACKER OBJECT[/quote] [b]addBox Legend:[/b] [color=red][b]red[/b][/color] =>[b]use for old addBox function by Marfillaster. Not compatible withwvmV3.1.1[/b] [color=blue][b]blue[/b][/color] => [b]use for new addBox function by Marfillaster.Compatible w/wvmV3.1.1[/b]

Board footer

© 2024 F Talk

Current time is 01:36

[ 12 queries - 0.063 second ]
Privacy Policy