2 problems solution: div over flash and flash clicks not work

Created on 29 December 2013, over 11 years ago
Updated 9 June 2023, about 2 years ago

1 problem: menu div is under flash ads.
2 problem: flash clicks not work

Solution:

<?php if ($ad['flash']) : ?>
<div class="simplead-container flash-ad <?php if (isset($css_attributes)): print $css_attributes; endif; ?>">
  <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="<?php print $width; ?>" height="<?php print $height; ?>" id="ad-<?php print $ad['nid']; ?>"> 
  
    <param name="movie" value="<?php print $ad['flash']; ?>" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#ffffff" />
	<param name="wmode" value="opaque" />
    <?php if ($ad['url']) : ?>
      <?php // Passing URL to redirect ?>
      <param value="clickTAG=<?php print url($ad['url']); ?>" name="flashvars">
    <?php endif; ?>
  
    <embed src="<?php print $ad['flash']; ?>" flashvars="clickTAG=<?php print url($ad['url']); ?>" wmode="opaque" quality="high" bgcolor="#ffffff" width="<?php print $width; ?>" height="<?php print $height; ?>" name="ad-<?php print $ad['nid']; ?>" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed> 
  
  </object>
</div>
<?php endif; ?>
πŸ› Bug report
Status

Closed: won't fix

Version

1.8

Component

Code

Created by

πŸ‡·πŸ‡ΊRussia Dimm

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024