I am trying to create a method to count the clicks from a flash banner. I placed the banner in a <td> and used an onclick="href.location=http://www.mysite.com"
This works on Firefox but IE and Opera ignores it even though the flash is embedded with wmode=transparent. This site is not made with css, it uses tables so I cannot place an overlay image with a hyperlink on the flash. What else can I do?
Flash click overlay?
Moderator: General Moderators
- Jonah Bron
- DevNet Master
- Posts: 2764
- Joined: Thu Mar 15, 2007 6:28 pm
- Location: Redding, California
Re: Flash click overlay?
Maybe link to a PHP page that counts, and then have the PHP page redirect from there?
Re: Flash click overlay?
I don't think there is anything else you could do.
Is it technically imposible, ex. flash inserted through wysiwyg editor, where all css is removed or framework/cms limitation!?
But why can't you use css? Probably there is css used anyway to style those tables or not?This site is not made with css, it uses tables
Is it technically imposible, ex. flash inserted through wysiwyg editor, where all css is removed or framework/cms limitation!?
Re: Flash click overlay?
That's what I do. It works for images because <a href='myurl'><img src='banner.jpg'></a> is valid on all browsers while <a href='myurl'><object etc... ></object></a> is not working in IE and Opera while it works in Firefox. Maybe it has to do with the method IE and Opera embed the Flash ActiveX?Maybe link to a PHP page that counts, and then have the PHP page redirect from there?
Banners are selected from a list and is inserted in a field in the database.Is it technically imposible, ex. flash inserted through wysiwyg editor, where all css is removed or framework/cms limitation!?
My current workaround is to have the php script spit out a random click url which would be supplied to the advertisers so to insert it in their flash banner and send it back to us.
Re: Flash click overlay?
have the flash obtain the url from an xml file, and have the table td onlick event use the same xml data for the href. the onlick would be on the table td as well as the flash.
Re: Flash click overlay?
The problem is that would defeat the purpose as the advertisers already send us their ads with their link hardcoded.