Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Regular Coder
    Join Date
    Apr 2005
    Location
    austin, tx
    Posts
    148
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Navigation Menu & Image Rollover

    http://www.dallasworship.com/newsite

    i am trying to make a very simple navigation menu at the top right. as you will see on the site above, my javascript is definitly NOT the best way to do what i'm trying to do. Actually, i'd rather it be horizontal than verticle, but i don't know if that's possible to spread it across multiple <td>'s.

    2 things that aren't being accomplished, but that i need...

    1) when mouse goes away from the menu, it disappears again
    2) when hover over the navigation icon, a rollover image appears (navigation2.jpg). ...i tried doing dreamweaver's version of a rollover image, but three times in a row it crashed my pathetic windows 98 computer here at work. i need a javascript for rollover anyway, i don't like the way dreamweaver does it.

    any thoughts? ...also, feel free to comment on the look and feel of the site above...it is to be a replacement for the current site that hasn't been updated in about a year and a half, but i'm not sure if i like it.

  2. #2
    Registered User _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Something like this? The rollover can be done in CSS. See here.
    Last edited by _Aerospace_Eng_; Jun 17th, 2005 at 08:28 PM.

  3. #3
    Regular Coder
    Join Date
    Apr 2005
    Location
    austin, tx
    Posts
    148
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ok, i've figured out a couple of things now, but could somebody look at the code and tell me what in it might be uneccessary?
    Last edited by sftl99; Jun 17th, 2005 at 10:56 PM. Reason: figured out one thing

  4. #4
    Regular Coder
    Join Date
    Apr 2005
    Location
    austin, tx
    Posts
    148
    Thanks
    0
    Thanked 0 Times in 0 Posts
    grr...

    i cannot get the navigation menu to do an onclick function. i need the frame named "site" to change when clicked. see the navigation menu on the very bottom and you'll know what i mean. but when i plug the onClick=... into the navigation javascript, it doesn't work. please advise.

  5. #5
    Registered User _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    So basically you need to change the page title to match accordingly with the links? You could use the onclick on the href

    <a href="#" onclick="document.title=\'blah\';">blah</a>
    You need to escape the single quotes or the end of the script will be called to soon.

  6. #6
    Regular Coder
    Join Date
    Apr 2005
    Location
    austin, tx
    Posts
    148
    Thanks
    0
    Thanked 0 Times in 0 Posts
    that's actually not what i was trying to do, but close...BUT...i will definitely use that one. my issues WAS answered in your reply...i forgot about the \ ...thank you tremendously!


 

Posting Permissions

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