Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Opening new window without Javascript

Reply
Thread Tools

Opening new window without Javascript

 
 
Chris
Guest
Posts: n/a
 
      06-21-2004
I'd like to have a link that opens a new window. I'm trying to avoid using
Javascript. Using the syntax <a href="mypage.htm" target="_blank"> works,
but it doesn't let me set the size of the window, turn off toolbars, etc. I
know that I can do this using the Javascript window.open() method, but
again, I'd like to avoid it so we can handle users who have Javascript
turned off. Is there any solution?


 
Reply With Quote
 
 
 
 
Hywel
Guest
Posts: n/a
 
      06-21-2004
In article <40d72816$>, Chris says...
> I'd like to have a link that opens a new window. I'm trying to avoid using
> Javascript. Using the syntax <a href="mypage.htm" target="_blank"> works,
> but it doesn't let me set the size of the window, turn off toolbars, etc. I
> know that I can do this using the Javascript window.open() method, but
> again, I'd like to avoid it so we can handle users who have Javascript
> turned off. Is there any solution?


Nope.

--
Hywel

Big Brother Petition - Better TV Wanted!
http://www.petitiononline.com/BBFlood/
 
Reply With Quote
 
 
 
 
Leif K-Brooks
Guest
Posts: n/a
 
      06-21-2004
Chris wrote:
> I'd like to have a link that opens a new window.


Generally a bad idea. If I want to open something seperately, I'll
middle-click the link which will cause it to open in a new tab. If I
want it to replace the current page, I'll be very annoyed if your page
forces me to open it in a new window. Problems are even worse for users
who don't even know that a new window has been opened, and just know
that their back button has suddenly broken.

In summary, there's no good reason to force *your* preferences on *my*
browser. Let me decide if I want a link opened in a the same window, a
new window, a new tab, or somewhere on the moon.
 
Reply With Quote
 
Karl Groves
Guest
Posts: n/a
 
      06-21-2004

"Chris" <> wrote in message
news:40d72816$...
> I'd like to have a link that opens a new window. I'm trying to avoid using
> Javascript. Using the syntax <a href="mypage.htm" target="_blank"> works,
> but it doesn't let me set the size of the window, turn off toolbars, etc.

I
> know that I can do this using the Javascript window.open() method, but
> again, I'd like to avoid it so we can handle users who have Javascript
> turned off. Is there any solution?


Patient: "Doctor, it hurts when I do this"
Doctor: "So don't do that"

Your users don't want new windows.

-Karl


 
Reply With Quote
 
Whitecrest
Guest
Posts: n/a
 
      06-21-2004
In article <cb7a6e$80b$>,
says...
> Your users don't want new windows.


You don't know that.

--
Whitecrest Entertainment
www.whitecrestent.com
 
Reply With Quote
 
Whitecrest
Guest
Posts: n/a
 
      06-21-2004
In article <40d72816$>, says...
> I'd like to have a link that opens a new window. I'm trying to avoid using
> Javascript. Using the syntax <a href="mypage.htm" target="_blank"> works,
> but it doesn't let me set the size of the window, turn off toolbars, etc. I
> know that I can do this using the Javascript window.open() method, but
> again, I'd like to avoid it so we can handle users who have Javascript
> turned off. Is there any solution?


no
--
Whitecrest Entertainment
www.whitecrestent.com
 
Reply With Quote
 
Whitecrest
Guest
Posts: n/a
 
      06-21-2004
In article <>,
says...
> In summary, there's no good reason to force *your* preferences on *my*
> browser. Let me decide if I want a link opened in a the same window, a
> new window, a new tab, or somewhere on the moon.


But you not wanting me to force my preferences on you is actually you
forcing your preferences (of not wanting me to code it that way) on me.
What a catch 22
--
Whitecrest Entertainment
www.whitecrestent.com
 
Reply With Quote
 
DU
Guest
Posts: n/a
 
      06-21-2004
Chris wrote:
> I'd like to have a link that opens a new window. I'm trying to avoid using
> Javascript. Using the syntax <a href="mypage.htm" target="_blank"> works,
> but it doesn't let me set the size of the window, turn off toolbars, etc. I
> know that I can do this using the Javascript window.open() method, but
> again, I'd like to avoid it so we can handle users who have Javascript
> turned off. Is there any solution?
>
>


I'm actually using a browser window with all the toolbars (navigation
toolbar, location bar, statusbar, etc), rendering a verticall scrollbar
when content overflow window dimensions, the window can be resized by
myself, etc.. I just don't understand why looking at your page would
require me to remove these so that it would suit you, so that you could
impose your viewing prefs on me. That is beyond my understanding.

DU
 
Reply With Quote
 
Deryck
Guest
Posts: n/a
 
      06-21-2004

"Chris" <> wrote in message
news:40d72816$...
> I'd like to have a link that opens a new window. I'm trying to avoid using
> Javascript. Using the syntax <a href="mypage.htm" target="_blank"> works,
> but it doesn't let me set the size of the window, turn off toolbars, etc.

I
> know that I can do this using the Javascript window.open() method, but
> again, I'd like to avoid it so we can handle users who have Javascript
> turned off. Is there any solution?
>
>


Didnt the group have this discussion in 'target="_blank" in netscape'
yesterday?

Deryck


 
Reply With Quote
 
Mark Parnell
Guest
Posts: n/a
 
      06-21-2004
On Mon, 21 Jun 2004 14:58:24 -0400, Whitecrest
<> declared in alt.html:

> But you not wanting me to force my preferences on you is actually you
> forcing your preferences (of not wanting me to code it that way) on me.


Exactly. The user's preferences always overrides the author's, since
it's the user who will actually be using the site. Hence the name,
"user".

--
Mark Parnell
http://www.clarkecomputers.com.au
 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening new browser window without toolbars Uriah Piddle ASP .Net 3 11-10-2006 09:20 PM
Opening a new browser window to a specific size without the menu bar and address window. UJ ASP .Net 2 06-27-2005 08:21 PM
Problems with opening new window without scrollbar and toolbar and with smaller size and width Jerry Manner HTML 2 05-30-2005 03:27 PM
Opening a new page (i.e., spawning new IE window) via JavaScript kills the Session variable? POL8985 ASP .Net 1 01-31-2005 04:05 PM
open a new window without javascript and without hyperlink Dan ASP .Net 8 11-24-2004 08:10 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57