Forums / Basic Configuration / .swf banner page linking

.swf banner page linking

Locked

Views: 1,065

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
22 May 2009, 6:44 PM
#1
simonb avatar

simonb

New Zenner

Join Date:
Apr 2009
Posts:
4
Plugin Contributions:
0

.swf banner page linking

Hiya,

Quite simply what I'm trying to do is get my flash banner (which is displaying fine on my site) to link to the relevant product page on my site when it is clicked.
I have spent hours trawling through the forums and found various posts but nothing that I can get to work or understand.

I don't have the .fla file just in case you are wondering.

I'm presuming some control can be added to the html code in the banner manager.

If anyone can help it would be very much appreciated.

Thanks
Simon

22 May 2009, 7:08 PM
#2
kiddo avatar

kiddo

Totally Zenned

Join Date:
Jul 2006
Location:
SF Bay Area
Posts:
837
Plugin Contributions:
1

Re: .swf banner page linking

I don't really know if this will work but...

on the div container holding your flash, add an onClick like this:

<div onClick="window.location.href('http://whatever.com');">

Maybe this work, maybe not. I'm no JS wiz.

22 May 2009, 8:32 PM
#3
simonb avatar

simonb

New Zenner

Join Date:
Apr 2009
Posts:
4
Plugin Contributions:
0

Re: .swf banner page linking

kiddo:

<div onClick="window.location.href('http://whatever.com');">

Ok how would I add the JS in the banner manager? Currently I've just got an object tag which displays the flash banner. Would I need to add a html tag to go round the object and also some JS tag?