![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Target = blank will open a new browser |
|
but how do you open a new small window without all the browser stuff i.e. a little window just for comments etc. etc. |
#3
| |||
| |||
|
|
"Robin Raybould" <rraybould (AT) mindspring (DOT) com> wrote: Target = blank will open a new browser It may, or it may not. First, the browser may disallow that. Second, the defined meaning of target="blank" is not the same as that of target="_blank", which is what you probably mean; see http://www.cs.tut.fi/~jkorpela/www/links.html#js but how do you open a new small window without all the browser stuff i.e. a little window just for comments etc. etc. You don't, in HTML. You could use JavaScript for the purpose. There are two ways to do that: the wrong way, and the very wrong way. The crucial difference is what happens when JavaScript is disabled. And you shouldn't, except in very special circumstances (and everyone thinks his case is very special, but it almost never is). Opening new windows automatically is among the ten most common and most harmful mistakes in Web design, see e.g. http://www.useit.com/alertbox/9605.html -- Yucca, http://www.cs.tut.fi/~jkorpela/ Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html |
#4
| ||||||
| ||||||
|
|
Thanks for this |
|
I take your point about clutter etc but |
|
what I wanted was just very small boxes on an academic text intensive site which would give the reader who cared a little extra information - like a foot note |
|
I have no java knowledge at all; |
|
in fact very little html ! |
|
Where can I can get code for the little box! |
#5
| |||
| |||
|
|
Target = blank will open a new browser but how do you open a new small window without all the browser stuff i.e. a little window just for comments etc. etc. Thanks for help in advance. rraybould (AT) camrax (DOT) com (beware spamblocker) Just enter 'pop-up windows' into Google and you'll get pointers to quite |
#6
| |||
| |||
|
|
Target = blank will open a new browser but how do you open a new small window without all the browser stuff i.e. a little window just for comments etc. etc. Try this |
#7
| |||
| |||
|
|
Try this A HREF="javascript:void(0)" ONCLICK="open( 'sample2.htm','miniwin','toolbar=0,location=0,dire ctories=0,status=0,menubar =0,scrollbars=0,resizable=0,width=300,height=300') " Open A Window</A NOTE change the name sample2.htm into into the file to be opened, you can also change the values of width and height. regards Robert |
#8
| |||
| |||
|
|
A HREF="javascript:void(0)" ONCLICK="open( 'sample2.htm','miniwin','toolbar=0,location=0,dire ctories=0,status=0,menubar =0,scrollbars=0,resizable=0,width=300,height=300') " Open A Window</A |
#9
| |||
| |||
|
|
Norbtach wrote: A HREF="javascript:void(0)" ONCLICK="open( 'sample2.htm','miniwin','toolbar=0,location=0,dire ctories=0,status=0,menubar =0,scrollbars=0,resizable=0,width=300,height=300') " Open A Window</A I see you don't like google, or anyone with JavaScript disabled to be able to access the document. You should at least use: a href="sample2.html" ...>...</a You should also be aware that, even when JS is enabled, such functions may fail to open a new window and, depeding on the user agent configuration, may open a new tab or even just replace the current window like a regular link. That's what my browser does, I find it excessively annoying when an author decides I want a new window, since I usually don't. The only problem with that is that some websites require the new window to function properly (which is the author's fault), in which case I usually leave and find a site that does work for me. -- Lachlan Hunt http://lachy.id.au/ http://GetFirefox.com/ Rediscover the Web http://GetThunderbird.com/ Reclaim your Inbox |
#10
| |||
| |||
|
|
My answer is a just what was asked: target=_blank in a small window. Regards Robert "Lachlan Hunt" <spam.my.gspot (AT) gmail (DOT) com> wrote in message news:42188e39$0$10077$5a62ac22 (AT) per-qv1-newsreader-01 (DOT) iinet.net.au... Norbtach wrote: A HREF="javascript:void(0)" ONCLICK="open( 'sample2.htm','miniwin','toolbar=0,location=0,dire ctories=0,status=0,menubar =0,scrollbars=0,resizable=0,width=300,height=300') " Open A Window</A I see you don't like google, or anyone with JavaScript disabled to be able to access the document. You should at least use: a href="sample2.html" ...>...</a You should also be aware that, even when JS is enabled, such functions may fail to open a new window and, depeding on the user agent configuration, may open a new tab or even just replace the current window like a regular link. That's what my browser does, I find it excessively annoying when an author decides I want a new window, since I usually don't. The only problem with that is that some websites require the new window to function properly (which is the author's fault), in which case I usually leave and find a site that does work for me. -- Lachlan Hunt http://lachy.id.au/ http://GetFirefox.com/ Rediscover the Web http://GetThunderbird.com/ Reclaim your Inbox |
opup(page.html)>![]() |
| Thread Tools | |
| Display Modes | |
| |