Forum Moderators: mack

Message Too Old, No Replies

How to make an exit link...

         

FoxFire

10:00 pm on Jun 27, 2004 (gmt 0)

10+ Year Member



Say I have a button on my site that I want to exit out of my site and go to a search engine such as Yahoo, google, or MSN. How would I do this?

mack

10:08 pm on Jun 27, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Hi FoxFire.

If you want to add a search box to your website most of the top search engines offer such a service.

In involves pasting some html code into your pages. The html produces a search box. If a user types a search term and clicks search they will be taken directly to a search results page on the search engine you have chosen.

Hope this is of some help.

Mack.

FoxFire

10:20 pm on Jun 27, 2004 (gmt 0)

10+ Year Member



Well i'm not sure if this is the intention that my friend has.
(Yes, i'm asking this on behalf of a friend.)
The button is on his main page, before you get to the actual site. (Where you have the big logo & with the Enter & Exit buttons)
He tried making it so that if you click the exit button, that it goes to MSN, but it didn't work.

mack

10:36 pm on Jun 27, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Sorry I misunderstood your question ;-)

This code should work for you...

<FORM METHOD="LINK" ACTION="http://www.example.com">
<INPUT TYPE="submit" VALUE="exit">
</FORM>

All you need to do is set example.com to the page you want to go to.

Mack.

FoxFire

12:38 am on Jun 28, 2004 (gmt 0)

10+ Year Member



Ah ok. Thanks.
How would you code that into an image?
(I'd ask him if he knew already, but he lives in Europe and has already gone to sleep.)
(Just to clarify what I mean, it would be a clickable image that would act as the exit link.)

mack

12:43 am on Jun 28, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



To replace the button with a picture try the following...

<FORM METHOD="LINK" ACTION="http://www.example.com">
<INPUT TYPE="image" SRC="picture.gif" VALUE="exit">
</FORM>

just change the "picture.gif" to point at your corect image source loaction.

Mack.

FoxFire

3:50 am on Jun 28, 2004 (gmt 0)

10+ Year Member



K thanks. That should do it for him. I'll let him know tommorow when he wakes up. Thanks for all your help. ^_^

MichaelBluejay

4:30 am on Jun 29, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Why do it the hard way? If you want an image to link to another site then it's easy to code:
[red]
<A href="http://yahoo.com"><IMG src="picture.gif"></A>
[/red]