Hi there,
I'm having a bit of difficulty with a function that will open a link
depending on the calling frameset.
The function (promoLink()) is located in a frame
(trinity.getminted.com) and depending on the frameset
(
www.instanwinmirror.com or
www.sundaymailinstantwin.com) I wish to
open the link
www.instantwincasino.com and
www.sundaymailcasino.com
respectively.
I am having trouble testing the properties of the frameset, I have
tried the following and javaScript does not seem to recognise them as a
string.
function promoLink()
{
if (parent.topFrame.location.href = ...
if (top.location.href=..
if (window.top.document.location.href=..
}
I'd appreciate any pointers! Thanks in advance for looking.
Jon