![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi Folks, I've always used the Project 7 'Snap Layers' and 'Re-Do it' etc for fly-out menus ion centred layouts but I think it may not always work/be temermental on Macs. |
#3
| |||
| |||
|
|
relative to the TD containing the primary navigation element that triggers the submenu layer. I'm concerned that this isn't strictly legal - putting a layer in a TD. Should I be worried? |
#4
| |||
| |||
|
|
Humm some of my previous post was cut short, here is the rest of it. Yes that is ok and a method which I have tried and works quite well. You need firstly of course to insert a relatively positioned <div> in the trigger cell, then inside the relatively positioned <div> you need to insert the absolutely positioned <div> for the submenu. A submenu <div> has to be absolutely positioned otherwsie you cant show or hide it. |
#5
| |||
| |||
|
|
johnnyivan wrote: Hi Folks, I've always used the Project 7 'Snap Layers' and 'Re-Do it' etc for fly-out menus ion centred layouts but I think it may not always work/be temermental on Macs. The only browser which has a problem with aligning the layers on Mac is IE5x. There is a workaround for this, as Gerry, from PV11, explains below. Where Gerry say IE5x on Mac osX gets it right in my experience it actually doesnt, so you still have to use the workaround. Snap contains a workaround hack for IE5.0 on the Mac, OS9, that did not correctly pick up the default body margins. IE5.1, and IE5.2 for Mac, OSX actually get this correct. On your page, you can safely disable this workaround in the Snap code by placing a set of comment slashes (//) if front of the two offending lines: change this: if(navigator.appVersion.indexOf("MSIE 5")>-1 && navigator.appVersion.indexOf("Mac")>-1){ xx+=parseInt(document.body.leftMargin);yy+=parseIn t(document.body.topMargin) |
|
to this: //if(navigator.appVersion.indexOf("MSIE 5")>-1 && navigator.appVersion.indexOf("Mac")>-1){ //xx+=parseInt(document.body.leftMargin);yy+=parseIn t(document.body.topMargi |
|
Regards, |
#6
| |||
| |||
|
|
Yes that is ok and a method which I have tried and works quite well. You need firstly of course to insert a relatively positioned <div> in the trigger cell, then inside the relatively positioned <div> you need to insert the absolutely positioned <div> for the submenu. |
|
A submenu <div> has to be absolutely positioned otherwsie you cant show or hide it. Oh by the way Opera of course doesnt not work well with the snap layers script if that a concern for you. |
#7
| |||
| |||
|
|
As for the other part of my query: is it bad to put layers in TDs? |
|
works then it negates the ned for the P7 behaviours in this case doesn't it? |
#8
| |||
| |||
|
#9
| |||
| |||
|
|
Osgood, I'll try to figure out your tips! Yes, it needs to work in Opera too. Safari is also getting a foothold isn't it? John Yes that is ok and a method which I have tried and works quite well. You need firstly of course to insert a relatively positioned <div> in the trigger cell, then inside the relatively positioned <div> you need to insert the absolutely positioned <div> for the submenu. A submenu <div> has to be absolutely positioned otherwsie you cant show or hide it. Oh by the way Opera of course doesnt not work well with the snap layers script if that a concern for you. |
#10
| |||
| |||
|
|
Why Opera? I'm just curious. -- Murray --- ICQ 71997575 Team Macromedia Volunteer for Dreamweaver MX (If you *MUST* email me, don't LAUGH when you do so!) ================== news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET ANSWERS ================== http://www.dreamweavermx-templates.com - Template Triage! http://www.projectseven.com/go - DW FAQs, Tutorials & Resources http://www.dwfaq.com - DW FAQs, Tutorials & Resources http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes ================== "johnnyivan" <john (AT) fluid-rock (DOT) com> wrote in message news:ccbdrg$l7o$1 (AT) forums (DOT) macromedia.com... Osgood, I'll try to figure out your tips! Yes, it needs to work in Opera too. Safari is also getting a foothold isn't it? John Yes that is ok and a method which I have tried and works quite well. You need firstly of course to insert a relatively positioned <div> in the trigger cell, then inside the relatively positioned <div> you need to insert the absolutely positioned <div> for the submenu. A submenu <div> has to be absolutely positioned otherwsie you cant show or hide it. Oh by the way Opera of course doesnt not work well with the snap layers script if that a concern for you. |
![]() |
| Thread Tools | |
| Display Modes | |
| |