Welcome to Geeklog, Anonymous Monday, November 25 2024 @ 02:56 pm EST
Geeklog Forums
Open RDF feed link in new window
3PRIMATES
sardu
Who told you what I was expecting from your site? I was trying to keep it a secret! : )
Seriously though, I usually open links in another browser tab or a new window and generally I assume that a link will open in the same window unless the site states otherwise.
And just so this comment isn't devoid of useful information I'll add that using the target=
attribute prevents XHTML 1.1 validation, you can use onclick=
and a simple window.open
call instead:
$RDFheadlines[] .= '<a href="' . addslashes( trim( $RDFlink )) . '" inclick="window.open(this.href,'');return false;">' . addslashes( trim( $RDFtitle )) . '</a>';
---
Lucas Thompson, sardu@mac,com
Lucas Thompson, sardu@mac,com
Anonymous
Anonymous
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content