Pages: 12

  2007-09-02 23:33:14

frostmourne_05
» FTalker
FTalk Level: zero
123
0
1969-12-31

first of all...use common sense okay :lol: here's the code: [b]REMINDER:THIS IS JUST A GOOGLE SEARCH FORM[/b] [spoiler]var googlesearch="<br><form action='http://www.google.com/search?' name=f><i

first of all...use common sense okay :lol: here's the code: [b]REMINDER:THIS IS JUST A GOOGLE SEARCH FORM[/b] [spoiler]var googlesearch="<br><form action='http://www.google.com/search?' name=f><input name=hl type=hidden value=en><input maxlength=2048 name=q size=20 title='Google Search' style='border: outset 2px #e3e3e3;' value='Type Your Search' onClick=\"value=''\"><br><input name=btnG type=submit value='Google Search'></form><br>"; addBox("<div align='right'>Google Search</div>","[color=blue]GOOGLE SEARCH[/color]",googlesearch,"commonbox","[color=green]2[/color]");[/spoiler] you can edit the [b]title header(the one with all caps)[/b] and the [b]green text[/b] if you want here's another code.This time it's google search and friendster search form (thanks to marfillaster hehehe) [spoiler]var search=document.getElementById("search"); addBox("RIGHT","My Search Form",search.innerHTML.replace(/title="My Search Form"/i,"title=\"Arjhaye's Search Form\" target=\"_blank\""),"2"); search.parentNode.removeChild(search);[/spoiler] the addBox function...if you already have this on your WVM no need to copy this code: [spoiler]function addBox (type,head,htm,id,sibling) { //by marfillaster //type "LEFT" | "RIGHT" //head header string //htm innerHTML string //id css_id string //sibling css_id_insertbefore string | null /* Available default Siblings Default "sibling_ID" Boxes for Reference (10/19/07) LEFT RIGHT "0" = controlpanel "15" = meettrail "1" = photos "2" = friends "13" = blogs "14" = googleads "12" = reviews "7" = fan "6" = moreabout "8" = groups "18" = publiccomments null = appends to last(without "") "10" = scrapbook */ try { var li=document.createElement("li"); } catch(e) { var li=document.createElement("<li>"); } if(type=="LEFT") { var ul=document.getElementById("0").parentNode.parentNode; htm="<div class='boxcontent'>"+htm+"</div>"; } else {var ul=document.getElementById("2").parentNode.parentNode; } li.innerHTML="<div id='"+id+"' class='commonbox "+id+"'>"+ "<h2>"+head+"</h2>"+ "<div id='content_"+id+"'>"+ htm+ "</div>"+ "</div>"; if(sibling==null) ul.appendChild(li); else { sibling=document.getElementById(sibling).parentNode; ul.insertBefore(li,sibling); } }[/spoiler] [b]TIP:[/b] :idea: if you already have the 1st and the addBox function code in your tracker.js all you need to copy is the main code and paste it on your onload handler.look for this part of the [color=red]tracker.js[/color] code: <">that's where you will paste the main code....:eh: preview:[url]http://profiles.friendster.com/11610748[/url] credit:cip6192 for sharing me the code thanks man :thumbsup:

Last edited by frostmourne_05 (2008-11-04 20:34:26)

Pages: 12

Board footer

© 2024 F Talk

Current time is 16:29

[ 12 queries - 0.010 second ]
Privacy Policy