Go Back   Velocity Reviews > Newsgroups > HTML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

HTML - New window question - unrelated to previous

 
Thread Tools Search this Thread
Old 12-01-2004, 04:47 PM   #1
Default New window question - unrelated to previous


To give some background first, and hopefully avoid yet again being classed
as an idiot... I know some of my questions may seem very basic, but I need
so rarely need to use JavaScript, CSS (and even HTML) that I don't really
have the opportunity to build up a solid core of knowledge -

I am responsible for administration of a link resolver in an academic
library. This means that many of our subscribed databases include a link to
our resolver on their pages. When users click this link, it opens a new,
popup window displaying the results of our link resolver. This is standard
and expected behaviour of link resolvers, to open in popup windows, and is
largely controlled from the database end.

However, one of our databases insists on opening the results of our link
resolver in the current window - which means that users invariably click on
the "close" button to close the window - and hence lose all the search
results etc that they've accumlated in that database.

I need to force this link resolver window to open in a new window. Of
course it would be easiest to have this happening at the database end, but
they are not being very cooperative. So we need to work around this and
insert the code into our link resolver window. I thought I could perhaps do
this by naming the window via onload, as below. But this isn't working.

Can anyone suggest an alternative? Below is the relevant bit of code.

</HEAD>
<BODY onload="window.focus();name=winname">




BernieH
  Reply With Quote
Old 12-01-2004, 07:28 PM   #2
Noozer
 
Posts: n/a
Default Re: New window question - unrelated to previous


"BernieH" <> wrote in message
news:1Bmrd.235$...
> To give some background first, and hopefully avoid yet again being classed
> as an idiot... I know some of my questions may seem very basic, but I need
> so rarely need to use JavaScript, CSS (and even HTML) that I don't really
> have the opportunity to build up a solid core of knowledge -
>
> I am responsible for administration of a link resolver in an academic
> library. This means that many of our subscribed databases include a link

to
> our resolver on their pages. When users click this link, it opens a new,
> popup window displaying the results of our link resolver. This is standard
> and expected behaviour of link resolvers, to open in popup windows, and is
> largely controlled from the database end.


Easy... Fix the OTHER resolvers so none of them open new windows.

If users want a new window they can hold SHIFT when they click their link
(assuming IE here).


  Reply With Quote
Old 12-02-2004, 02:19 AM   #3
Travis Newbury
 
Posts: n/a
Default Re: New window question - unrelated to previous

In article <ZXord.405560$%k.208919@pd7tw2no>, says...
> Easy... Fix the OTHER resolvers so none of them open new windows.
> If users want a new window they can hold SHIFT when they click their link
> (assuming IE here).


Yea, good suggestion...
--
-=*Tn*=-
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump