RE: [IUG] LOC_<Location Code> wwwoption pop-ups


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hi,

Thanks for all the tips. Everything works well except the fact that Internet
Explorer does not allowed a "chromeless" box to open and will not conform to
the desired window sizes. No big deal, we have another way to handle that.
Mozilla browser poses no such problems.

I also added a javascript time-out that works nicely for those that may
forget to close the window:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Any title</title>
<link rel="stylesheet" type="text/css" href="/screens/sw.css">

<script type="text/javascript" language="JavaScript">
<!-- Hide the JS
function close_it( )
{
window.close();
return false;
}

// Unhide the JS -->
</script>

</head>
<body onLoad="setTimeout('close_it();',60000);"style="margin: 5px; padding:
5px;">
<table width="100%" border="0" cellspacing="0" cellpadding="2"
align="center">

.....

The window will close out after 1 minute. There's also a 'close window'
button. Works in IE & Mozilla.

Jeff.


-----Original Message-----
From: innopac-bounces at innopacusers dot org
[mailto:innopac-bounces at innopacusers dot org] On Behalf Of Gimon, Charles A
Sent: Wednesday, March 22, 2006 10:25 AM
To: IUG INNOPAC List
Subject: RE: [IUG] LOC_<Location Code> wwwoption pop-ups

Several ways to do this in javascript or HTML, no need for outside
intervention.

We do this in our wwwoptions to link location codes to a pop-up window:

LOC_c*=javascript:open('/screens/c.htm','xpop','height=420,width=250,scr
eenX=75,screenY=75,top=75,left=75');location.href=location.href;

You could also sneak in a TARGET attribute like so:

LOC_c*=/screens/c.htm" TARGET="_blank

Note the strategic placement of quotation marks. Since the value in
wwwoptions will be inserted into HREF="", you have to close off the
first set of quotation marks, then leave the second set open, for this
to work.

--Charles Gimon
Web Coordinator
Minneapolis Public Library


-----Original Message-----
From: innopac-bounces at innopacusers dot org
[mailto:innopac-bounces at innopacusers dot org] On Behalf Of Jeff Somerfield
Sent: Wednesday, March 22, 2006 9:04 AM
To: innopac at innopacusers dot org
Subject: [IUG] LOC_<Location Code> wwwoption pop-ups


Hi, all

I am experimenting with the wwwoption LOC_<Location Code> in order to
make the location name in the full record display clickable so that it
takes the patron to an informational screen about that location.

I have set up the wwwoption and the info pages - everything is fine
there. I have seen OPACs where clicking the location name link opens the
info page in a new window. Is this something that III must turn on? I
have checked the documentation, but can find nothing on that. Any tips?

Thanks,

--

Jeff Somerfield, Webmaster/Systems Specialist
Library System of Lancaster County
1866 Colonial Village Lane, Suite 107
Lancaster, PA 17601
717.207.0500 x1272 FAX 717.207.0504


---
[This E-mail scanned for viruses by Declude Virus]

--
This message was distributed through the Innovative Users Group INNOPAC
list Public replies: INNOPAC at innopacusers dot org Update your subscription
options: http://innopacusers.org/mailman/listinfo/innopac

--
This message was distributed through the Innovative Users Group INNOPAC list
Public replies: INNOPAC at innopacusers dot org
Update your subscription options:
http://innopacusers.org/mailman/listinfo/innopac
---
[This E-mail scanned for viruses by Declude Virus]




---
[This E-mail scanned for viruses by Declude Virus]