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 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 2542 views
  • 1 like
  • 3 in conversation