Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic 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
Old March 15th, 2005, 05:54 PM
Registered User
Join Date: Mar 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Beg. Javascript 2nd Ed Ch 13: IE_NN_Menus.htm

Beginning Javascript 2nd Edition, Chapter 13, IE_NN_Menus.htm

This chapter looks at creating a popup dhtml menu using javascript code for both the IE and Netscape browser enviroments.

Using this as a starting point, i've manipulated the code to make my menu images live inside a table and not the layers as this example demonstrates.

I can get my menus to roll over in both Mozilla Firefox and MS IE 6 without a problem as well as naviagate to the desired pages.

The problem i have is that every object within the document that has an event handler is responding to the rollover and rollout functions.

I understand that the code to specificaly identify just those cells within a table that need to react to these events have had their normal <TD> html tags changed to <TD rollover rollout>, which when the object is passed into the rollover and rollout functions all obejcts are checked to see if they contain these parameters and if they do ONLY then should the table roll in and out effects be initated.

However, this simply is not happening and despite much deliberation on my part i can not find the error.

I think my problem may lie within the createmenu For loop. Please help!

This may be clearer to see if you look at my code which i am happy to send on if anyone can help me on this!

Similar Threads
Thread Thread Starter Forum Replies Last Post
No download for Beginning XML 2nd Ed anywhere kdalbey Forum and Wrox.com Feedback 2 December 13th, 2004 10:45 AM
Newbie question on the 2nd ed: Class inheritance elde BOOK: Professional C#, 2nd and 3rd Editions 0 December 9th, 2004 03:00 AM
Prob.s with ch.16 of Profes. JSP 2nd Ed. bobbob Pro JSP 1 April 5th, 2004 06:29 AM
Cannot find code to vb.net 2nd ed..help? lizardnotebk BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 0 September 2nd, 2003 07:17 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.