rollover question

Discussion in 'HTML & Website Design' started by tytyguy, Mar 2, 2007.

Thread Status:
Not open for further replies.
  1. #1
    I have a question about rollovers. I have some rollovers on my site here http://www.cellphoner . net - I was wondering how i make it so whatever page you are on the rollover stays rolled over.
    Like when you roll over it turns black. how do i make it so if your wherever your at the correspoding buttom its on the rollover. if that makes sense. :confused:
     
    tytyguy, Mar 2, 2007 IP
  2. chaos0784

    chaos0784 Peon

    Messages:
    33
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hmm, this is very easy to do by hand. Just add a unique style by hand to each page individually that makes the hover status apply to the regular status of the item. Automatically may be a bit trickier, but maybe you could make use of a Breadcrumbs script and modify it to suit your needs.

    http://www.iwdn.net/showthread.php?t=4318&highlight=breadcrumbs

    Then have Javascript change the CSS for an the object in question based on what page it decides it's on.
     
    chaos0784, Mar 2, 2007 IP
  3. tytyguy

    tytyguy Peon

    Messages:
    406
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    haha theres a lot easier way. thank you though
     
    tytyguy, Mar 2, 2007 IP
  4. chaos0784

    chaos0784 Peon

    Messages:
    33
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    :confused: Which one was easier? I would have done it manually to prevent errors/possible 404's if the user visits a page you haven't styled yet. However, I am not saying these ways are the only ways. I do believe that there are paid for software out there that do what you want as well, but I have no experience with them.
     
    chaos0784, Mar 2, 2007 IP
  5. tytyguy

    tytyguy Peon

    Messages:
    406
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #5
    software? i think we are talking about something way different.
     
    tytyguy, Mar 2, 2007 IP
  6. chaos0784

    chaos0784 Peon

    Messages:
    33
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    We are talking about the same thing I am pretty sure, but I shouldn't have brought up so many options. Your best be is to manually add a unique style to each page for the element you want changed. However, if you must get complicated, I suppose you could always make use of JavaScript to determine the URL, and then determine the page. With that information it could change the style, but all this coding will be probably confusing and complicated.

    What I meant by software was that there may have been programs for making the menu for you, and doing all this work for you. However, I could find none.
     
    chaos0784, Mar 3, 2007 IP
Thread Status:
Not open for further replies.