PDA

View Full Version : Java Buttons


hearts
12-11-1998, 05:31 PM
Question:
Is there a way to create a java button that goes to a URL of another site? Thank you in advance! http://www.aota.net/ubb/smile.gif

------------------
*hugs and :) :);) *

~~~ Hearts
www.heartsangels.com/hearts/ (http://www.heartsangels.com/hearts/)

hearts
12-11-1998, 05:39 PM
oooops wrong topic http://www.aota.net/ubb/redface.gif .. does this mean ya's won't answer my question? http://www.aota.net/ubb/wink.gif Please do anyways.. I will pay better attention the next time *I promise*

------------------
*hugs and smiles *

~~~ Hearts
www.heartsangels.com/hearts/ (http://www.heartsangels.com/hearts/)

Deb
12-13-1998, 07:07 AM
Hiya Hearts,

If you have created Java Buttons that send a visitor to a URL upon clicking.. then it will work regardless of where the URL is located.

It just means you need to use the full URL http://www.wherever.com/over/here.html rather then just using /over/here.html

Should work fine for you...
Deb

------------------
Unlocking the Power of the Internet!
www.FutureQuest.net (http://www.FutureQuest.net)

hearts
12-13-1998, 10:56 AM
deb
oh no! THis makes twice that i am embarassed!
:0 ... because i may have asked this question wrong! May I reask again? http://www.aota.net/ubb/wink.gif

The type of button that I am referring to is one: (that is why I called it Java Buttons)

<form action="http://www.heartsangels.com/"><input type="submit" value="take me there"></form>

This works.. for netscape and MSIE 4.x.. *giggle* but when you get to that URL it shows a question mark at the end of that loaded URL .. but it works.. and I did not know if there was a better or correct way of doing this.

Sorry for not being clearer... and sorry for not posting in the right subject.. And thank you for answering.. now I am hoping you will come back and see this again! *crossing fingers*

Deb
12-13-1998, 11:22 AM
hmmm how about trying Javascript....

Like this:

<INPUT TYPE="button"
VALUE="Take Me Home"
onClick="parent.location='http://www.heartsangels.com/'">

See if that works for you

Deb

------------------
Unlocking the Power of the Internet!
www.FutureQuest.net (http://www.FutureQuest.net)

hearts
12-13-1998, 11:27 AM
Hey Deb.. wowowowow.. were ya sitting there waiting on me! http://www.aota.net/ubb/wink.gif

I just tried it and it works!! I am so happy! http://www.aota.net/ubb/smile.gif http://www.aota.net/ubb/smile.gif http://www.aota.net/ubb/smile.gif http://www.aota.net/ubb/smile.gif http://www.aota.net/ubb/smile.gif

*hugs*

PS... I like that email notifier! *cool touch* (that is how I know you answered) http://www.aota.net/ubb/wink.gif

------------------
*hugs and smiles *

~~~ Hearts
www.heartsangels.com/hearts/ (http://www.heartsangels.com/hearts/)

Del
12-14-1998, 03:43 AM
Dont forget the <form> and </form> parts tho. If you don't put those in, Nutscape won't display anything http://www.aota.net/ubb/smile.gif



------------------
Del
http://www.downinit.com/

hearts
12-14-1998, 11:31 AM
yes.. Del... Nutscape can be a bit picky.. BUT not NEAR as bad as MSIE. http://www.aota.net/ubb/wink.gif

Thanks! http://www.aota.net/ubb/smile.gif

------------------
*hugs and smiles *

~~~ Hearts
www.heartsangels.com/hearts/ (http://www.heartsangels.com/hearts/)