Error on page with certain links

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
basic
Advanced
Advanced
Posts: 24
Joined: Thu Apr 21, 2005 6:12 am

Error on page with certain links

Post by basic »

The menu works just fine when I link the menu items to pages on my website which do not have the menu, e.g., aI("text=home;url=/default.asp;")

However, when I change the link (default.asp in this case) so that it links to a page in which I have included the menu I get an error on page message and the menu gets stack. I’m still using the free version of the menu with the Milonic link intact. Your help will be appreciated.

Thanks.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi Basic,

We need a url to see what's happening. Thanks

Ruth
basic
Advanced
Advanced
Posts: 24
Joined: Thu Apr 21, 2005 6:12 am

Thanks

Post by basic »

Hi Ruth and thanks for the prompt reply. The site is temporary available at:

http://www.basiconcept.com/sites/AscolaMeimad

It's in Hebrew but you will notice that the first menu item on the right directs to the same URL as the above. This creates the problem:

aI("text=דף הבית;url=http://www.basiconcept.com/sites/AscolaMeimad/;");

and the scripts in question are located here:

http://www.basiconcept.com/sites/Ascola ... nu_data.js

and:

http://www.basiconcept.com/sites/Ascola ... u_first.js


All the best, Gil.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi Gil,

I'm unable to reproduce the problem on the desktop. It only happens with IE on the web. Netscape 7, Opera 7.54, Firefox 1.0.2 don't throw any error on mouseOut. I'm notifying some others about this and will let you know when I hear anything. One thought crossed my mind; try putting another item as the first item so that one is not the first on the menu [given the rtl direction] I don't know that it will do anything, and since I'm unable to reproduce the error on desktop, I can't check that. If it fixes it, that will narrow down the possibilities for anyone trying to find the glitch.

You can also try downloading the pre-release version 5.722 and see if something got fixed in that. It is a pre-release, so there will be a final of it at some point.

Ruth
basic
Advanced
Advanced
Posts: 24
Joined: Thu Apr 21, 2005 6:12 am

Post by basic »

thanks Ruth, I will rty and let you know. Please keep me posted if you discover anything else...

Gil.
basic
Advanced
Advanced
Posts: 24
Joined: Thu Apr 21, 2005 6:12 am

Post by basic »

Hello Ruth,
Well, I reinstalled it and the problem disappeared. Thanks.

I have another question though… I have a problem when changing the font size in the browser the submenus go wild? How can I fix it? Is it possible to control the size of the fonts in the menu with a CSS like method so that they do not change when resizing the fonts in the browser?

Please look at the menu here:

http://www.basiconcept.com/sites/AscolaMeimad/

Thank you very much; your help is greatly appreciated!

Gil
basic
Advanced
Advanced
Posts: 24
Joined: Thu Apr 21, 2005 6:12 am

Post by basic »

just realized fontsize was set to % - changed it to xxPT.....

All the best,

G.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

basic wrote:just realized fontsize was set to % - changed it to xxPT.....
px would be better, especially for cross-browser and -platform compatibility.
John
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I agree with John, px are the safest way for cross-browser support. Not all browsers render pts ems etc the same, but I believe they do render px the same. Also, you should be aware that Netscape will over-ride even css set font sizes from their drop down menu. I think it must somehow be linked to the 'user defined style sheets' part of the browser programming so it assumes a user defined style sheet when they change font size by the drop down.

If you are really worried about that font size for the menu for layout and style reasons, the only safe way is to use images.

Ruth
Post Reply