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:17
Opera ignores itemwidth property
Poster: leonard
Dated: Tuesday July 27 2004 - 22:44:11 BST
Hello all,
Opera seems to ignore the "itemwidth" property on main menu and works on sub-menus. Has anyone found this to be true? No problems in IE6 or Mozilla. I have tried with and without " " and many other things to no avail?
Capture Examples:
http://meteorcrater.sciencedata.net/milonic/ie6.jpg
http://meteorcrater.sciencedata.net/milonic/mozilla.jpg
http://meteorcrater.sciencedata.net/milonic/opera.jpg
Versions:
Opera Version 7.23
Milonic Version 5.35
Example Code:
// Main Menu
with(milonic=new menuname("mainmenu")){
top=0;
left=0;
alwaysvisible=1;
followscroll=1;
orientation="horizontal";
menuwidth=762;
itemwidth=125;
style=menuStyle1;
aI("text=Meteor Crater Home;url=/home.htm;status=Back to the Meteor Crater home page");
aI("text= Visitor Center;showmenu=viscen;status=Visitor Center;pointer=default");
aI("text= RV Park;showmenu=rvpark;status=RV Park;pointer=default");
aI("text= Events;showmenu=events;status=Events;pointer=default");
aI("text= Links;showmenu=links;status=Links;pointer=default");
aI("text= Contact Us;showmenu=contacts;status=Contact Us;pointer=default");
}
// Visitor Center
with(milonic=new menuname("viscen")){
itemwidth=125;
style=menuStyle2;
aI("text=Visitor Center Overview;url=/visitorcenter/overview.htm;status=Visitor Center Overview");
aI("text=MC Interactive Learning Center;showmenu=more;status=Meteor Crater Interactive Learning Center;pointer=default");
aI("text=Theater;showmenu=theater;status=Theater;pointer=default");
aI("text=Rim Tour;status=Rim Tour");
aI("text=Gift Shop;showmenu=moregift1;status=Gift Shop;pointer=default");
aI("text=Subway Restaurant<br>at the Crater;status=Subway Restaurant at the Crater");
}
Thanks,
Leonard
Science Data
and
Northern Arizona University
Poster: Maz
Dated: Wednesday July 28 2004 - 4:46:08 BST
This might be a silly little thing, try putting a semicolon ; at the end of each item.
Ha! this should be a question for John
maz
Poster: leonard
Dated: Wednesday July 28 2004 - 5:07:26 BST
I just double checked each line and I have a semicolon at the end of each item.
Thanks
Leonard
Poster: Maz
Dated: Wednesday July 28 2004 - 8:21:08 BST
To make sure, you have this?
Code:
aI("text=Meteor Crater Home;url=/home.htm;status=Back to the Meteor Crater home page;");
You have menuwidth=762, itemwidth 125x6=750 , that leaves you 12px short?
Is the width of the page 762? or should you be using "100%" ?
You can still use padding="0 3 0 3"; whatever you want, that is top, right, bottom, left instead of the &. and/or separatorpadding=3; for example.
Maybe I'm not understanding the problem.
maz
Poster: leonard
Dated: Wednesday July 28 2004 - 9:14:18 BST
Please look at new examples, the images have
measurements and notes.
Capture Examples:
http://meteorcrater.sciencedata.net/milonic/ie6.jpg
http://meteorcrater.sciencedata.net/milonic/mozilla.jpg
http://meteorcrater.sciencedata.net/milonic/opera.jpg
http://meteorcrater.sciencedata.net/mil ... rawide.jpg
Thanks,
Leonard
Poster: Andy
Dated: Wednesday July 28 2004 - 9:16:35 BST
Please try version 5.36 - It should help fix the itemwidth problem.
-- Andy
Poster: Marc-Andre.Roberge __at__ mus.ul
Dated: Wednesday July 28 2004 - 21:48:51 BST
I complained once about the problem of having a tiny space on the left of the first column of my horizontal menu; I think it was more than a year ago. I was glad to update my menu to v. 5.36, which at last solved that cosmetic problem.
Thanks for the quick response.
Poster: leonard
Dated: Saturday July 31 2004 - 5:49:47 BST
Version 5.36 fixed the width problem. Thank you Andy. It also fixed a Opera disappearing border problem, which I do not notice any longer. As a bonus, now everything seems fairly stable down to NS4.79 .
Thanks Maz, I was missing semicolons on the last item inside the quote. These "); have been changed to ;"); . Although it did not correct the Opera width error, but, version 5.36 sure did.
Thanks All for your help,
Leonard
Science Data
and
Northern Arizona University
Industrial Strength JavaScript and DHTML Menus
About Us
Testimonials
Contact Us
Our Distinguished Clients
Investing in Non-Profits
Where Are We
Privacy Policy
Software Licensing Agreement
DHTML JavaScript Menu
Product Information
Page Integration
Quick Reference Guides
Embedding Into a Table or DIV
Purchase
