Welcome, Guest. Please login or register.
Pages: [1]   Go Down
Author Topic: Flash below DHTML  (Read 1460 times)
0 Members and 1 Guest are viewing this topic.
admin
Overseer
Administrator


Full Member
*****

Karma: +0/-0
Offline Offline

Posts: 186

Headquarters


View Profile WWW
« on: October 24, 2008, 11:01:11 AM »
Reply with quoteQuote

 So, we have a problem...
 At the main site we have a DHTML menu we like (MooMenu is the case) and a flash just below it. The Z-index is not working in Firefox and Opera and by default Flash is always on top.
 According to Adobe, transparent wmode should be used (trough the performance in Safari is far from great)

 The easy way to achieve this would be the normal embead code
Code:
<param name="wmode" value="transparent" />
<EMBED src="swf.swf" quality=best bgcolor=#FFFFFF wmode ="transparent" WIDTH...
but in Internet Explorer 7 and above we have the "ugly box around your Flash content" problem and user needs to click twice. Quite unacceptable for interface elements  icon_confused. We are fixing it using a JavaScript hack.

Yeah folks, tens of Ks in order to embead a 5K Flash, I wander how much the engenious attempts of Microsoft to add some security to IE coast in global scale as bandwith spent, wait time for visitors and frustration... Probalby M$ is trying to piss off the Flash users and developers and make their life harder, but I don't believe this would help much the usage of Silverlight.

 The code generated by Dreamweaver solves this
Code:
'wmode','transparent','movie','web_assets/movies/swfFile' ); //end AC code
</script>
, trough it is pretty big and we chose to use the Google's <swfobject> instead (remember to set the wmode to transparent when generating). Works cool and solves the "behind" and the "ugly box" problems.

 ... Well, exept in Linux Huh?  Angry (the guys in Mozilla know about the problem).

 Does anybody have a solution or at least an idea how to solve this in Linux as well?



* Screenshot.jpg (50.85 KB, 678x434 - viewed 218 times.)
Report to moderator   Logged

There is no place like 127.0.0.1
The Freelancer's Community
« on: October 24, 2008, 11:01:11 AM »
Reply with quoteQuote

 Logged
Pages: [1]   Go Up
 
Jump to:  

+ Quick Reply
With a Quick-Reply you can use bulletin board code and smileys as you would in a normal post, but much more conveniently.

Creative Commons License Valid XHTML 1.0 Transitional Valid CSS level 2.1 Made in the European Union No Software Patents Click Here!
Trusted Site Seal StopGlobalWarming.org Click here to help a child
FreelancerCrowd by FreelancerCrowd is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.
Permissions beyond the scope of this license may be available at http://freelancercrowd.com/home/terms.html.

Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC