Results 1 to 4 of 4

Thread: changing bgcolor

  1. #1
    Join Date
    Aug 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default changing bgcolor

    hi,
    I have a tab problem.
    it should do 2 things:
    1. changing bgcolor when choosing it( it's not a gif, only link)
    2. open seconed navigation

    i guess i need an onMouseOver, but how do i combine 2 orders ( 1+2 ) at the same time?

    Regina

  2. #2
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    When you say "bgcolor" you're not being too specific .

    If you mean the page's bg color, or the objects bg color, I have no idea.

    1:
    If you want to change the bgcolor of a link (I'm guessing) use css (put in the <head> of your document):

    Code:
    <style type="text\css">
    a:hover {
    background:red
    }
    </style>
    2:
    To be honest, I have no idea what "open seconed navigation" means. I'm going to need a little more info.
    - Mike

  3. #3
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    i guess i need an onMouseOver, but how do i combine 2 orders ( 1+2 ) at the same time?
    Code:
    ;
    Or put them in a function in the head of the document

  4. #4
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    Err.. Simply saying ";" might not be that helpful.

    Code:
    <div onmouseover="functionOne();functionTwo()">(Whatever's inside the divinsion goes here)</div>
    - Mike

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
  •