Speakerguy
05-07-2002, 04:54 PM
I need a bit of javascript help
I am trying to write a script for http://www.l337list.com/out.php?site=1020613887
This site is a topsites list, and this script is for the ad bar loaded at the top of out.php
I want the "Close This Ad" link to take the contents of the main frame and move them to the target _parent or _top.
I should remember how to do this...but since I havent done any major (or minor for that matter) java work in a LONG time (since like 2000....wow) Im a bit rusty
If Im right, it should look something like <a href=# onclick="top.location.replace(outmain.location)">
I am trying to write a script for http://www.l337list.com/out.php?site=1020613887
This site is a topsites list, and this script is for the ad bar loaded at the top of out.php
I want the "Close This Ad" link to take the contents of the main frame and move them to the target _parent or _top.
I should remember how to do this...but since I havent done any major (or minor for that matter) java work in a LONG time (since like 2000....wow) Im a bit rusty
If Im right, it should look something like <a href=# onclick="top.location.replace(outmain.location)">
