I finally figured how to do it!
Just wanna share.
What I really want to do is to target an iframe and this is my iframe:
Code:
<iframe id="player" name="player" frameBorder="0" allowtransparency="true" src="http://myDefaultPage.html"></iframe>
-----------------------------------------------------
Code:
<FORM>
<INPUT TYPE="button" value='GO' class='btn' onClick="player.location='http://www.google.ca/search?q=table+generator'">
</FORM>
If I click GO button, the content(http://www.google.ca/search?q=table+generator) will show inside the above iframe.
With a normal button code, you cant able to do that.
--------------------------------------------
The name of my iframe is "player"
"player.location" <<<the "player" is the key on the button code.
"parent.location" <<<"parent" targets self window.
-------------------------------------
that button code is perfect for url with a (?) mark.
--------------------------------------------
my css for the button
--------------------------------------------
Code:
input.btn {
color:#29447e;
font: bold 80% 'arial',helvetica,sans-serif;
background-color:#ffffff;
border: 0px solid;
border-color: #29447e;
filter:progid:DXImageTransform.Microsoft.Gradient
(GradientType=0,StartColorStr='#ffffffff',EndColorStr='#ffeeddaa');
}
-------------------------------------------
Bookmarks