logo-dw

Go Back   Dreamweaver Club Forums > Hand Coders Forum > General
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 09-25-2009, 12:35 AM   #1
gigiloumill
gigiloumill's Avatar
 
Join Date: Apr 2009
Location: Miami, FL
Posts: 493
Default pop up

Hi guys, is it possible to open up a link on another page? thanks
gigiloumill is offline   Reply With Quote
Old 09-25-2009, 12:36 AM   #2
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,164
Default

you mean open a pop
up of another page? if so then yes
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote
Old 09-25-2009, 10:12 PM   #3
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 3,276
Default

<a href= "link.html" target="_blank">link</a>
__________________
If my answer helped, check out DWcourse.com for Dreamweaver tips and tutorials.
DWcourse is offline   Reply With Quote
Old 09-26-2009, 02:40 AM   #4
gigiloumill
gigiloumill's Avatar
 
Join Date: Apr 2009
Location: Miami, FL
Posts: 493
Default

thank you......
gigiloumill is offline   Reply With Quote
Old 09-26-2009, 07:25 AM   #5
Corrosive
Corrosive's Avatar
 
Join Date: Feb 2008
Location: Bristol, England
Posts: 7,103
Default

You should really try and use the 'standards' approach as the 'target' attribute of the 'a' tag is no longer recommended. Try this...

http://articles.sitepoint.com/articl...ompliant-world
Corrosive is offline   Reply With Quote
Old 09-26-2009, 01:50 PM   #6
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 3,276
Default

Well, I'm a big supporter of standards but this is one of those cases where the solution is worse than the problem and I'm willing to risk that the target attribute will be supported by browsers, if not standards, for a long time.
__________________
If my answer helped, check out DWcourse.com for Dreamweaver tips and tutorials.
DWcourse is offline   Reply With Quote
Old 09-26-2009, 04:26 PM   #7
domedia
Administrator
domedia's Avatar
 
Join Date: Dec 2003
Posts: 9,730
Default

The problem with the target attribute _blank is more on the usability side.
It's extremely frustrating to CTRL+Click on a tab that has this attribute.
Or when a link open up in a new window when you did not tell it to. Put the user in control and everyone is happy (Except for the client that insists to open links in new windows).

If the client insist, I prefer to display a little icon indicating that a new browser page/tab will be generated, and then use JS to to it instead of the target attribute.
domedia is offline   Reply With Quote
Old 09-26-2009, 09:55 PM   #8
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 3,276
Default

Quote:
Originally Posted by domedia View Post
The problem with the target attribute _blank is more on the usability side.
It's extremely frustrating to CTRL+Click on a tab that has this attribute.
Is that an Explorer issue? I don't have a problem with it in Safari or Firefox (in fact in FF I can set the preferences so the new page opens in a tab by default).
__________________
If my answer helped, check out DWcourse.com for Dreamweaver tips and tutorials.
DWcourse is offline   Reply With Quote
Old 09-26-2009, 09:58 PM   #9
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 3,276
Default

Oh, are you saying that you can't control-click to force the link to open in the same window?
__________________
If my answer helped, check out DWcourse.com for Dreamweaver tips and tutorials.
DWcourse is offline   Reply With Quote
Old 09-27-2009, 04:36 PM   #10
domedia
Administrator
domedia's Avatar
 
Join Date: Dec 2003
Posts: 9,730
Default

It will bring that tab up instead of opening it in the background. Not sure which browser it is..
domedia is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:10 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com