Re: [IUG] Length of pverify input boxes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I tried using the javascript to shorten the pverify input boxes -- it
didn't have any effect. I tried putting it in different places (within
the form in different places, outside the form in different places), but
still no effect.
Andrew, has this worked for you? And you're using the tokens,
<!--{name}--> and <!--{barcode}--> ?? If yes and yes, where *exactly*
did you put the javascript?
Thanks! Vicki
<script language="JavaScript" type="text/javascript">
if (!getElementsByName) {}
else {
var name = document.getElementsByName('name');
var code = document.getElementsByName('code');
name.size = "24";
code.size = "24";
}
</script>
-------------------------------------------------------
From: "Welch, Andrew" <AWelch at auroragov dot org>
Subject: Re: [IUG] Length of pverify input boxes
------------------------
Put this between script tags at the end of your pverify form. Change the "24" to whatever size you want them to be:
if (!getElementsByName) {}
else {
var name = document.getElementsByName('name');
var code = document.getElementsByName('code');
name.size = "24";
code.size = "24";
}
Andrew Welch
Sr. Library Systems Technician
Aurora Public Library
Aurora, CO 80012
http://auroralibrary.org/
-----Original Message-----
From: innopac-bounces at innopacusers dot org on behalf of Vicki Lonell Hain
Sent: Tue 8/19/2008 7:49 PM
To: innopac list
Subject: [IUG] Length of pverify input boxes
Hello all,
I noticed that the default system (token-ized) input boxes on the WAM
login page (pverify2) are shorter than on the other login pages
(pverify, pverify3, etc..) I like the shorter length of these input
boxes better, but so far I haven't been able to find a way to control
the length.
Here are examples -- note the shorter input box length on the WAM page:
WAM (pverify2): http://tinyurl.com/6n82tz
Plain old pverify: http://catalog.chapelhillpubliclibrary.org/patroninfo
If I code these input boxes instead of using the tokens, the Name and
Barcode values aren't carried over if you need to create a new PIN. So
apparently the tokens have to be used.
Does anybody know if I can control the length of "token-ized" pverify
input boxes, in particular that long barcode input box we've got? Any
thoughts greatly appreciated!
Thanks! Vicki
-------------------------
Vicki Lonell Hain
Chapel Hill Public Library
Chapel Hill, NC
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---