This is a discussion on "open new browser window" within the Web Page Design section. This forum, and the thread "open new browser window are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
open new browser window
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
open new browser window
I have previously been using javascript to open links in new windows of predetermined sizes, scrollbars, etc.
I want to do this, as far as possible, using just html but W3C now tells me that there is no attribute "_target" which seemed the obvious way to go. Can anyone tell me why W3C doesn't like "_target" and what the acceptable alternative is? I have a list of 33 places that need to open in a new window when selected, leaving the original window untouched. Ideally I would like to be able to set the size of the new window. but imagine this isn't achievable w/o using javascript. Any ideas? |
|
|
|
#2
|
|||
|
|||
|
Re: open new browser window
target="_blank" ?
|
|
#3
|
|||
|
|||
|
Re: open new browser window
This was deprecated for accessibility reasons primarily.
It is consider bad form to open up new windows as it can confuse both sighted but less able people and those using assistive technology. |
|
#4
|
|||
|
|||
|
Re: open new browser window
Cheers Chubbs, that's what I meant to say!
Geoff, more bad form from me I'm afraid. So what do you do when you want your viewer to check out another site or short page, and not lose them from your own site or original page? It seems to be standard issue on loads of sites (including this one!). I found a way to open link in a new window and otherwise, if the viewer has disabled javascript , the link opens in the existing window...so I'm going to post this thread on the javascript forum to solve another problem that has arisen. See you there I hope! Thanks |
|
#5
|
|||
|
|||
|
Re: open new browser window
Quote:
That way the users of assistive technology, etc., knows exactly what is happening. Oh, and you make sure your site is worth coming back to. |
![]() |
| Tags |
| new window, target |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Open in a New Browser Window | Berk Bonebonce | Web Page Design | 11 | Feb 10th, 2008 21:35 |
| Change open in new window to open in same window | nsr500rossi | JavaScript Forum | 2 | Jan 18th, 2008 14:13 |
| [SOLVED] open new window from main window | AdRock | Other Programming Languages | 1 | Nov 1st, 2007 02:45 |
| Open Browser Window | Galaxyblue | Web Page Design | 11 | Feb 14th, 2004 18:37 |