|
#1
|
|||
|
|||
|
flash overlaps javascript menu - help
hi, I have the following problem:
for navigation on my site I have horizontal javasript menu, with expanding sublevels. Just under the menu I have flash banners being rotated by phpAdsNew. So when the sublevels expand they are behind the flash banners (the banners overlap the menu)... I read about this a bit - the "z-index" property does not solve my problem, neither does exporting the banners in "wmode" with a transparent background, cause they're all done in swish... so, if anyone knows how I can have the menu expand and be on top of the flash banner, then please kindly tell me how this can be fixed... p.s. I posted this in a couple of forums and noone seems to know a solution - hope there is one though. |
|
#3
|
||||
|
||||
|
Yeah to get things that force themselves to be drawn on top to be drawn underneath....just use an IFRAME to contain the element you want on the top.
You can still talk to a flash movie using the frames[] notation on any browser. Here's how to dynamically write to the IFRAME with ID "browseIFrame": document.frames["browseIFrame"].window.document.open(); document.frames["browseIFrame"].window.document.write(someHTML); document.frames["browseIFrame"].window.document.close(); Rich
__________________
Blog: http://www.richardleggett.co.uk | If your happy with the help, let us know about it
|
|
#4
|
|||
|
|||
|
Hi,
I couldn't get the flash to load in the iFrame... here's my code generated by phpAdsNew: <script language='JavaScript' type='text/javascript'> if (!document.phpAds_used) document.phpAds_used = ','; phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11); document.write ("<" + "script language='JavaScript' type='text/javascript' src='"); document.write ("http://mysite/phpAdsNew/adjs.php?n=" + phpAds_random); document.write ("&clientid=8"); document.write ("&exclude=" + document.phpAds_used); if (document.referer) document.write ("&referer=" + escape(document.referer)); document.write ("'><" + "/script>"); </script> <noscript><a href='http://mysite/phpAdsNew/adclick.php?n=a6ba22b8' target='_blank'><img src='http://mysite/phpAdsNew/adview.php?clientid=8&n=a6ba22b8' border='0' alt=''></a></noscript>); If someone can help me a bit more as to how to get all this in an iFrame... |
|
#5
|
||||
|
||||
|
I use SoThink DHTMLMenu to create DHTML/Javascript expanding menus. It has a feature which hides the Flash whilst the menu is over the top of it. Now I'm not a JavaScript expert but I'm sure if you took the time you would be able to find and use the function it creates in order to do this. If you download the trial version and create a small 'dummy' menu with the option included to 'hide' the Flash, I'm sure you would be able to find the function in the resulting output and utilise it in your menu.
__________________
theUKdude .................................................. .......................... Education: That which discloses to the wise and disguises from the foolish their lack of understanding. -Ambrose Bierce, writer (1842-1914) |
|
#6
|
|||
|
|||
|
hey,
i was finding the solution to the similar issue on this website and guess what .. i found the answer right here too!! I saw www.mci.com and jes one bit of code in the swf code does the trick. In your param tags just add this <PARAM NAME="WMode" VALUE="Transparent"> and your javascript menu will overlap the swf. Unfortunately this only works in IE. Cheers !! Shahenil |
|
#8
|
|||
|
|||
|
nope.. i dont think so... it works only on IE
check this out http://www.macromedia.com/cfusion/kn...fm?id=tn_15523 |
|
#9
|
|||
|
|||
|
I actually got it to work:
here is the code: <object classid="clsid 27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...rsion=6,0,29,0" width="550" height="64"><param name="movie" value="images/postman2.swf"> <param name="quality" value="high"> <param name="LOOP" value="false"> <PARAM NAME="WMode" VALUE="opaque"> <embed src="images/postman3.swf" width="550" height="64" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="opaque"></embed></object> It seems to work on both IE and mozilla - check it out: http://www.searchtechnology.com.au/Client_Web/DMS/ |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Open Letter to Macromedia | molaram | General Flash | 10 | 02-18-2005 01:29 AM |
| Home Brew DVD Menu w/ Flash 2004 | Gujuunit | General Flash | 0 | 08-16-2004 03:03 AM |
| Positioning xml generated menu | tommie20 | Flash MX ActionScript |
1 | 05-04-2004 04:36 PM |
| Resolved: flash menu for general public | dcomeaux | General Flash | 6 | 03-02-2004 06:10 PM |
| Flash - XML menu (macromedia FlashMX dropdown menu help) | Flash_kid76 | XML & Sockets | 1 | 04-09-2003 10:04 AM |
All times are GMT. The time now is 09:57 PM.




TODAY'S POSTS




check this out
27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
