Pages: 12345..5

  2007-08-03 20:39:23

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

as the title says, this is a hide trick.. it means hide/removing... let's say u want to hide google ads.. =) just follow the steps below.. :D just sharing this trick.. instead of using css hide code

I think this is easy [quote]if ( ! attachOnLoadHandler(function () { rdiv();})) window.onload = function () { rdiv();}; function rdiv() { var a=document.getElementById("[b]ID_HERE[/b]"); a.parentNode.removeChild(a); }[/quote] to hide another box just simply insert the [b]BOLD[/b] into... [quote]if ( ! attachOnLoadHandler(function () { rdiv();})) window.onload = function () { rdiv();}; function rdiv() { var a=document.getElementById("[b]ID_HERE[/b]"); a.parentNode.removeChild(a); [b] var b=document.getElementById("ID_HERE_2"); b.parentNode.removeChild(b);[/b] }[/quote]

Last edited by feruzz (2007-08-04 12:42:23)

Pages: 12345..5

Board footer

© 2025 F Talk

Current time is 16:41

[ 12 queries - 0.007 second ]
Privacy Policy