Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Help with linking subdirectories using Rollover background-color button Script

  1. #1
    Join Date
    Feb 2011
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Red face Help with linking subdirectories using Rollover background-color button Script

    I'm fairly new at this but have incorporated the Rollerover background tabs on a website. The problem I am having is in the coding to add my subdirectory links to the tabs. Any advice you can offer would be appreciated.

    Example of code using:
    <input type="button" value="Donations" class="initial2" onClick="jumpto2('')">
    <input type="button" value="Past Events" class="initial2" onClick="jumpto2('')">
    <input type="button" value="Directions" class="initial2" onClick="jumpto2('')">
    <input type="button" value="Vendors" class="initial2" onClick="jumpto2('')”>
    </form>

    I've tried adding the http:/ url in parenthesis after "jumpto2 but it doesn't link at all.

    HELP!!! Thanks.

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Code:
    <input type="button" value="Google" onClick="window.location.href='http://google.com';">
    Jeremy | jfein.net

  3. #3
    Join Date
    Feb 2011
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks Nile for the quick reply!
    So I put in the correct code that you offered.....now Yahoo is telling me that the code is too long. Ever hear of this problem before?
    Am I making a mistake by trying to link my sub-directories onto the main page? Thanks for any advice you can offer.

  4. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    No, but I don't know why it's telling you it's too long... Hmm. What are you using?
    Jeremy | jfein.net

  5. #5
    Join Date
    Feb 2011
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    I am using Yahoo web design for my page. It's puzzling to me too! Thanks for all you time with helping me with this. What a pain! lol

  6. #6
    Join Date
    Feb 2011
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Nile..would I be able to post my code here to you and see if you can see what I am doing wrong?

  7. #7
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Yeah, go for it.
    Jeremy | jfein.net

  8. #8
    Join Date
    Feb 2011
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks so much. Here it goes...see what you think.


    <P ALIGN="CENTER"><input type="button" value="Registrations" onClick="window.location.href='http://p8.hostingprod.com/@browncountycarshow.com/Registration/index1.html';">
    <input type="button" value="Shriners" onClick="window.location.href='http://p8.hostingprod.com/@browncountycarshow.com/Shriners/index2.html';">
    <input type="button" value="Donations" onClick="window.location.href=' http://p8.hostingprod.com/@browncountycarshow.com/Donations/index4.html';">
    <input type="button" value="Past Events" onClick="window.location.href=' http://p8.hostingprod.com/@browncoun...ts/index6.html ';">
    <input type="button" value="Directions" onClick="window.location.href='http: //p8.hostingprod.com/@browncountycarshow.com/Directions/index3.html';">
    <input type="button" value="Vendors" onClick="window.location.href=' http://p8.hostingprod.com/@browncountycarshow.com/Vendors/index5.html';">
    </form>

  9. #9
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Yeah, that definitely should work.
    When pasting a code, please remember to use [code] tags. That includes [ html ], [ code ], and [ php ].
    Jeremy | jfein.net

  10. The Following User Says Thank You to Nile For This Useful Post:

    pook (02-09-2011)

  11. #10
    Join Date
    Feb 2011
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks!! You are the best and have been a great help.
    Pook

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
  •