DHTML Forum  

Go Back   DHTML Forum > CoolMenus > CoolMenus 4
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 26.12.2006, 17:19
hardwickj hardwickj is offline
Neuer Benutzer
 
Join Date: 26.12.2006
Location: USA
Posts: 4
Default

I am encountering a strange situation with IE6 and a menu I have setup.

I created a basic menu.html file that sets up a menu nearly identical to the menu used on the dhtmlcentral.com website. I grabbed the code from the sample code, made a few minor changes, and it looks great in both Firefox and IE 6. I then have a number of JSP pages which I do a <jsp:include...> of the menu.html I created. When I view these pages in Firefox, everything looks and works fine. However, when I view them in IE 6, the menu looks fine until I place my cursor over the menu regions. The drop down portions of the menu appear all over the screen. They remain in the same column region of the menu, but they might appear above it, below it, or so far in either direction they might be off the screen or a portion of them will be.

I cannot for the life of me figure this out. Again, it looks perfect when I view the menu.html file, but when I try to view the menu.html which was included in a jsp, it's all messed up. Any ideas/suggestions???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 26.12.2006, 19:59
hardwickj hardwickj is offline
Neuer Benutzer
 
Join Date: 26.12.2006
Location: USA
Posts: 4
Default

Well, after plenty of messing around, this only appears to happen in IE 6 when using a jsp include directive.

I essentially wanted to create a single html or jsp page which defined and created the menu (ie menu.jsp) and simply include this file in all other pages which were to have the menu (ie <jsp:include page="menu.jsp"/>) If I remove the include directive and just place the <script> blocks in the head and body of each file, it seems to work fine, but is a terribly inefficient way of coding.

This has to be a commonly done thing, and someone else has had to have come across this fluke, no?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 26.12.2006, 20:14
hardwickj hardwickj is offline
Neuer Benutzer
 
Join Date: 26.12.2006
Location: USA
Posts: 4
Default

I don't believe it. I found out what it was causing the problems in IE 6. I am using NetBeans 5.5 and when creating a JSP page, it inserts the following at the very top of every page:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

Which I thought was a standard thing. Well, either way, IE 6 doesn't seem to like it with CoolMenus. As soon as I removed it, all my problems went away.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Forum Jump

All times are GMT +2. The time now is 04:50.


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