View Full Version : 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.
<input type="button" value="Google" onClick="window.location.href='http://google.com';">
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.
No, but I don't know why it's telling you it's too long... Hmm. What are you using?
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
Nile..would I be able to post my code here to you and see if you can see what I am doing wrong?
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/@browncountycarshow.com/PastEvents/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>
Yeah, that definitely should work.
When pasting a code, please remember to use [code] tags. That includes [ html ], [ code ], and [ php ].
Thanks!! You are the best and have been a great help.
Pook
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.