HighDots Forums  

Show/Hide Layers - Safari Not Showing

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Show/Hide Layers - Safari Not Showing in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
absorb
 
Posts: n/a

Default Show/Hide Layers - Safari Not Showing - 07-04-2006 , 12:24 PM






Hi,

I have created a drop down menu in Dreamweaver 8 using the show hide layers
behavior. The menu works fine in everything except Safari. Having done a bit
of a look around with Google I can see that Safari doesn't seem to support it.

Is this the case, and if so is there a work around that anyone knows of please?

thanks
Michael


Reply With Quote
  #2  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Show/Hide Layers - Safari Not Showing - 07-04-2006 , 12:29 PM






Quote:
of a look around with Google I can see that Safari doesn't seem to support
it.
Where did you find that?

Anyhow, show us the page so we can see what you have done.


--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
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
==================


"absorb" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hi,

I have created a drop down menu in Dreamweaver 8 using the show hide
layers
behavior. The menu works fine in everything except Safari. Having done a
bit
of a look around with Google I can see that Safari doesn't seem to support
it.

Is this the case, and if so is there a work around that anyone knows of
please?

thanks
Michael




Reply With Quote
  #3  
Old   
absorb
 
Posts: n/a

Default Re: Show/Hide Layers - Safari Not Showing - 07-04-2006 , 12:32 PM



http://www.creativesponge.co.uk/devs...lls/index.html

thanks

Reply With Quote
  #4  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Show/Hide Layers - Safari Not Showing - 07-04-2006 , 03:07 PM



Here is part of the problem -

<div id="manor" onmouseover="MM_showHideLayers('manor','','show')"
onmouseout="MM_showHideLayers('manor','','hide')"
onload="MM_showHideLayers('manor','','hide')">

Applying behaviors directly to div tags is going to give you problems in
some browsers. That's why Safari is not doing what you expect. If you want
to make your drop-menus using this method, you should read these tutorials -

http://www.projectseven.com/tutorial...enus/index.htm

or

http://www.projectseven.com/tutorial...hide/index.htm

and here's an example you can analyze -

http://www.projectseven.com/tutorials/autolayers/


Also, this is not best practice -

<img src="Images/Nav/Manor/nav_entrancehall.jpg" alt="Entrance Hallway"
name="entrance" border="0" id="entrance"
onmouseover="MM_swapImage('entrance','','Images/Nav/Manor/nav_over_entrancehall.jpg',1)"
onmouseout="MM_swapImgRestore()" />

Event handlers applied directly to image tags will fail to produce the
pointer finger in the browser. You should always use the <A> onmouseevent
event when applying behaviors directly to <img> tags - that way, you'll get
the behavior on an <a> tag that wraps the <img> tag, rather than directly on
the <img>.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
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
==================


"absorb" <webforumsuser (AT) macromedia (DOT) com> wrote




Reply With Quote
  #5  
Old   
absorb
 
Posts: n/a

Default Re: Show/Hide Layers - Safari Not Showing - 07-05-2006 , 10:41 AM



Murray,

Thanks for that information, all makes sense. I have implemented the
autolayers, hidelayers method - on <A> tags, rather <DIV> or <IMG> but still
not working in Safari - any ideas:

http://www.creativesponge.co.uk/devs...ls/index2.html

thanks for you help


Reply With Quote
  #6  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Show/Hide Layers - Safari Not Showing - 07-05-2006 , 07:54 PM



Works OK for me in Safari 2.0.4.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
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
==================


"absorb" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Murray,

Thanks for that information, all makes sense. I have implemented the
autolayers, hidelayers method - on <A> tags, rather <DIV> or <IMG> but
still
not working in Safari - any ideas:

http://www.creativesponge.co.uk/devs...ls/index2.html

thanks for you help




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.