Announcement

Collapse
No announcement yet.

target attribute in xhtml

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • target attribute in xhtml

    can anyone help me and tell me how you would do the following and still validate to xhtml 1.0 strict:

    <a href="mypage.php" target="_top">mypage</a>

    You can get rid of target="_blank" easily by using javascript, but how about the other targets?

    Thanks

    Tingle

  • #2
    <a href="javascript:" onclick="parent.location='mypage.php'">Go to my page!</a>

    I think that would do it.

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X