Diamax
11-14-2002, 05:31 PM
Hello guys!!
I made this button that I want to use it and link to some other website, but I cannot get it to work. here is the code for it:
=======================================================
<FORM>
<input type="submit" value="Go Here" style="BACKGROUND-COLOR: black; onClick="parent.location='http://www.google.com'">
COLOR: WHITE; FONT-FAMILY: arial; FONT-SIZE: medium;
HEIGHT: 28px; WIDTH: 95px"
onmouseover="this.value='OK', this.style.background='black';"
onmouseout="this.value='Go Here',this.style.background='black';"
</FORM>
=======================================================
As it stands right now it's useless.
However if I take the linking code part out at least the button shows up corectly and the MouseOver Effect works, but of course it doesn't link to any website, so it looks like this:
=======================================================
<FORM>
<input type="submit" value="Go Here" style="BACKGROUND-COLOR: black;
COLOR: white; FONT-FAMILY: arial; FONT-SIZE: medium;
HEIGHT: 28px; WIDTH: 95px"
onmouseover="this.value='OK', this.style.background='black';"
onmouseout="this.value='Go Here',this.style.background='black';"
</FORM>
=======================================================
Can you guys PLEASE help me make this button work and link to any site I want and have the MouseOver Effect at the same time, and keep the look of the button??
THANK YOU VERY MUCH!!!
I made this button that I want to use it and link to some other website, but I cannot get it to work. here is the code for it:
=======================================================
<FORM>
<input type="submit" value="Go Here" style="BACKGROUND-COLOR: black; onClick="parent.location='http://www.google.com'">
COLOR: WHITE; FONT-FAMILY: arial; FONT-SIZE: medium;
HEIGHT: 28px; WIDTH: 95px"
onmouseover="this.value='OK', this.style.background='black';"
onmouseout="this.value='Go Here',this.style.background='black';"
</FORM>
=======================================================
As it stands right now it's useless.
However if I take the linking code part out at least the button shows up corectly and the MouseOver Effect works, but of course it doesn't link to any website, so it looks like this:
=======================================================
<FORM>
<input type="submit" value="Go Here" style="BACKGROUND-COLOR: black;
COLOR: white; FONT-FAMILY: arial; FONT-SIZE: medium;
HEIGHT: 28px; WIDTH: 95px"
onmouseover="this.value='OK', this.style.background='black';"
onmouseout="this.value='Go Here',this.style.background='black';"
</FORM>
=======================================================
Can you guys PLEASE help me make this button work and link to any site I want and have the MouseOver Effect at the same time, and keep the look of the button??
THANK YOU VERY MUCH!!!