Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunityEverything ElseGeneral Use (Moderators: scott, DanO, Marty)Link and new window in ssi
Pages: [1]   Go Down
Print
Author Topic: Link and new window in ssi  (Read 281 times)
0 Members and 1 Guest are viewing this topic.
mcerchiaro
New Member
*

Karma: 0
Offline Offline

Posts: 0

Asst. Dir. of Development


WWW
« on: January 19, 2005, 01:14:00 PM »

I have a link for one of my calendar events and I have it set to when it shows in the ssi.html you can click on the link to go to that page...BUT it does not open in a new window. How can I get it to open in a new window.

Thanks!

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: January 19, 2005, 04:39:00 PM »

** How can I get it to open in a new window. **

Add target="_blank" to its link code. Eg.

<a href="..." target="_blank">Link Text Here</a>

This link may explain it better:

LINK > HTML Tutorial : HTML Links

Dan O.

------------------

Logged
Shellie
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #2 on: July 06, 2005, 09:59:00 AM »

DanO, I am using your minical template, and I have tried changing the link code to add the target=_blank so that when you click on a day, it opens the events for that day in a new window.  This is what I have done:

<a target="_blank" href="<%= $CGI_URL %>?view=Day&datestring=<%=$YEAR%><%=$MONTH%><%=$linkday%>"><%=$DAY->{'dd'}%></a>

When I view the source on the resulting html page it doesnt even show a target anywhere!

Any ideas?

Logged
Shellie
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #3 on: July 06, 2005, 10:05:00 AM »

Nevermind! I found what I did wrong. ><

I was editing the wrong template...silly me...

Logged
Pages: [1]   Go Up
Print
Jump to: