|
|
Joined: Feb 2007
Posts: 209
Enthusiast
|
Enthusiast
Joined: Feb 2007
Posts: 209 |
Ok, I know how the target="_blank" works but what I need is some idea on how to get it work with this code. <a href="{$url_path}/showphoto.php?photo={$pid}">$mthumb</a> If I do this <a href="{$url_path}/showphoto.php?photo={$pid} TARGET="_blank"">$mthumb</a> then it cuts the html off at the first closing quote and I get this for a link http://my.domain.com/photopost/showphoto.php?photo=290 TARGET= So, is there anyway to do this and have the script open the photo in a new window instead of it loading over the forums?
-Tim
|
|
|
|
Joined: Dec 2006
Posts: 1,235
veteran
|
veteran
Joined: Dec 2006
Posts: 1,235 |
" in wrong place. ( see red " below ) <a href="{$url_path}/showphoto.php?photo={$pid} TARGET="_blank"">$mthumb</a> <a href="{$url_path}/showphoto.php?photo={$pid}" TARGET="_blank">$mthumb</a>
|
|
|
|
Joined: Feb 2007
Posts: 209
Enthusiast
|
Enthusiast
Joined: Feb 2007
Posts: 209 |
-Tim
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
It's amazing how placing a " in the wrong place can completely break things huh
|
|
|
|
Joined: Feb 2007
Posts: 209
Enthusiast
|
Enthusiast
Joined: Feb 2007
Posts: 209 |
Yup, and it was broken. But now, no more using "back" just to get to the forums!!
-Tim
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
The back button is evil; that is all :x
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
|
|
|