BookmarkSubscribeRSS Feed
gzr2mz39
Quartz | Level 8
How do I create a link to www.sas.com when the user clicks on "Click here to open"?

ods text="~{style [just=center color=BIGB font_size=16pt width=80pct font_weight=bold]Monthly Featured Statistics}
~{newline 1}
~{style [font_size=12pt width=80pct just=center] (Click here to open)}";
Thank you.
3 REPLIES 3
Tim_SAS
Barite | Level 11
[pre]
ods text="~{style [just=center color=BIGB font_size=16pt width=80pct font_weight=bold]Monthly Featured Statistics}
~{newline 1}
~{style [font_size=12pt width=80pct just=center url='http://www.sas.com'] (Click here to open)}";
[/pre]
gzr2mz39
Quartz | Level 8
Thanks.
Where can I add target=_blank so that page opens in a new window?
David_SAS
SAS Employee
hreftarget="_blank" in the second style {} use should work.

-- David Kelley, SAS

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 3121 views
  • 1 like
  • 3 in conversation