2007-07-05 05:40:36

Refresh/Reload
» FTalkAddict
FTalk Level: zero
332
0
1969-12-31

Re: [b]UPDATED NOV 20[/b] [b]Step 1[/b] Onload Handler. If you dont have yet this code, paste after the above code. [code]function onProfileLoad() { Ffetcher.init(); } if (!attachOnLoadHandler(functio

[quote=feruzz]put at very top...example [quote]if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()}; function onProfileLoad() { [b]var htm="<div id='fcontainer'></div>"; addSideBar("Friends",htm,"frbox");[/b] //other side bar here[/quote] if you have groups box or Fan of Box just replace with this [quote]var htm="<div id='fcontainer'></div>"; addMainBox("Friends",htm,"frbox","groups_2_5");[/quote] or [quote]var htm="<div id='fcontainer'></div>"; addMainBox("Friends",htm,"frbox","fanof_2_4");[/quote] replace with this [quote]function addMainBox (head,htm,id,bro_id) { var ul=document.getElementById("[b]friends_2_2[/b]").parentNode; var bro=document.getElementById(bro_id).parentNode; try { var li=document.createElement("li"); } catch(e) { var li=document.createElement("<li>"); } li.innerHTML= "<div id='"+id+"' class='commonbox "+id+"'>"+ "<h2>"+head+"</h2>"+ "<div id='content_"+id+"'>"+ "<div class='boxcontent'>"+ htm+ "</div>"+ "</div>"+ "</div>"; ul.parentNode.insertBefore(li,bro); }[/quote] [/quote] help!!! :crybaby: it won't load on IE and firefox... only the frames... no pictures... huhuhu... =( error on page.... i don't have a group or fan box so what i did is just this... [quote]if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()}; function onProfileLoad() { var htm="<div id='fcontainer'></div>"; addSideBar("Friends",htm,"frbox"); //other side bar here[/quote] [quote]var htm="<div id='fcontainer'></div>"; addMainBox("Friends",htm,"frbox");[/quote] [quote]function addMainBox (head,htm,id,bro_id) { var ul=document.getElementById("friends_2_2").parentNode; var bro=document.getElementById(bro_id).parentNode; try { var li=document.createElement("li"); } catch(e) { var li=document.createElement("<li>"); } li.innerHTML= "<div id='"+id+"' class='commonbox "+id+"'>"+ "<h2>"+head+"</h2>"+ "<div id='content_"+id+"'>"+ "<div class='boxcontent'>"+ htm+ "</div>"+ "</div>"+ "</div>"; ul.parentNode.insertBefore(li,bro); }[/quote] :wallbash: :wallbash: :wallbash: [b]UPDATE:[/b] ups!! my bad!! :D forget about the whining hehehe!! [b]I Got It!![/b] =D just gonna adjust some css now so that there image position would be the same :eh: wish me luck!! hehehe Thanx to you guys!! =) :thumbsup: [b]UPDATE:[/b] I'm done!! :crybaby: <-- tears of joy also hehehe... Thanx for sharing this addon marfillaster... and thanx feruzz for the sidebar tips. :thumbsup: More Power To You Guys!! :D

Last edited by Refresh/Reload (2007-07-05 23:03:33)

Board footer

© 2024 F Talk

Current time is 17:37

[ 12 queries - 0.029 second ]
Privacy Policy