 |
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

September 16th, 2004, 10:57 AM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
|

September 16th, 2004, 01:51 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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?
|
|

September 16th, 2004, 05:00 PM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Imar
Which thread? Great book by the way, have learnt a lot.
|
|

September 17th, 2004, 12:57 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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.
|
|

September 17th, 2004, 04:28 AM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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>
|
|

September 19th, 2004, 04:33 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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?
|
|

September 20th, 2004, 02:22 PM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Imar
Thanks for the advice, have done as you suggested and it works fine now thank you.
|
|

September 20th, 2004, 02:28 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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?
|
|
 |