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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 2946 views
  • 1 like
  • 3 in conversation