Results 1 to 4 of 4

Thread: centered dropdown menu

  1. #1
    Join Date
    Dec 2005
    Posts
    133
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default centered dropdown menu

    Code:
    					<script language="JavaScript">
    <!--
    var menuConfig = [
    {
    	'height':  25,
    	'width' : 126,
    	'firstX' : 410,
    	'firstY' : 75,
    	'nextX' : 1,
    	'hideAfter' : 200,
    	'css'   : 'gurtl0o',
    	'trace' : true
    },
    {
    	'height':  23,
    	'width' : 126,
    	'firstY' : 25,
    	'firstX' :  0,
    	'nextY' : -1,
    	'css' : 'gurtl1o'
    },
    {
    	'firstX' : 126,
    	'firstY' : 0
    }
    ];
    
    new menu (menuHierarchy, menuConfig);
    //-->
    </script>
    First time working on JS menu. How do I center this inside the table cell I want? In preview it shows up cornered left align
    Last edited by Chadi; 02-27-2006 at 11:03 PM.

  2. #2
    Join Date
    Dec 2005
    Posts
    133
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Attached is the js file as well

  3. #3
    Join Date
    Dec 2005
    Posts
    133
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Can someone please help?

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,440
    Thanks
    78
    Thanked 3,443 Times in 3,404 Posts
    Blog Entries
    12

    Default

    These things depend upon more than just the script involved. Practically anything can have an effect on how any one thing gets positioned. Best to set up a demo page on the web if you haven't already and:
    PLEASE: Include the URL to your problematic webpage that you want help with.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •