little position bug on first appearance
little position bug on first appearance
Hi everyone, me again !
Been installing the menu on a new site, and once again, i'm using only images. Anyways, there seems to be a bug with the relative positioning : whenever i open a sub-menu for the first time, it doesn't appear in the correct position. However, as soon as it closes, any time i would open it again will be fine...
Also, as far as i know, i'm using the latest version of the code.
take a look here :
http://www.talieoh.com/bio/bio.html
BTW, this one is a soft-core adult site, so i'm just giving you a heads-up..
thanks in advance for your help !
Yannick
Been installing the menu on a new site, and once again, i'm using only images. Anyways, there seems to be a bug with the relative positioning : whenever i open a sub-menu for the first time, it doesn't appear in the correct position. However, as soon as it closes, any time i would open it again will be fine...
Also, as far as i know, i'm using the latest version of the code.
take a look here :
http://www.talieoh.com/bio/bio.html
BTW, this one is a soft-core adult site, so i'm just giving you a heads-up..
thanks in advance for your help !
Yannick
Re: little position bug on first appearance
Actually 5.07 is current (you're running 5.04), with 5.08 lurking in the shadows but slightly misplaced. Try one of those and then we'll look again.ybouc wrote:Also, as far as i know, i'm using the latest version of the code.
John
One thing I noticed when trying to play with it, you are using left="offset=number"; in the submenus, wouldn't you be using the _subOffsetTop=10 or whatever before you declare your style in the submenus? I'm not 100% on that but I swear I saw someplace about putting the subOffsets right there.
Ruth
Code: Select all
with(milonic=new menuname("whatever submeu")){_subOffsetTop=10;style=menuStyle;
Ruth
Re: little position bug on first appearance
Hi Yannick,
I just checked the site (thoroughly ) and I don't see the problem. I tried IE6/NS7.1/Win2k. Have you fixed the problem then? If not, what browser/OS are you seeing the problem in?
Nice site design by the way... clever combination of images and offsets in your submenus to get that button-over-menu look.
Kevin
I just checked the site (thoroughly ) and I don't see the problem. I tried IE6/NS7.1/Win2k. Have you fixed the problem then? If not, what browser/OS are you seeing the problem in?
Nice site design by the way... clever combination of images and offsets in your submenus to get that button-over-menu look.
Kevin
thanks for the compliment, Kevin !
You have no idea how much work it is though... cos i cannot really use transparency because of that outer glow, so i have to _cut every button on every page to match the different backgrounds_ ... ... anyways !
so i updated the code to the latest version (just did about 5 minutes ago), and i do see the problem still. It happens only on the very first time that you open a menu... afterwards, it's perfectly fine.
anyways, i took a screenshot of it, for your reference :
http://www.talieoh.com/menu_offset.gif
so that's about it...
thanks,
Yannick
You have no idea how much work it is though... cos i cannot really use transparency because of that outer glow, so i have to _cut every button on every page to match the different backgrounds_ ... ... anyways !
so i updated the code to the latest version (just did about 5 minutes ago), and i do see the problem still. It happens only on the very first time that you open a menu... afterwards, it's perfectly fine.
anyways, i took a screenshot of it, for your reference :
http://www.talieoh.com/menu_offset.gif
so that's about it...
thanks,
Yannick
Hi Yannick,
So... I'm still not seeing it in IE6/Win2k. What are you using?
Kevin
Yeah... I've had to do that before for a DemoShield installation front end. Definitely a pain. I hope you're charging by the hour!ybouc wrote:...so i have to cut every button on every page to match the different backgrounds ...
So... I'm still not seeing it in IE6/Win2k. What are you using?
Kevin
Jeez, I hate stuff like this.
I took your site and put it up on one of my servers at http://www.west.asu.edu/sa/testsite/to/. Changed nothing (although a few things need tweaking) and tested. Everything worked perfectly first time. It's the same machine that I get the failure on at your site!
OK, the only difference is I was using my local copies of the menu code (but still your downloaded _data file).
Changed over to using your menu code and my local _data file. Still OK.
Changed over to using your copy of the _data file and it fails as before!
Right now the URL above is set to use your code files and my local copy of the _data file. Let me know what you see (and please don't ask what's going on!)...
I took your site and put it up on one of my servers at http://www.west.asu.edu/sa/testsite/to/. Changed nothing (although a few things need tweaking) and tested. Everything worked perfectly first time. It's the same machine that I get the failure on at your site!
OK, the only difference is I was using my local copies of the menu code (but still your downloaded _data file).
Changed over to using your menu code and my local _data file. Still OK.
Changed over to using your copy of the _data file and it fails as before!
Right now the URL above is set to use your code files and my local copy of the _data file. Let me know what you see (and please don't ask what's going on!)...
John
two more cents...
I do not get the odd behavior in IE6/Win2k on either the original site or John's test site. However, I do get the odd behavior in NS7.1/Win2k at both sites... only on first mouseover, as described. Even odder... if I refresh, I don't get the problem again. I only see it on the first mouseover after I have opened the browser.
I notice a few errors in your menu_data.js file.
(1) There are several occurences of ;; in your aI() strings. Change these to ; (a single semicolon).
(2) There are three occurrences of ;;; in your aI() strings. Change them to ;
(3) The aI() string should always end with a ; before the closing "... like so:
(4) There is no menu style property called spacing, but you have spacing="0" in your menuStyle. I'd get rid of it.
(5) Change padding="0" to padding=0 in your menuStyle
(6) Change separatorsize="0" to separatorsize=0 in your menuStyle
(7) Since you have separatorsize=0 in your menuStyle, there's no need to define it in each aI() item... I'd take that out of each aI().
Let's see if any of those help.
Kevin
I do not get the odd behavior in IE6/Win2k on either the original site or John's test site. However, I do get the odd behavior in NS7.1/Win2k at both sites... only on first mouseover, as described. Even odder... if I refresh, I don't get the problem again. I only see it on the first mouseover after I have opened the browser.
I notice a few errors in your menu_data.js file.
(1) There are several occurences of ;; in your aI() strings. Change these to ; (a single semicolon).
(2) There are three occurrences of ;;; in your aI() strings. Change them to ;
(3) The aI() string should always end with a ; before the closing "... like so:
Code: Select all
aI("text=Item Text;url=whatever.htm;....;propname=propvalue;");
(5) Change padding="0" to padding=0 in your menuStyle
(6) Change separatorsize="0" to separatorsize=0 in your menuStyle
(7) Since you have separatorsize=0 in your menuStyle, there's no need to define it in each aI() item... I'd take that out of each aI().
Let's see if any of those help.
Kevin
Thought you had already been there, so I took it down before I left last night.
OK, just put it all back (minus the text). URL and conditions the same as before - calls to your menu code but using my copy of your _data file. Please let me know when you've looked at it. Regardless it will have to come down before I leave tonight (1630 - GMT-0700).
Not sure if the tweaking will fix anything, but it is all still wrong and needs to be corrected.
OK, just put it all back (minus the text). URL and conditions the same as before - calls to your menu code but using my copy of your _data file. Please let me know when you've looked at it. Regardless it will have to come down before I leave tonight (1630 - GMT-0700).
Not sure if the tweaking will fix anything, but it is all still wrong and needs to be corrected.
John