Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Flash Banners - Adding Mouseover Behaviour


1Putts

Recommended Posts

I have the Flash Banner Contrib running but there currently is no mouseover behaviour. I'd like to add the following (taken from other files where there's mouseover behaviour):

onmouseover="this.style.cursor=\'hand\'"

 

 

And incorporate it into the banner.php function tep_banner_display. I think it should go somewhere in here:

 

$banner_string = '<a href="' . tep_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner['banners_id']) . '" target="_self">' . mm_output_flash_movie( $banner['banners_title'], DIR_WS_IMAGES . $banner['banners_image'] , $size[0]  , $size[1]) . '</a>';

 

As a side note, the clickthough link only seems to work on Firefox (not IE). Also a problem. Any ideas are appreciated.

Link to comment
Share on other sites

There should be a parameter in mm_output_flash_movie to pass for the various events. For example:

 

$flash .= '<param name="movie" value="'.$flash_movie.'" />' . "\n";

 

Such parameters are passed to the embedded object which does further processing.

Link to comment
Share on other sites

  • 2 weeks later...
Hi!

Thanks for the post!

Has anyone solved this issue, that the banner links on a flash object won't work in IE?

 

Thanks!

German

 

I haven't. While I certainly appreciated Enigma1's attempt to help me, I had no idea what it meant and I had to move on to other issues.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...