Hi, I have a frameset A and B. B is the contentframe.
In this contentframe I have rotating banners (pictures) which I call with
the following JS-Hyperlink call (within B, function-defining is in B):

<cfoutput><a href="##" target="_top" onclick="banner(#LoopCount#,
#ListThisKampagne.KampagneID#)"><img src="#a#" width="#b#" height="#c#"
alt="#d#" name="#e#" border="0"></a></cfoutput>

target="_top"  obviously isn't working correct.

The function banner is like:

function banner(banner, ) {
click = emptyspace();
if (click < sth)
alert("Here is an alert");
else
{
window.location.href="http://"+document.images[banner+9].name;
win(id,document.tippform[x].value, ...);
}
}


How can I get out of the content-frame B ?
I want to eliminate the frameset for A and B. The target site when I click
on a banner is now in B.
Ideas ? Thanks !

Uwe



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to