SitePoint Enthusiast
Help with buttons
<INPUT id="Button2" onclick="window.location='http://www.oobuffalo.com;" type="button" value="I Decline" name="Button2">
Here is the link thast I am trying to work on right now. My main questions are these.
1. This button is on a frameset and I was wondering how I could make this button (under main), become the only( or top) frame.
2. Also can this button be made to work with a base tag?
YEs you can...
<INPUT id="Button2" onclick="top.location.href ='http://www.oobuffalo.com;" type="button" value="I Decline" name="Button2">
As for the second question I am unsure what you mean. I think the only way you could acheive that is to use a graphic as a button with <a> tag surrounding the graphic. The <a> tag would default to the base tag.
However if you are doing your button like above you don't need to worry about base tag. Top.location taks care of that.
SitePoint Enthusiast
You'll also want to close the string on that url
<INPUT id="Button2" onclick="window.location='http://www.oobuffalo.com' ;" type="button" value="I Decline" name="Button2">
Originally posted by shoop
You'll also want to close the string on that url
<INPUT id="Button2" onclick="window.location='http://www.oobuffalo.com' ;" type="button" value="I Decline" name="Button2">
Yes you will...jeez can't believe I missed that
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks