Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:55
Bug in new versions
Poster: MUTU
Dated: Tuesday February 1 2005 - 11:46:08 GMT
I've upgraded my DHTML menu from 5.16 to the latest version and I've noted a bug. Take a look at http://www.gfi.com using Mozilla Firefox 1.0 on Windows.
Hover over "Products"... the menu opens up but the subimage wouldn't have loaded, so a placeholder is put in till the image loads. Once the image loads, it leaves a lot of unnecessary space to the right of the image. You can confirm this by closing the menu and reopening it and noticing the difference.
How do I fix this problem please?
The problem only occurs if the image is not in the user's browser cache.
Poster: Andy
Dated: Tuesday February 1 2005 - 15:31:54 GMT
Hi,
I'm pretty sure that 5.691 does not do that.
Can you upgrade to that version and let us know
Regards,
Andy
Poster: kevin3442
Dated: Tuesday February 1 2005 - 17:08:36 GMT
Try 5.7 (keep your 5.691 code, but change to 5.7 temporarily to see if it makes a difference). I've had a similar problem before, but I'm using 5.7 right now and don't notice it.
Another option you can use is to preload the menu images so that they are already in the cache when the menu is first used. Search for preloadmenuimages.js and you'll find several topics in this forum on the subject.
Cheers,
Kevin
Poster: MUTU
Dated: Wednesday February 2 2005 - 8:28:31 GMT
Tried 5.7 locally on my machine, and I experienced the same exact problem. Will this be fixed, or will I have to revert to 5.16 please?
Poster: Andy
Dated: Wednesday February 2 2005 - 8:30:08 GMT
Please try 5.7 again - I've just updated it with what I think might be a fix
Cheers
Andy
Poster: MUTU
Dated: Wednesday February 2 2005 - 8:32:53 GMT
Yes, the problem is fixed here. When is it estimated that this will come out of beta please?
Poster: Andy
Dated: Wednesday February 2 2005 - 8:35:59 GMT
Should be later today.
Once it's been tested and has been confirmed stable.
Cheers
Andy
Poster: MUTU
Dated: Wednesday February 2 2005 - 8:39:54 GMT
OK thanks. By the way, I tried registering for the newsletter several times hoping to get emailed when a new version is released. It tells me
"Thank You!
Your Account (number xxxxxx) has now been flagged for receiving email based news letters."
But I never got any emails, and I do check the spam quarantines.
Poster: Andy
Dated: Wednesday February 2 2005 - 8:43:53 GMT
We are currently having trouble with the Newsletter.
Due to the way Spammers operate it makes it very difficult for legitimate emailers to go about the business of emailing their users.
We are working on this and should be able to start sending bulk email soon.
-- Andy
Poster: MUTU
Dated: Wednesday February 2 2005 - 13:34:23 GMT
MUTU wrote:
Yes, the problem is fixed here. When is it estimated that this will come out of beta please?
Actually there's still bugs.
Try http://www.gfi.com/test2.htm on Mozilla Firefox 1.0 and Opera 7.54
Never mind the broken images.
In Firefox, the space is put in after the arrow in the subimage, again.
In Opera, the space is put in as well, but even more worryingly, the submenu does not touch the menu... there's around 50pixels difference in there at least... also, you can see that when you hover over, the onbackgroundcolour turns red/maroon, but on Opera it leaves a 1pixel gray border underneath, which is not reproducible under IE or Mozilla.
Poster: Andy
Dated: Wednesday February 2 2005 - 14:09:31 GMT
It looks like that menu is still using version 5.691.
I've copied that page to http://www.milonic.com/users/gfi/gfi.htm
Seems OK in the browsers you specifed, can you confirm this?
Cheers
Andy
Poster: MUTU
Dated: Wednesday February 2 2005 - 14:23:38 GMT
Hi,
Sorry you were right about 5.691
It works fine in Firefox, and the image problem in Opera doesn't show up again.
but all other Opera issues i mentioned are still there. check out http://www.gfi.com/testmenus/operaissue.gif to see what i mean.
Poster: Andy
Dated: Wednesday February 2 2005 - 14:40:32 GMT
WHAT ON EARTH IS OPERA DOING
Seems it's taking the marginTop value from the .topMenu class and appending it to all of the sub menus.
This really should not be happening as the sub menus are positioned absolute and should not be affected by any other objects, especially relative objects like <DIV class=topMenu> </DIV>.........Bizarre
I think this is most definitely a bug in Opera. Opera 7.23 is OK so it has appeared after 7.23 - Not exactly sure when this appeared but it's not right.
No other browser is doing this and if you remove MARGIN-TOP: 67px; from .topMenu it's fine.
Is PADDING-TOP: 67px; no good?
Cheers
Andy
Poster: fredlongworthhighschool
Dated: Wednesday February 2 2005 - 14:41:45 GMT
MUTU wrote:
OK thanks. By the way, I tried registering for the newsletter several times hoping to get emailed when a new version is released. It tells me
"Thank You!
Your Account (number xxxxxx) has now been flagged for receiving email based news letters."
But I never got any emails, and I do check the spam quarantines.
"Thank You!
Your Account (number xxxxxx) has now been flagged for receiving email based news letters."
But I never got any emails, and I do check the spam quarantines.
Go to this thread:
http://www.milonic.com/forum/viewtopic.php?t=3108
and make sure you select 'Watch this topic' in the lower (or upper) right corner of this page. You need to be logged in as a registered user to see this option.
You'll then be notified of any changes to the code.
Poster: MUTU
Dated: Wednesday February 2 2005 - 14:58:54 GMT
Andy wrote:
WHAT ON EARTH IS OPERA DOING
Seems it's taking the marginTop value from the .topMenu class and appending it to all of the sub menus.
This really should not be happening as the sub menus are positioned absolute and should not be affected by any other objects, especially relative objects like <DIV class=topMenu> </DIV>.........Bizarre
I think this is most definitely a bug in Opera. Opera 7.23 is OK so it has appeared after 7.23 - Not exactly sure when this appeared but it's not right.
No other browser is doing this and if you remove MARGIN-TOP: 67px; from .topMenu it's fine.
Is PADDING-TOP: 67px; no good?
Cheers
Andy
Seems it's taking the marginTop value from the .topMenu class and appending it to all of the sub menus.
This really should not be happening as the sub menus are positioned absolute and should not be affected by any other objects, especially relative objects like <DIV class=topMenu> </DIV>.........Bizarre
I think this is most definitely a bug in Opera. Opera 7.23 is OK so it has appeared after 7.23 - Not exactly sure when this appeared but it's not right.
No other browser is doing this and if you remove MARGIN-TOP: 67px; from .topMenu it's fine.
Is PADDING-TOP: 67px; no good?
Cheers
Andy
padding-top: 67px; would make everything gray.
mind you, the DHTML is not placed inside the div, even though it's positioned on top of it.
I'll make some white padding instead of the margin-top.
Poster: MUTU
Dated: Wednesday February 2 2005 - 15:08:26 GMT
Andy, please check out http://www.gfi.com/test2.htm
this looks fine in Firefox and IE
the margin issue is fixed in Opera as well, but any idea what's causing this issue in Opera?
http://www.gfi.com/testmenus/operaissue2.gif
Also, the 1pixel less height difference is still a problem
Poster: MUTU
Dated: Wednesday February 2 2005 - 15:16:43 GMT
Ok, fixed myself
changed classMenu to:
.classMenu {
margin-left: 12px;
margin-right: 12px;
padding-top: 2px;
padding-bottom: 2px;
text-decoration: none;
vertical-align: middle;
line-height: 14px;
}
only with this combination does Opera yield the results i want. hopefully it's still looking good in the other browsers...
Poster: MUTU
Dated: Wednesday February 2 2005 - 15:21:58 GMT
Now, any idea what I could do to have the pipe separator disappear when the item is selected? or better, the red colouring would override the pipe separator.
Poster: Ruth
Dated: Wednesday February 2 2005 - 17:34:05 GMT
The only way I can think to have that happen is to have the menu made of images which included what looked like a separator and then use image/overimage with the over image having a separator of that color. When you mouseover the onbgcolor is the item color and doesn't include the separator which is outside the item i.e. separates each item. Hope that made sense
Maybe you could write a function which told it in the mouseon position to eliminate the separator?
EDIT: I use IE5.5 and I get an error and the menu is unusable
'tTipt' is undefined.
Ruth
Poster: MUTU
Dated: Thursday February 3 2005 - 8:31:39 GMT
tTipt is something Andy needs to fix, right?
Thanks everyone for your help
Poster: Ruth
Dated: Thursday February 3 2005 - 17:24:47 GMT
I don't think it's anything in the menu, but I don't know. However, I just went back to that page and I am no longer getting that message, so whatever it was, it's fixed.
Ruth
SeparatorHeight not working
Poster: maxva
Dated: Friday February 11 2005 - 13:10:47 GMT
Hi just downloaded latest Version 5.712, tried separatorheight not working but separatorwidth works fine any ???