GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   <base target="blank"> (https://gfy.com/showthread.php?t=560235)

spacedog 01-04-2006 08:31 PM

<base target="blank">
 
Without having to modify all the links on a site, how can I use the base target tag in head tag to apply only to external links & not internal links?

Tempest 01-04-2006 08:45 PM

I don't know if you can or not... but
<base target="blank">
should be
<base target="_blank">

spacedog 01-04-2006 08:46 PM

Quote:

Originally Posted by Tempest
I don't know if you can or not... but
<base target="blank">
should be
<base target="_blank">

both tags work on blogs.

Slap Dot 01-04-2006 08:47 PM

Css loves you

SmokeyTheBear 01-04-2006 09:53 PM

Quote:

Originally Posted by spacedog
both tags work on blogs.

well i think the way it works is "_blank" will always be a new window , but if you used "blank" your actually naming the new window "blank" so if you didnt close the window , and clicked another link in the first window , it would open up in the previous window instead of a blank one ( not that , that would happen much but.. FYI )

SmokeyTheBear 01-04-2006 09:56 PM

well you can do it easily with "replace all" without using the base target command..

if you did replace "<a href=http" with "<a target=_blank href=http"

then you would only be replacing outbound links

* presuming inbound links dont have http int hem because they are inbound and would be like " <a href=page.html>

SmokeyTheBear 01-04-2006 09:57 PM

but on a blog that wouldn't work , your better off using css

brizzad 01-04-2006 09:57 PM

css

http://www.google.com/search?hl=en&q...oogle+Sea rch

Tempest 01-04-2006 10:03 PM

Quote:

Originally Posted by spacedog
both tags work on blogs.

It might "work", but it's not the correct syntax and it may in fact not work properly on all browsers now or in the future.


All times are GMT -7. The time now is 07:58 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123