(solved) HTML, XML Link to external Page opened in new Tab?

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

(solved) HTML, XML Link to external Page opened in new Tab?

#1 Post by RSH »

Hi.

Using this code opens the WebPage "URL_Here"

Code: Select all

<a href="URL_Here">Target_Title</a>
In my new LazY Puppy WebPage I can use embedded code.

The code above opens the linked page inside of the current used Tab.

Is there any code to let the linked page open up in a new Tab or Browser Window?

Thanks

RSH
Last edited by RSH on Sat 05 Oct 2013, 02:45, edited 1 time in total.
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#2 Post by SFR »

The source of this very page reveals the answer. :wink:

Code: Select all

<a href="http://murga-linux.com/puppy/viewtopic.php?p=650665#650665" target="_blank" class="postlink">Useful Software for Puppy!</a>
Dunno what class="postlink" is for, but target="_blank" most likely is what you're looking for.

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
sszindian
Posts: 807
Joined: Sun 25 Apr 2010, 02:14
Location: Pennsylvania U.S.

HTML

#3 Post by sszindian »

SFR is correct! however if you are looking for more complex features,

Excellent source for HTML is at-

http://www.htmlgoodies.com/

Over the years, I've found almost everything I needed at this site... Joe Burns has been developing the site since way, way back when the code was in its infancy and he can do some pretty tricky stuff with it..

>>>---Indian------>
Cloud Computing For Every Puppy (a .pet)
[url]http://murga-linux.com/puppy/viewtopic.php?t=69192[/url]

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#4 Post by RSH »

SFR wrote:The source of this very page reveals the answer. :wink:

Code: Select all

<a href="http://murga-linux.com/puppy/viewtopic.php?p=650665#650665" target="_blank" class="postlink">Useful Software for Puppy!</a>
Dunno what class="postlink" is for, but target="_blank" most likely is what you're looking for.

Greetings!
Thanks.

The target="_blank" did it! :)

@sszindian
Thanks for the link. 8)
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

Post Reply