Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Positioning Drop Down menu's Absolutely. Coolmenu

Posted on 2004-09-07
4
Medium Priority
?
201 Views
Last Modified: 2010-05-18
Hi i'm using coolmenu 4 from dhtmlcentral.com. I'm trying to position the menu on the page somewhere. ABSOLUTELY on the screen in a certain position.

EX: if i want to position it top left.. top: 0 left: 0
etc.. etc...

For some reason it always stays in the same postion that the example was given.
0
Comment
Question by:JoshNYC128
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 63

Expert Comment

by:Zvonko
ID: 12000794
0
 
LVL 63

Accepted Solution

by:
Zvonko earned 2000 total points
ID: 12000985
So for your basic example you have to change this settings:


//Menu properties  
oCMenu.pxBetween=30
oCMenu.fromLeft=20       // this is your X offset
oCMenu.fromTop=100    // this is your Y offset
oCMenu.rows=1
oCMenu.menuPlacement="left"  // <<this is important

Also change this statement:
oCMenu.barY=100


Good luck,
Zvonko

0
 

Author Comment

by:JoshNYC128
ID: 12013233
Awesome thanks a lot Zvonko.  

One last thing i'm curious about is for example.

Lets say i have the menu all the way to the right of the screen. right:0  And the submenus come out further. What would i really want to do in a situation like this. I've designed the page for 760x480. Should i just move the pull downs over more, or make the last submenu smaller in width. And how would i do that for the specific submenu.

Thanks again,
Josh
0
 
LVL 63

Expert Comment

by:Zvonko
ID: 12013599
First of all: there is NO such option as right:0
That wath you are asking is demostrated in the example in my first link.
There you can see how even the creater of CoolMenus has problems when it comes to move the menu in sime right position and hold it there when browser resizes!
Here the link again:
http://dhtmlcentral.com/projects/coolmenus/examples/table_placement1.html
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question