2007-08-08 05:24:56

feruzz
» Banned
FTalk Level: zero
1557
0
1969-12-31

Re: the code may become obselete

^ ahm...I'm using [b]toggle effects[/b] tricks to change the button like links [quote]function toggle(obj) { var el = document.getElementById(obj); if ( el.style.display != 'none' ) { el.style.display = 'none'; }else { el.style.display = ''; } } var showbox; try { showbox = document.createElement("div"); }catch (e) { showbox = document.createElement("<div>"); } showbox.setAttribute("style","text-align:center;padding-top:10px"); showbox.innerHTML = "<div align='center' id='showhide' class='commonbox showhide'><h2>"+ "<a href=\"javascript:toggle('content_controlpanel_1_1')\">Controlpanel</a> | "+ "<a href=\"javascript:toggle('content_blogs_1_3')\">Blogs</a> | "+ "<a href=\"javascript:toggle('content_reviews_1_4')\">Reviews</a> | "+ "<a href=\"javascript:toggle('content_moreabout_1_5')\">About Me</a> | "+ "<a href=\"javascript:toggle('content_publiccomments_1_7')\">Comments</a> | "+ "<a href=\"javascript:toggle('content_scrapbook_1_8')\">Media Box</a> | "+ "<a href=\"javascript:toggle('content_friends_2_2')\">Friends</a> | "+ "<a href=\"javascript:toggle('content_ads_2_3')\">Google Ads</a> | "+ "<a href=\"javascript:toggle('content_fanof_2_4')\">Fanof</a> | "+ "<a href=\"javascript:toggle('content_groups_2_5')\">Groups</a></h2></div>"; document.getElementById("navigation").parentNode.appendChild(showbox);[/quote] question no3.....from master [b]xavierkym[/b] [quote]that's simple dude.. you need to put this one.. div tags and div id's <">then get the id.. so when u use it it goes like this <">I Hope you got it..[/quote]

You are viewing a post by feruzz. View all 295 posts in the code may become obselete.

Board footer

© 2025 F Talk

Current time is 06:05

[ 13 queries - 0.010 second ]
Privacy Policy