Displaying div on top of gallery works in 2.5 but not in 2.6
Posted: 14 Feb 2011, 15:41
Hi,
I just updated from 2.5 to the new 2.6 version and noticed that adding the wmode: transparent to the gallery template doesn't work anymore for displaying custom html elements on top of the gallery.
I've placed a div with some icons just above the start of the table in "index.gallery.phtml" using the following code:
In v2.5 I used this code (only added wmode) which worked perfectly
The new code has changed slightly, so I have added the wmode setting to the params var above the SWFloader:
I see there is a separate one for IE that has wmode: opaque as the setting. I guess this has to do with the wmode changes relating to the new sharing services?
Am I doing something wrong here or is there another way I could solve this?
Any help would be greatly appreciated
Bob
I just updated from 2.5 to the new 2.6 version and noticed that adding the wmode: transparent to the gallery template doesn't work anymore for displaying custom html elements on top of the gallery.
I've placed a div with some icons just above the start of the table in "index.gallery.phtml" using the following code:
Code
<style type="text/css">
.icons img {margin-top: 15px; padding-right:8px; border-style:none;}
.icons {padding-right: 17px; position: absolute; top: 0; right: 0; color: #fff;}
</style>
</head>
<body>
<div class="icons"> <!-- Icons: metrostation-3025 -->
<a href="#/content/"><img title="Home" src="ico/home.png"></a>
<a href="#/content/about/"><img title="About" src="ico/info.png"></a>
<a href="http://www.facebook.com/xxxxxxx" target="_new"><img title="Facebook"src="ico/facebook.png"></a>
<a href="#/content/contact/"><img title="Contact" src="ico/email.png"></a>
</div>
<table>Code
swfobject.embedSWF("<?php echo IV_PATH; ?>imagevue2.swf", "imagevue", "100%", "100%", "8.0.0", "<?php echo IV_PATH; ?>expressInstall.swf", flashVars, {allowScriptAccess: 'always', wmode: 'transparent', allowFullScreen: true, bgcolor: '#<?php echo $this->bkGrColor; ?>'}, {id: 'imagevue', name: 'imagevue'});Code
params={allowScriptAccess: 'always', wmode: 'transparent', allowFullScreen: true, bgcolor: '#<?php echo $this->bkGrColor; ?>'};Am I doing something wrong here or is there another way I could solve this?
Any help would be greatly appreciated
Bob