Jump to content
Sign in to follow this  
Followers 0
RiverCacher

Question about HTML Code on geocaching.com

Recommended Posts

This question is only slightly related to geocaching, but here goes:

 

On most hyperlinks to web sites that are external from geocaching.com, a new browser window is opened when you click on that link...

 

How is that done?

 

Scott

 

32121_600.jpg

Lynchburg, Virginia

Share this post


Link to post

It's done by specifying a target window. In this case, it uses "TARGET=_blank". This causes the URL to be opened in a new browser window. The leading underscore indicates it's a general name (there are others, like "_TOP"), rather than a specific named window.

 

PS_sig.gif

Share this post


Link to post

You could have that nifty little signature pic link to something that opens up into a new window! Maybe? Since this is ubb it may not allow you that option. Let's find out!

 

32121_600.jpg

 

It probably didn't work, but we're about to find out!

 

Tyler Slack's Geocaching in Utah

Share this post


Link to post

UBB code isn't playing. But just for the record, an example in html for what you're asking for would look like this:

<a href="http://www.geocaching.com" target="_blank">The Best Site in the World</a>  

 

The target="_blank" as Prime Suspect explained is what opens it up into the new window, which is quite convenient...especially if you want people to come back to the page they are clicking from!

Share this post


Link to post
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0

×