Page 1 of 7 123 ... LastLast
Results 1 to 10 of 64

Thread: [UPDATED] Slashdot Menu

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

    Lightbulb

    Moved From Thread: http://www.dynamicdrive.com/forums/s...ad.php?t=14497

    Ok so here's a link http://www.ictinus.com/sdNestedMenu/menu1.html

    As it is based on DimX's sdmenu and therefore isn't all my original work, I wasn't sure if it should be submitted to DD.

    Cheers,
    Ictinus
    Last edited by thetestingsite; 05-06-2007 at 03:55 PM.

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

    Smile slashdot menu fix looks great

    Hi Ictinus,

    I have followed a couple threads on the slashdot menu and I think your link: http://www.ictinus.com/sdNestedMenu/menu1.html is a great demo of what can be done with it.

    I am not an experienced programmer in java and am not even sure about css programming and i was wondering if there is a way of editing this meny system simply to include on a website.

    Looking forward to hearing from you.

    Steve Slisar

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

    Default

    Steve,
    I've created a 'simple example' page which is just the menu with Slashdot styling without all the demo bits.
    http://www.ictinus.com/sdNestedMenu/simple_example.html

    If you include the: link, script, and body 'onload' elements from this example in your page, along with the 'sdmenu' div somewhere on your page, you should be just about there.

    The files required along with the example are:

    sdnestedmenu.js
    sdcollapsed.gif
    sdcollapsedOn.gif
    sdexpanded.gif
    sdexpandedOn.gif

    and these if you want the Slashdot style:
    sdnestedmenu1.css
    sdtitle.gif
    sdtitle2.gif

    or this if you want the Flatdot style:

    sdnestedmenu2.css

    The only file you should *need* to modify is the html file for you menu contents, but you may want to modify the .css files to change the colours/images.

    I hope that helps.
    ps. I think you meant 'Javascript' not 'Java'. Two different things.

  4. #4
    Join Date
    Jun 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thanks!

    Thanks so much for doing this menu. I really needed the nested facility and it works lovely.

    However I have 2 small problems.

    1) When a user clicks on one of the menu items that links to another page on my website, How can I get the menu to show what levels had already been open?

    What I mean is, that everytime I go to a new page, my menu is completely collapsed. I would like to to remember the explaned state it was in when the user clicked the link.

    2) Is there much work to make this a horizontal menu? I've tried but failed badly. Would you be able to point me in the right direction?

    Thanks for sharing this.

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

    Default

    Pilotsnipes,

    1. Can you provide a link to your site which uses sdNestedMenu? Then I may be able to identify your problem.

    2. I would not try and make this menu into a horizontal menu. It would probably be more worthwhile using one of the existing horizontal menus and perhaps modifying it if required.

    Cheers.

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

    Question Add hover Tooltip to buttons

    Very nice script
    How can I do a tooltip to buttons Collapse/Expand
    - something like this on "Simple Menu" http://www.4thorder.us/Scripts/Scripts/JS.MDME/

    AX

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

    Default

    axscorpio,
    you can add a tooltip by including a 'title' attribute to any of the spans tags within the menu.
    e.g.
    HTML Code:
    <span class="title" title="A Tooltip message"><span class="tt">Menu 1</span></span>

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

    Default

    Quote Originally Posted by Ictinus View Post
    axscorpio,
    you can add a tooltip by including a 'title' attribute to any of the spans tags within the menu.
    e.g.
    HTML Code:
    <span class="title" title="A Tooltip message"><span class="tt">Menu 1</span></span>
    I know this solution.
    I mean, I'd like to add a tooltip only to buttons "Collapse all" and "Expand all" in javascript, something like onmouseover = "TEXT".
    I think this is a good idea
    Last edited by axscorpio; 07-03-2007 at 11:03 AM.

  9. #9
    Join Date
    Jul 2007
    Location
    California
    Posts
    177
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Newbie

    Figured it out, but now I have another question in it's place...
    Last edited by Sliight; 07-11-2007 at 07:29 AM.

  10. #10
    Join Date
    Jul 2007
    Location
    California
    Posts
    177
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    I figured out how to get the menu on the page and make it work, very cool btw, thank you.

    There was mention of validation earlier, and I'm not sure if that removes this but...

    When I preview in a browser I get the message "IE has restricted this webpage from running scripts or activeX controls" Granted I have my settings set to do this because I don't always trust sites, however when I view the demo of this I don't get the message.

    Does anyone know how to eliminate this issue in case someone uses higher security settings than the typical default?

    Thank you!

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
  •