SitePoint Sponsor

User Tag List

Results 1 to 7 of 7

Thread: javascript menu

  1. #1
    SitePoint Evangelist
    Join Date
    Dec 2005
    Posts
    527
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    javascript menu

    Hello I need a javascript menu for my dynamiccodes
    I use this :

    http://www.30too.com/menu/

    But I have 2 problem :

    1 : I can not set it in the center of page

    2: It can not work on firefox

    but its code is very good for using dynamic code (reading fields from menu)

  2. #2
    SitePoint Wizard Pepejeria's Avatar
    Join Date
    Jan 2005
    Location
    Too far up north
    Posts
    1,566
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So, the first step would be for you to look in the JavaScript console for errors and try to fix the menu

  3. #3
    SitePoint Evangelist
    Join Date
    Dec 2005
    Posts
    527
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the center is important for me than firefox

    what should I do for center aligment /??

  4. #4
    SitePoint Wizard Pepejeria's Avatar
    Join Date
    Jan 2005
    Location
    Too far up north
    Posts
    1,566
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you don't really care about making things work in different browser, then I am quite sure that you might think its a good idea to use the center tag to center the menu.

  5. #5
    SitePoint Evangelist
    Join Date
    Dec 2005
    Posts
    527
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I add <center> tag after <body> but its not center yet

    http://www.30too.com/menu/

  6. #6
    SitePoint Enthusiast
    Join Date
    Nov 2005
    Location
    London, UK
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try adding a CSS declaration and do something with
    #divawjsmngold100_0b
    Like this
    Code:
    #divawjsmngold100_0b { left:50% }
    The element is positioning absolutely in the JS code
    Perhaps it's time to look for another JS menu.

  7. #7
    SitePoint Evangelist
    Join Date
    Dec 2005
    Posts
    527
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    where is the #divawjsmngold100_0b ??

    I add this code in header of my page :
    Code:
    <style>
    #divawjsmngold100_0b { left:50% }
    </style>
    But It can not work


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
  •