Adobe Community
All community
This category
This board
Knowledge base
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results forÂ
ShowÂ
 onlyÂ
|
Search instead forÂ
Did you mean:Â
Global community
Language:
Deutsch
English
Español
Français
Português
日本語コミュニティ
Dedicated community for Japanese speakers
í•œêµ ì»¤ë®¤ë‹ˆí‹°
Dedicated community for Korean speakers
Sign In
Exit
Home
ColdFusion
Discussions
Open New Window
Home
ColdFusion
Discussions
Open New Window
0
Upvote
Open New Window
dchard
Participant
,
/t5/coldfusion-discussions/open-new-window/td-p/130245
Sep 23, 2008
Sep 23, 2008
Copy link to clipboard
Copied
I have a link to a page but I want to view it on a new window rather than the same window. How will I do that?
Thanks
TOPICS
Advanced techniques
Views
280
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
2 Replies
2
Jump to latest reply
Dan_Bracuk
LEGEND
,
/t5/coldfusion-discussions/open-new-window/m-p/130246#M12120
Sep 23, 2008
Sep 23, 2008
Copy link to clipboard
Copied
target = "_blank"
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
A***
Participant
,
/t5/coldfusion-discussions/open-new-window/m-p/130247#M12121
Sep 23, 2008
Sep 23, 2008
Copy link to clipboard
Copied
LATEST
However, to pass
W3C markup validation
, you need to use onclick and/or onkeypress as follows:
<a href="web_page.cfm" onclick="target='_blank';" onkeypress="target='_blank';" title="This link opens in a new window">Go to web_page.cfm</a>
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Post Reply
Preview
Exit Preview
never-displayed
You must be signed in to add attachments
never-displayed
Â
Resources
Documentation
ColdFusion User Guide