Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4
This is the forum to discuss the Wrox book Beginning Dreamweaver MX by Charles E. Brown, Imar Spaanjaars, Todd Marks; ISBN: 9780764544040
Please indicate which version of the book you are using when posting questions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old September 16th, 2004, 11:57 AM
Registered User
 
Join Date: Sep 2004
Location: , , United Kingdom.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to studge
Default Dw mx 2004 page 184 (layers)

Hi, have created the layers as per the instructions on pg 184 onwards
and all is well except when i view the news layer in a browser it doesn't hide when i move the mouse away it stays there until i move the mouse off the page entirely and then disappears. I have tried it in 2 browsers and the effect is the same.
I checked/ changed the behavior panel settings. I have even deleted the layer all together and started again. Has anyone got any idea what i may be doing wrong? Thank you.

Reply With Quote
  #2 (permalink)  
Old September 16th, 2004, 02:51 PM
Imar's Avatar
Wrox Author
Points: 67,779, Level: 100
Points: 67,779, Level: 100 Points: 67,779, Level: 100 Points: 67,779, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,291
Thanks: 66
Thanked 1,440 Times in 1,420 Posts
Default

Hi there,

Is your problem the same as the one in this thread?

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Trash by KoRn (Track 14 from the album: Issues) What's This?
Reply With Quote
  #3 (permalink)  
Old September 16th, 2004, 06:00 PM
Registered User
 
Join Date: Sep 2004
Location: , , United Kingdom.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to studge
Default

Hi Imar
Which thread? Great book by the way, have learnt a lot.

Reply With Quote
  #4 (permalink)  
Old September 17th, 2004, 01:57 AM
Imar's Avatar
Wrox Author
Points: 67,779, Level: 100
Points: 67,779, Level: 100 Points: 67,779, Level: 100 Points: 67,779, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,291
Thanks: 66
Thanked 1,440 Times in 1,420 Posts
Default

Thank you.

Sorry about that link; something went wrong with pasting it (I think I just forgot to paste it at all). Anyway, here it is (hopefully ;))

http://p2p.wrox.com/topic.asp?TOPIC_ID=17280

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote
  #5 (permalink)  
Old September 17th, 2004, 05:28 AM
Registered User
 
Join Date: Sep 2004
Location: , , United Kingdom.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to studge
Default

No it's a different problem really.My problem is the layer associated with the news button never goes away until you move the mouse out of the browser completely whereas all the other layers work perfectly (appearing on mouse over and disappearing on mouse out). The news layer stays where it is even when i activate the other layers. The code associated with it is as follows, don't know if you can spot a problem but thanks for your help.

<body onload="MM_preloadImages('images/images/swap3.gif','images/images/swap4.gif')" onmouseover="MM_showHideLayers('newslinkinfo','',' show')" onmouseout="MM_showHideLayers('newslinkinfo','','h ide')">
<div id="regionslinkinfo" style="position:absolute; left:200px; top:320px; width:250px; height:50px; z-index:2; background-color: #999999; layer-background-color: #999999; border: 1px none #000000; visibility: hidden;" class="link_info" onmouseover="MM_showHideLayers('regionslinkinfo',' ','show')" onmouseout="MM_showHideLayers('regionslinkinfo','' ,'hide')">Cooking news from the different regions of the world </div>
<div id="contactuslink" style="position:absolute; left:200px; top:360px; width:250px; height:50px; z-index:3; visibility: hidden;" class="link_info" onmouseover="MM_showHideLayers('contactuslink','', 'show')" onmouseout="MM_showHideLayers('contactuslink','',' hide')">Contact us with any of your tips or thoughts or recipies </div>
<div id="newslinkinfo" style="position:absolute; left:200px; top:280px; width:250px; height:50px; z-index:1; background-color: #999999; layer-background-color: #999999; border: 1px none #000000; visibility: hidden;" class="link_info" onmouseover="MM_showHideLayers('newslinkinfo','',' show')" onmouseout="MM_showHideLayers('newslinkinfo','','h ide')">A page of news and events from around the culinary word </div>
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/images/topbkg.gif">
  <tr>

Reply With Quote
  #6 (permalink)  
Old September 19th, 2004, 05:33 AM
Imar's Avatar
Wrox Author
Points: 67,779, Level: 100
Points: 67,779, Level: 100 Points: 67,779, Level: 100 Points: 67,779, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,291
Thanks: 66
Thanked 1,440 Times in 1,420 Posts
Default

From what I can see from this code, it looks like you applied the behavior for the news button to an incorrect object. In your code, I can see onmouseover and onmouseout attached to the <body> element, not to a <div> with an id of newslinkinfo.

That would explain why the code is only called when you move your mouse away from the window entirely. Reapply the behavior to the button /div for news, remove them from the <body> tag and it should work, I think.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Death Valley '69 by Sonic Youth (Track 8 from the album: Bad Moon Rising) What's This?
Reply With Quote
  #7 (permalink)  
Old September 20th, 2004, 03:22 PM
Registered User
 
Join Date: Sep 2004
Location: , , United Kingdom.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to studge
Default

Hi Imar
Thanks for the advice, have done as you suggested and it works fine now thank you.

Reply With Quote
  #8 (permalink)  
Old September 20th, 2004, 03:28 PM
Imar's Avatar
Wrox Author
Points: 67,779, Level: 100
Points: 67,779, Level: 100 Points: 67,779, Level: 100 Points: 67,779, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,291
Thanks: 66
Thanked 1,440 Times in 1,420 Posts
Default

You're welcome. Glad it's working now......

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Music Of The Mind by Jamiroquai (Track 5 from the album: Emergency On Planet Earth) What's This?
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie Help with DW MX 2004 and Access Database Soam Dreamweaver (all versions) 2 October 4th, 2005 06:01 PM
Help! Pop-Up Menu in DW MX 2004 Maverick Dreamweaver (all versions) 5 November 20th, 2004 12:08 PM
Reading XML in DW MX 2004 bommi_k Dreamweaver (all versions) 1 August 19th, 2004 02:07 PM



All times are GMT -4. The time now is 09:38 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.