| Ultrashock Forums
• Flash on top of HTML help cant find a solution |
|||
![]() |
||||
| Search this Thread | Thread Tools | Display Modes |
|
|
|||||||||||||||||||||||||
![]() |
Ultrashock Member Comments:
|
2009-01-05
#2 |
||
|
Last edited by chrismann : 2009-01-05 at 13:40.
|
|
|
2009-01-09
#3 |
||
|
Thank you chrismann but still not working the flash overlaps the html and the areas that are buttons or links don't work once the flash is on top of the html =(
|
|
13 Creative Assets
|
2009-01-09
#4 |
||
|
It is possible to fix but depending on how your page is structured this might not be suitable for you. ( 1 ) You set the CSS position value of the Flash movie to absolute, and set the z-index value to 1 ( 2 ) You set the CSS position value of the HTML element containing the links to absolute, and set the z-index value to 2 Code:
#flash
{
position:absolute;
z-index:1;
}
#linkbox
{
position:absolute;
z-index:2;
}
|
|
|
2009-01-09
#5 |
||
|
Good idea Nutrox, hadn't thought of that... but won't that put the html data in front of the dropdown menus and make them inaccessible? Perhaps a combination of a javascript function to swap zdepths of those divs when the menu is rolled over, and swap them back when not rolled over?
|
|
|
2009-01-09
#6 |
||
|
im lost =(
|
|
13 Creative Assets
|
2009-01-09
#7 |
||
|
To be honest Salvaje, I think you are going to need to deal with the navigation system in a different way. It will be easier to redesign the navigation instead of trying to hack around the problem, and three weeks with no working solution is a good sign there isn't one, at least not one that is going to work for you here.
|
|
|
2009-01-09
#8 |
||
|
I'd have to agree with Nutrox. Dropdown menus using Flash is really not going to work well for you here. Here's a good tutorial on using MooTools menus... I've used them before and found to be quite easy to build. http://www.php-help.ro/mootools-12-j...g-mootools-12/ |
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|



7 comments
| 362 views



13 Creative Assets
Linear Mode
I can see two options:
1. Use Javascript, not Flash for your menus (mootools is an easy implementation)
2. Maybe you can split your menu into two SWFs. One for the menu and one for the dropdowns. If placed in separate DIVs, you can hide the rollover div when the menu is not rolled over, and show it when the menu IS rolled over using javascript functions. -- similarly you might be able to change the size of the div dynamically with javascript, but I have not seen that work.
Good luck