Page 3 of 7 FirstFirst 12345 ... LastLast
Results 21 to 30 of 64

Thread: [UPDATED] Slashdot Menu

  1. #21
    Join Date
    Apr 2007
    Location
    Australia
    Posts
    76
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    studio505,
    I think what you need to do is set the .js variable "collapse_topmenus_only" to true.
    Code:
    var collapse_topmenus_only = false; //if true, collapse top level menus only; requires collapse_lastmenu to be true.
    Cheers,

  2. #22
    Join Date
    Aug 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ictinus - I tried setting the variable "collapse_topmenus_only" to true, but that seems to have the effect of keeping the menus open.

    See: http://www.studio505.com/site3

    I'll keep trying! Thanks again.

  3. #23
    Join Date
    Aug 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default javascript pop-up

    Hello,

    I am trying the new menu....very cool. I am having a problem with a javascript pop-up box. When I go to view the site in the browser, I keep getting a pop-up box saying:

    "JAVASCRIPT
    The number of default states is 17, but the number of menus is 5"

    before the site loads. I just can't seem to find the script anywhere to remove it.

    Does anybody know?

    Thanks!

  4. #24
    Join Date
    Aug 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default oops. found it.

    It might help if I read your great comments.....

    I had to many array values against the menus..

    you guys rock!!

  5. #25
    Join Date
    Apr 2007
    Location
    Australia
    Posts
    76
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default New version: SDNMenu

    Hello all,
    I was hoping to get more done on this, but I'm away for a little while so I thought I'd ask for feedback while I'm away.
    I've updated the sdNestedMenu (SDNMenu) so that it is manipulated similar to the original (current) sdmenu by DimX.

    ie. var mymenu1 = new SDNMenu();

    With that, some things have changed.
    * Multiple menus can be created on the same page, and be configured independently.
    * Menus items without submenus now appear with a different bullet (square).
    * Menus/Submenus can now be forced open all the time.
    * a couple of bug fixes.
    * probably a few other things too... and more later perhaps.

    Please post here anything that doesn't work and I'll read it in a little over a week.
    The demo makes use of Prototype.js, but the menu itself doesn't need it.
    (and I think there might be a problem with IE6 and the slide bars I created for the demo... hey! try Firefox ).

    You can find the new demo at: http://www.ictinus.com/sdnmenu/index.html

  6. #26
    Join Date
    Sep 2007
    Location
    Boulder, CO
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default I'm almost there!

    First of all, thanks for the great contribution and support, this is one of the best menu systems out there!

    So I'm just wondering how I can modify a few things now that I've done a fair amount of customizing with your menu.

    ok, here we go...

    Here is a link to the menu system as it is now. On this html page I have also included the CSS and JS below the actual menu in case anyone would like to view how I have it currently.
    http://www.aardvarkmulti.com/media/menu_test.html

    Attached to this post are also screen shots (menu-ss.gif) of how I would like the end result to appear. (menu-ss2.gif) is how it is currently apppearing.

    Overall, my menu needs the following changes:

    1. When a parent item is selected, I would like the "Grey Rounded Box" image to swap out with a different image. This image will be the same size, but will be a dark red color, vs. the grey color.

    2. When a parent item is selected, and the submenu drops down, there is a white space in between the parent menu image and the dropdown, I would like that white space to be gone. Again, this effect can be seen in the screen shot I have attached.

    3. I would like a small "rounded corner" image to appear at the very bottom of each submenu, giving the effect of the rounded corner on the bottom. Once again, this can be seen in the screenshot gif I have attached to this post.

    I'm sure this can be achieved with some css commands that I'm obviously not aware of, but any help would be Greatly appreciated!!!

    Thanks in advance!

  7. #27
    Join Date
    Jul 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation there is a problem with IE6

    Hi, Ictinus.
    The script is very nice!
    You're right, there is a problem with IE6, because IE6 don't interpreting code css:
    div.sdmenu span.titlehidden:hover span {background-image: url(images/sdcollapsedOn.gif); background-repeat: no-repeat; background-position: 8px 50%; } - hover.
    Only a:hover

    Any help would be Greatly appreciated

    Here's the Install multiple versions of IE for testing: http://tredosoft.com/Multiple_IE

    A lot of people still use IE6

    AX
    Last edited by axscorpio; 09-21-2007 at 09:57 PM.

  8. #28
    Join Date
    Apr 2007
    Location
    Australia
    Posts
    76
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default IE6 with SDNMenu

    axscorpio,
    You are right, still alot of IE6 users around... pity about that. I think it should be shunned by all.

    I forgot to upload the files for IE7 ( http://dean.edwards.name/IE7/ as mentioned in the credits ) which should fix the hover stuff for IE6. I've now done that, but can't test it just now (will do later).

  9. #29
    Join Date
    Sep 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm loving this menu. I've combined it with Ajax to use the Slashdot Menu to change a content div. Therefore this menu is fixed on the page while the right-hand-side is changed.

    What I require is a way to highlight in some way the active link. I've tried changing the a:active in CSS but doesn't work. Any help would be great.

  10. #30
    Join Date
    Apr 2007
    Location
    Australia
    Posts
    76
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    Quote Originally Posted by baz999 View Post
    I'm loving this menu. I've combined it with Ajax to use the Slashdot Menu to change a content div. Therefore this menu is fixed on the page while the right-hand-side is changed.

    What I require is a way to highlight in some way the active link. I've tried changing the a:active in CSS but doesn't work. Any help would be great.
    I've added a function call ('setCurrent') that can be called onClick of the A tag.
    An example in the new demo can be seen in the Width configuration settings.
    Doesn't work in IE only for the first menu at the moment. (edit: ok, that's fixed now).

    This really only solves the currrent link for the scenario you describe, it doesn't remember the last current link on a page reload (perhaps later if there is a need).
    Last edited by Ictinus; 09-23-2007 at 01:53 PM. Reason: IE bug fix status updated.

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
  •