SitePoint Sponsor

User Tag List

Results 1 to 8 of 8

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Jul 2002
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Some DHTML and JScript Help...

    Hello,

    Im working on a navigation for this site im working on, and I used the same toolbar that www.webmonkey.com uses. I made it using the same method as the tutorial at webmonkey also. (located here.

    The question is is it possible (and how) to make it so that only 1 menu is expanded at a time? So if theres already one open, and you click a different menu, all other menus would collapse?

    Thanks, I dont know much about javascripting btw.

    -john
    http://johnmai.com

  2. #2
    Perl/Mason Guru Flawless_koder's Avatar
    Join Date
    Feb 2002
    Location
    Gatwick, UK
    Posts
    1,206
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    url? ( to see what you've got already )

    Flawless
    ---=| If you're going to buy a pet - get a Shetland Giraffe |=---

  3. #3
    SitePoint Member
    Join Date
    Jul 2002
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, here it is: http://johnmai.com/wco2

    Notice how when all the menus are expanded it goes past the botom of the browser, and for some reason scrollbars dont appear. (its a frameset)
    http://johnmai.com

  4. #4
    SitePoint Wizard
    Join Date
    Oct 2001
    Location
    Tucson, Arizona
    Posts
    1,858
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by username3
    and for some reason scrollbars dont appear
    I wonder why that is (look at line 7).
    Code:
    <frame name="leftFrame" scrolling="NO" noresize src="navigation.htm">

  5. #5
    Perl/Mason Guru Flawless_koder's Avatar
    Join Date
    Feb 2002
    Location
    Gatwick, UK
    Posts
    1,206
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @ sarcasm.

    Play nice now...

    Flawless
    ---=| If you're going to buy a pet - get a Shetland Giraffe |=---

  6. #6
    SitePoint Evangelist compwizard's Avatar
    Join Date
    May 2002
    Location
    United States
    Posts
    457
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    try using an if then else statement in javascript
    Compwizard
    "There are 10 kinds of people in this world -- those who know binary, and those who don't."

  7. #7
    SitePoint Member
    Join Date
    Jul 2002
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by mattjacob


    I wonder why that is (look at line 7).

    Ah im such a doofus.

    thanx...

    btw i dont really know much about coding jscript... so.
    http://johnmai.com

  8. #8
    Perl/Mason Guru Flawless_koder's Avatar
    Join Date
    Feb 2002
    Location
    Gatwick, UK
    Posts
    1,206
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There's no time like the present to learn

    Flawless
    ---=| If you're going to buy a pet - get a Shetland Giraffe |=---


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
  •