PDA

View Full Version : link to new window


marcia
04-13-2011, 12:58 AM
How do I link to a new window (to a new - unrelated - url) without leaving my site (in css) and then have the user return to my site?

Can I do it from the spry menu bar?

DWcourse
04-13-2011, 01:41 AM
To linke to my site :-D in a new window:

<a href="http://www.dwcourse.com" target="_blank">DWcourse.com</a>

rather than using "_blank" as the target you can also give the new window a name:

<a href="http://www.dwcourse.com" target="DWwindow">DWcourse.com</a>

And, as long as the window is still open, you can target it with other links.

marcia
04-14-2011, 11:41 PM
Perfect!!!

Ricky55
04-17-2011, 10:25 AM
Not best practice though best to let the user decide if they want to open a new window or not IMO

marcia
04-17-2011, 06:12 PM
ok. I'll put a note on the link to click if they want to view. Thanks. Guess there will be additional code to incorporate - haven't gotten that far.

marcia
04-17-2011, 06:20 PM
ps. just checked your site - looks nice. I see you used Flash, so I doubt I can get the same same effect. Mine will be less exotic, but it's a start.