|
Posted by Jonathan N. Little on 04/25/07 13:39
El Kabong wrote:
> "ewijaya" <ewijaya@gmail.com> wrote in message
> news:1177504575.081075.36530@o40g2000prh.googlegroups.com...
>
>> Usually, when we click on "FOO" on html below,
>> the page will open on the current "tab" or "window"
>>
>>
>> <A HREF=../somepath/somehtml.html class=style1> FOO </A><br><br />
>>
>
> Add target="_blank" as in:
>
> <A HREF=../somepath/somehtml.html class=style1 target="_blank"> FOO
> </A><br><br />
NO, incorrect. You may *try* to *force* a new tab or window but any
decent *modern* browser can override such attempt! More to the point
*why* do you feel the need to open a link in a new window? Simple
solution is just don't and let your users decide whether or not that
they want to open the link in a new window, tab, or different browser!
Leave the choice to them.
BTW: El, Quickdraw or whatever, your example is more harmful then
helpful for a newbie, it is a hodgepodge of HTML and XHTML. If you meant
HTML then what is "<br />"? If you meant XHTML then uppercase elements
and unquoted parameters are invalid.
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|