473,549 Members | 3,127 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Make Hyperlink Open a Minimized Window

On my web page, I have a few hyperlinks with target frame of _blank.
The hyperlink brings up a second window, but everytime I click on thie
hperlink, it keeps bringing up a new window and not defaulting the the
first active window. How do I make a hyperlink point to the active
window? I don not want the hyperlink to default to the same page. I do
want a second window but only a second window and not multiple pages.
Jul 20 '05 #1
40 10767
In article <34************ **************@ posting.google. com> in
comp.infosystem s.www.authoring.html, Brian Jorgenson
<bj********@cha rter.net> wrote:
On my web page, I have a few hyperlinks with target frame of _blank.
The hyperlink brings up a second window, but everytime I click on thie
hperlink, it keeps bringing up a new window and not defaulting the the
first active window. How do I make a hyperlink point to the active
window? I don not want the hyperlink to default to the same page. I do
want a second window but only a second window and not multiple pages.


Fist, be aware that a _lot_ of people will regard opening up even
one extra window as an unfriendly act.

That said, don't use target="_blank" , which means "new window". Use
target="BrianJo rgenson" and then if such a window is already open it
will be reused.

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #2
In article <ng************ *************** *****@4ax.com>, me@privacy.net
says...
Brian Jorgenson wrote:
I do
want a second window but only a second window and not multiple pages.


Don't force your preferences on users, they are perfectly capable of
opening a link in a new window if they want to.

Um, actually, many are not. Your average AOLer comes to mind.

John
_______________ _______________ _______________ __
C'est la vie! C'est la guerre! Say no more!
Jul 20 '05 #3
Jane Withnolastname wrote:
I read once (a long time ago, so maybe this advice is outdated) that
when you provide a link to a web site that is not your own, you should
have it open in another window so that the user will always HAVE to
come back to your site.


Making people come back to your site whether they want to or not, sounds
like a sure fire way to annoy former potential customers.

--
David Dorward http://dorward.me.uk/
Jul 20 '05 #4
John wrote:
>I do
>want a second window but only a second window and not multiple pages.


Don't force your preferences on users, they are perfectly capable of
opening a link in a new window if they want to.


Um, actually, many are not. Your average AOLer comes to mind.


Then the default works for them, it doesn't justify trying to force the
author's preference on users.
Headless

--
Email and usenet filter list: http://www.headless.dna.ie/usenet.htm
Jul 20 '05 #5
On Wed, 27 Aug 2003 06:27:28 GMT, Jane Withnolastname
<Ja************ **********@yaho o.com> wrote:
I read once (a long time ago, so maybe this advice is outdated) that
when you provide a link to a web site that is not your own, you should
have it open in another window so that the user will always HAVE to
come back to your site. As I said, this was a long time ago and maybe
this is no longer an accepted (or acceptable) practice.


I'm not certain, but I suspect this of being simply a (widespread)
misunderstandin g. If one uses frames, one should not normally display
someone else's site in a frame - if it looks like you're passing off
their work as your own, it would be copyright infringement. You
therefore need to use a new (empty) frameset. This seems somewhere to
have become "new window".

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #6
In article <gi************ *************** *****@4ax.com> in
comp.infosystem s.www.authoring.html, Stephen Poley
<sb*****@xs4all .nl> wrote:
If one uses frames, one should not normally display
someone else's site in a frame - if it looks like you're passing off
their work as your own, it would be copyright infringement. You
therefore need to use a new (empty) frameset. This seems somewhere to


Just to clarify a bit what (I think) Stephen is saying --

_If_ you are using frames (generally a bad idea in itself, but
that's another story), _and_ you link to an outside site, _then_ the
link should have target="_top" so that you do not appear to be
claiming other people's work as your own by displaying it inside
your frameset.

I don't believe Stephen was suggesting target="_blank" as a way of
getting "a new (empty) frameset".

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #7
On Wed, 27 Aug 2003 08:49:49 -0400, Stan Brown
<th************ @fastmail.fm> wrote:
In article <gi************ *************** *****@4ax.com> in
comp.infosyste ms.www.authoring.html, Stephen Poley
<sb*****@xs4al l.nl> wrote:
If one uses frames, one should not normally display
someone else's site in a frame - if it looks like you're passing off
their work as your own, it would be copyright infringement. You
therefore need to use a new (empty) frameset. This seems somewhere to

Just to clarify a bit what (I think) Stephen is saying --

_If_ you are using frames (generally a bad idea in itself, but
that's another story), _and_ you link to an outside site, _then_ the
link should have target="_top" so that you do not appear to be
claiming other people's work as your own by displaying it inside
your frameset.

I don't believe Stephen was suggesting target="_blank" as a way of
getting "a new (empty) frameset".


Yes, that's basically it. Somehow the target moved ...

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #8
"EightNineThree " <ei************ @REMOVEeightnin ethree.com> wrote in message news:<bi******* ***@ngspool-d02.news.aol.co m>...
"Jane Withnolastname" <Ja************ **********@yaho o.com> wrote in message
news:g7******** *************** *********@4ax.c om...
On Tue, 26 Aug 2003 20:13:05 -0400, Stan Brown
<th************ @fastmail.fm> wrote:
In article <34************ **************@ posting.google. com> in
comp.infosyste ms.www.authoring.html, Brian Jorgenson
<bj********@ch arter.net> wrote:
>On my web page, I have a few hyperlinks with target frame of _blank.
>The hyperlink brings up a second window, but everytime I click on thie
>hperlink, it keeps bringing up a new window and not defaulting the the
>first active window. How do I make a hyperlink point to the active
>window? I don not want the hyperlink to default to the same page. I do
>want a second window but only a second window and not multiple pages.

Fist, be aware that a _lot_ of people will regard opening up even
one extra window as an unfriendly act.


I read once (a long time ago, so maybe this advice is outdated) that
when you provide a link to a web site that is not your own, you should
have it open in another window so that the user will always HAVE to
come back to your site. As I said, this was a long time ago and maybe
this is no longer an accepted (or acceptable) practice.


People tend to think that they can use ' target="_blank" ' to keep people on
their sites.
In reality, it is nothing more than an annoyance. It is just another window
to close.

Try this out:

http://htmlgoodies.earthweb.com/tutors/html_ref.html
Jul 20 '05 #9
Els wrote:
...
Yes, I know I can use the right click and open in a new
window if I want to. But how many regular surfers know that?
no idea - it's not important. when it becomes an issue for them they will
find it. make it a secret and every teenager on the planet will know by
noon tomorow.

To misquote some piece of statistical nonsense "you're only 6 hand-shakes
away from every person on the planet" so start spreading the word - get that
sms-group thing going ;o)
I didn't until I started reading newsgroups about webdesign
and html...


newsgroups are not the only path to enlightenment grasshopper.

--
William Tasso - http://WilliamTasso.com
Jul 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
8940
by: Amir Eshterayeh | last post by:
Dear Friends My asp hyperlink goes to relative address instead of absolute. I like navigate url goes to outsite link like www.asp.net but now, it goes to www.mysite/www.asp.net please help. I create the navigatURL from database dynamically. I see the same question mentioned here but the response is not souitable for me: ...
2
7334
by: Jawahar | last post by:
I am trying to open a new window in two ways 1 - adding javascript to the onclick attribute of an Image button to open a pdf document in a new window as javascrit:window.open('MyPage.aspx',status=1,location=1,resizable=yes,scrollbars=yes) 2 - I am using a HyperLink and using the NagigateUrl property to open a pdf in a new window with the...
9
2853
by: loga123 | last post by:
I am using asp .net 2.0. I have a hyperlink asp control on my web page page1.aspx. On clicking this hyper;link, I would like to open page2.aspx (which is in the same web application) in a new IE window without scrollbars, status bar, tool bar and with specified height and width. Can it be done on "onload" event of the page2.aspx in...
6
2064
by: SAL | last post by:
Hi, VS2005 post I'm opening a window using the following syntax: Protected Sub lbEstValue_Click(ByVal sender As Object, ByVal e As System.EventArgs) Response.Write("<script>window.open('EstValueHelp.aspx','_help', 'width=400,height=400');</script>") End Sub
0
7520
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7446
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7718
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7956
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7470
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6041
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5368
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3498
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
763
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.