Cojafoji
May 1st, 2009, 12:19 PM
Hey all,
Having a problem with a bit of CSS on a web program I'm running. It's basically just a picture that won't display in IE or Opera, but does display in FF Safari...
This is the CSS controller
.Sponsor #ImageControl {
height: 250px;
width: 100%;
padding-left: 4px;
padding-right: 4px;
background-image: url(http://fls.mclinc.org/images/teens.jpg);
background-position: top center;
background-color: #000000;
background-repeat: no-repeat;
border-top: black 2px solid;
border-left: black 2px solid;
border-right: black 2px solid;
}
This is how it looks in FF & Safari.
http://img353.imageshack.us/img353/4831/70803968.jpg
This is what it looks like in Opera & IE.
http://img366.imageshack.us/img366/209/37764222.jpg
I've tried everything, from stripping any and all of IE's security settings, thinking that it was something harmful, but it just didn't take...
At a loss here guys, any and all help would be appreciated. Adblock does not effect the outcome.
p0lar_bear
May 1st, 2009, 01:06 PM
Have you tried putting the URL in quotes? IE might be picking up the ); and trying to use it as part of the URL.
thehoodedsmack
May 1st, 2009, 01:11 PM
Have you tried putting the URL in quotes? IE might be picking up the ); and trying to use it as part of the URL.
I think it might be this. I'm using IE right now, and your link is including the ");" Dunno for sure, though. Do what polar suggested; try quotes.
p0lar_bear
May 1st, 2009, 01:18 PM
I think it might be this. I'm using IE right now, and your link is including the ");" Dunno for sure, though. Do what polar suggested; try quotes.
That's a glitch with the forum software, I see that too.
Cojafoji
May 1st, 2009, 09:46 PM
That's a glitch with the forum software, I see that too.
hrm, i'll try that on sunday when i go in. thanks man.
just tried it, no go...
maybe there's something in the code that I'm missing...
<style type="text/css">
a
{
color: #800000;
text-decoration: none
}
a:hover
{
text-decoration: underline
}
</style>
<script language=javascript>
var PasswordMinLength = '4';
var PasswordMaxLength = '12';
var divShow;
var iErrCount;
var sErrMsg;
var originalColor = "";
if (document.layers) {n=1;ie=0;n6=0}
if (document.all) {n=0;ie=1;n6=0}
if (document.getElementById&&!document.all) {n=0;ie=0;n6=1}
var clickmessage="Images are copyrighted. Contact the library for more information.";
function associateimages() {
for(i=0;i<document.images.length;i++)
document.images[i].onmousedown = disableclick;
}
if (document.all) {
document.onmousedown = disableclick;
}
else if (document.getElementById) {
document.onmouseup = disableclick;
}
else if (document.layers) {
associateimages();
}
function clearQuickSearch()
{
for (var i=0; i<document.forms[0].elements.length; i++) {
var e = document.forms[0].elements[i].name;
if (e.indexOf("QuickSearch") != -1)
{
if (document.forms[0].elements[i].type == 'text' || document.forms[0].elements[i].type == 'select-one') {
document.forms[0].elements[i].value = '';
}
else if(document.forms[0].elements[i].type == 'radio') {
document.forms[0].elements[i].checked = false;
}
}
}
}
function clearSearch()
{
for (var i=0; i<document.forms[0].elements.length; i++) {
if (document.forms[0].elements[i].type == 'text' || document.forms[0].elements[i].type == 'select-one') {
document.forms[0].elements[i].value = '';
}
else if(document.forms[0].elements[i].type == 'radio') {
document.forms[0].elements[i].checked = false;
}
}
setPageVar('SearchClear', 'Y');
}
function disableclick(e) {
if (document.all) {
if (event.button == 2 || event.button == 3) {
if (event.srcElement.tagName == "IMG" || event.srcElement.id == "ImageControl"){
alert(clickmessage);
return false;
}
}
}
else if (document.layers) {
if (e.which == 3) {
alert(clickmessage);
return false;
}
}
else if (document.getElementById) {
if (e.which==3 && (e.target.tagName == "IMG" || e.target.id == "ImageControl")){
alert(clickmessage);
return false;
}
}
}
function checkForEnter(sButton)
{
if (window.event && window.event.keyCode == 13)
{
document.getElementById(sButton).click();
}
}
function checkForEnterValidate(sPage)
{
if (window.event && window.event.keyCode == 13)
{
validatePage(sPage);
}
}
function doSearch(searchType)
{
if (window.event && window.event.keyCode == 13)
{
submitSearch(searchType);
}
}
function goBack()
{
var strBack = "programlist.asp?type=manage;";
var strPages = document.forms[0].ReturnPage.value;
if (strPages.indexOf(";") > 0)
{
var arrTemp = strPages.split(";");
strBack = arrTemp[arrTemp.length-2];
}
var strReturn = '';
for(var x=0;x<=arrTemp.length-3;x++)
{
strReturn += arrTemp[x] + ";";
}
if (strBack.indexOf("http:") != -1)
{
window.location.href = strBack;
}
else
{
setPageVar('ReturnPage',strReturn);
document.forms[0].FormAction.value = '';
document.forms[0].action = strBack;
document.forms[0].submit();
}
}
function removeSpaces()
{
if (n == 0) {
iKey = window.event.keyCode;
if (iKey == 32)
window.event.keyCode = 0;
}
}
function setBackColorClass(obj, mode, origClass, highlightClass)
{
if (mode == "selected")
{
// Applying highlight class
obj.setAttribute("id", highlightClass);
}
else
{
// Restoring original class
obj.setAttribute("id", origClass);
}
}
function setFormAction(action)
{
setPageVar('FormAction',action);
document.forms[0].submit();
}
function setMouseCursor(obj)
{
if (ie)
obj.style.cursor = "hand";
else
obj.style.cursor = "pointer";
}
function setPageFocus(sElement)
{
try
{
document.getElementById(sElement).focus();
document.getElementById(sElement).select();
}
catch(e) {
}
}
function setPageVar(sControl, sValue)
{
try
{
document.getElementById(sControl).value = sValue;
}
catch(e) {}
}
function setReturnPage(sValue)
{
document.forms[0].ReturnPage.value += sValue;
}
function setSearchSlider(mode)
{
var divSetting = document.getElementById("divSearchSliderOpen").style.display;
if (mode == 'open')
{
document.getElementById("divSearchSliderOpen").style.display = "block";
document.getElementById("divSearchSliderClosed").style.display = "none";
}
else
{
if (divSetting == "block")
{
document.getElementById("divSearchSliderOpen").style.display = "none";
document.getElementById("divSearchSliderClosed").style.display = "block";
document.forms[0].SearchSliderSetting.value = "0";
}
else
{
document.getElementById("divSearchSliderOpen").style.display = "block";
document.getElementById("divSearchSliderClosed").style.display = "none";
document.forms[0].SearchSliderSetting.value = "1";
}
}
}
function showHomePage(ProgramID, ShowOrder)
{
var hWin = window.open("homepage.asp?ProgramID=" + ProgramID + "&PreviewMode=Y&ShowOrder=" + ShowOrder, "HomePagePreview", "height=600,width=700,top=100,left=100,resizable=ye s,scrollbars=yes");
}
function submitSearch(sSearchType)
{
setPageVar('NewFind', 'NewFind');
setPageVar('SearchType', sSearchType);
document.forms[0].submit();
}
</script>
<script language=javascript>
function signmeup(ProgramID)
{
setPageVar('ProgramID',ProgramID);
document.forms[0].action = 'programregmaint.asp?ReturnPage=homepage.asp?Previ ewMode=;&Mode=New';
document.forms[0].submit();
}
</script>
<script type="text/javascript" src="common/zxml.js"></script>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Free Library of Springfield Township Program Home Page</title>
</head>
<body>
<style type="text/css">
#dek {position:absolute;visibility:hidden;z-index:200;}
</style>
<div id="dek"></div>
<script language=javascript>
Xoffset=-60; // modify these values to ...
Yoffset= 20; // change the popup position.
var old,skn,iex=(document.all),yyy=-1000,ns4=0,ie0,ns6=0
if (document.layers) {ns4=1;ie4=0;ns6=0}
if (document.all) {ns4=0;ie4=1;ns6=0}
if (document.getElementById&&!document.all) {ns4=0;ie4=0;ns6=1}
if (ns4)
skn=document.dek;
else if (ns6)
skn=document.getElementById("dek").style;
else if (ie4)
skn=document.all.dek.style;
if(ns4)document.captureEvents(Event.MOUSEMOVE);
else{
skn.visibility="visible";
skn.display="none";
}
document.onmousemove=get_mouse;
function popup(msg){
var content="<table class='mouseover' border=1 bordercolor=black cellpadding=2 cellspacing=0><td style='text-align:left;'><span style='font-size:x-small;color:black;'>"+msg+"</span></td></table>";
yyy=Yoffset;
if(ns4){skn.document.write(content);skn.document.c lose();skn.visibility="visible"};
if(ns6){document.getElementById("dek").innerHTML=content;skn.display=''};
if(ie4){document.all("dek").innerHTML=content;skn.display=''};
}
function get_mouse(e){
try {
var x=(ns4||ns6)?e.pageX:event.x+document.body.scrollL eft;
skn.left=x+Xoffset;
var y=(ns4||ns6)?e.pageY:event.y+document.body.scrollT op;
skn.top=y+yyy;
}
catch(e) {
}
}
function kill(){
yyy=-1000;
if(ns4){skn.visibility="hidden";}
else if (ns6||ie4)
skn.display="none";
}
</script><style type="text/css">
.teams {display:none;}
.Certificate {
padding-left: 5px;
padding-right: 5px;
padding-top: 5px;
padding-bottom: 5px;
height: auto;
width: 100%;
font-family: arial;
font-size: small;
color: black;
text-align: center;
border-top: black 2px solid;
border-bottom: black 2px solid;
border-right: black 2px solid;
background-color: #F8EB3D;}
.Certificate a {
color: #346993;
line-height: 140%;
font-size: small;
font-weight: bold;
text-decoration: none;}
.Certificate a: link {
color: #346993;
line-height: 140%;
font-size: small;
font-weight: bold;
text-decoration: none;}
.Certificate a: visited {
color: #346993;
line-height: 140%;
font-size: small;
font-weight: bold;
text-decoration: none;}
.Certificate a: hover {
color: #346993;
line-height: 140%;
font-size: small;
font-weight: bold;
text-decoration: underline;}
.Certificate span{
color: black;
width: 100%;
text-align: center;
font-size: small;}
.Certificate #button {
border-color: silver;
color: #346993;
background-color: white;
font-family: arial;
font-weight: bold;}
.content {
color: black;
text-align: center;
font-family: Arial;
font-size: small;}
.Events #EventsTitle{
color: white;
font-size: medium;
font-weight: bold;}
.Events #EventsList{
text-align: left;
overflow: auto;
height: 200px;
width: 100%;
background-color: white;
border-bottom: black 1px solid;}
.Events #eventtitlelabel{
float: left;
width: 100px;
color: black;
font-size: small;
font-weight: bold;}
.Events #eventtitle{
color: black;
font-size: small;}
.Events #eventlink{
color: #800000;
font-size: small;}
.Events #eventdatelabel{
float: left;
width: 100px;
color: black;
font-size: small;
font-weight: bold;}
.Events #eventdate{
color: black;
font-size: small;}
.Events #eventtimelabel{
float: left;
width: 100px;
color: black;
font-size: small;
font-weight: bold;}
.Events #eventtime{
color: black;
font-size: small;}
.Events #eventenddatelabel{
float: left;
width: 100px;
color: black;
font-size: small;
font-weight: bold;}
.Events #eventenddate{
color: black;
font-size: small;}
.Events #eventdescriptionlabel{
float: left;
width: 100px;
color: black;
font-size: small;
font-weight: bold;}
.Events #eventdescription{
color: black;
font-size: small;}
.Events #eventlocationlabel{
float: left;
width: 100px;
color: black;
font-size: small;
font-weight: bold;}
.Events #eventlocation{
color: black;
font-size: small;}
.Events #eventlibrarylabel{
float: left;
width: 100px;
color: black;
font-size: small;
font-weight: bold;}
.Events #eventlibrary{
color: black;
font-size: small;}
.Events #eventspacer{}
.Footer #FooterText{
width: 100%;
height: 50px;
padding-top: 15px;
border-bottom: black 2px solid;
border-left: black 2px solid;
border-right: black 2px solid;
padding-left: 4px;
padding-right: 4px;
color: black;
font-family: arial;
font-size: small;
text-align: center;
background-color: white;}
.Footer #ImageControl {
height: 150px;
width: 100%;
padding-left: 4px;
padding-right: 4px;
/*background-image: url(http://evanced.info/file.jpg);*/
background-position: top center;
background-color: transparent;
background-repeat: no-repeat;
border-bottom: black 2px solid;
border-left: black 2px solid;
border-right: black 2px solid;
display:none;}
.Links {
width: 34%;
padding-left: 5px;
padding-right: 5px;
padding-top: 5px;
padding-bottom: 5px;
font-family: arial;
font-size: small;
color: white;
vertical-align: top;
text-align: center;
line-height: 140%;
border-top: black 2px solid;
border-bottom: black 2px solid;
border-left: black 2px solid;
border-right: black 2px solid;
background-color: #C41B22;}
.Links a {
color: #F8EB3D;
font-size: small;
text-decoration: none;}
.Links a: link {
color: #F8EB3D;
font-size: small;
text-decoration: none;}
.Links a: visited {
color: #F8EB3D;
font-size: small;
text-decoration: none;}
.Links a: hover {
color: #F8EB3D;
font-size: small;
font-weight: bold;
text-decoration: underline;}
.Links span {
color: white;
font-size: medium;
font-weight: bold;}
.Links #ImageControl{
height: 100px;
width: 100%;
/*background-image: url(http://evanced.info/file.jpg);*/
background-position: top center;
background-color: transparent;
background-repeat: no-repeat;
background-color: white;
display:none;}
.Log {
padding-left: 5px;
padding-right: 5px;
padding-top: 5px;
padding-bottom: 5px;
height: auto;
width: 100%;
font-family: arial;
font-size: small;
color: white;
text-align: center;
line-height: 120%;
border-top: black 2px solid;
border-bottom: black 2px solid;
border-right: black 2px solid;
background-color: #346993;
z-index: 2;}
.Log span {
color: white;
line-height: 150%;
font-size: medium;
font-weight: bold;}
.Log td {
color: white;
font-size: small;
font-weight: normal;
font-style: normal;}
.Log #button {
border-color: black;
color: black;
background-color: white;
font-family: arial;
font-weight: bold;}
.Message {
padding-left: 5px;
padding-right: 5px;
padding-top: 5px;
padding-bottom: 5px;
height: auto;
width: 100%;
font-family: arial;
font-size: small;
color: white;
font-weight: bold;
text-align: center;
border-bottom: black 2px solid;
border-right: black 2px solid;
background-color: #A6BF4A;}
.Message span {
color: white;
line-height: 110%;
font-size: medium;
font-weight: bold;}
.Message #button {
border-color: black;
color: black;
background-color: white;
font-family: arial;
font-weight: bold;}
.mouseover {
background-color: white;}
.Prize {
padding-left: 5px;
padding-right: 5px;
padding-top: 5px;
padding-bottom: 5px;
height: auto;
width: 100%;
font-family: arial;
font-size: small;
line-height: 120%;
color: black;
text-align: center;
border-top: black 2px solid;
border-bottom: black 2px solid;
border-right: black 2px solid;
background-color: white;}
.Prize a {
color: #346993;
line-height: 140%;
font-size: small;
font-weight: bold;
text-decoration: none;}
.Prize a: link {
color: #346993;
line-height: 140%;
font-size: small;
font-weight: bold;
text-decoration: none;}
.Prize a: visited {
color: #346993;
line-height: 140%;
font-size: small;
font-weight: bold;
text-decoration: none;}
.Prize a: hover {
color: #346993;
line-height: 140%;
font-size: small;
font-weight: bold;
text-decoration: underline;}
.Prize #button {
border-color: black;
color: black;
background-color: white;
font-family: arial;
font-weight: bold;}
.Review {
padding-left: 5px;
padding-right: 5px;
padding-top: 5px;
padding-bottom: 5px;
height: auto;
width: 100%;
font-family: arial;
font-size: small;
line-height: 120%;
color: white;
text-align: center;
border-bottom: black 2px solid;
border-right: black 2px solid;
background-color: #EBA142;}
.Review span {
color: white;
line-height: 110%;
font-size: medium;
font-weight: bold;}
.Review #button {
border-color: black;
color: black;
background-color: white;
font-family: arial;
font-weight: bold;}
.Review #GeneralLabel {
color: black;
font-size: x-small;
font-weight: bold;}
.Review #GeneralText {
color: black;
font-size: x-small;
font-weight: normal;}
.Review #ReviewBlock {
margin-left: 5px;
margin-right: 5px;
text-align: left;
background-color: white;
border: black 1px solid;}
.Review #ReviewFieldAuthor {}
.Review #ReviewFieldCustomStip1 {}
.Review #ReviewFieldCustomStip2 {}
.Review #ReviewFieldCustomStip3 {}
.Review #ReviewFieldCustomStip4 {}
.Review #ReviewFieldCustomStip5 {}
.Review #ReviewFieldCustomStip6 {}
.Review #ReviewFieldGenre {}
.Review #ReviewFieldISBN {}
.Review #ReviewFieldRating {}
.Review #ReviewFieldReview {}
.Review #ReviewFieldTitle {}
.Review #ReviewImage {
position: relative;
float: left;
border-style: none;}
.Review #ReviewLink {
color: #800000;}
.Review #ReviewSpacer {
height: 20px;}
.Review #ReviewText {
color: black;
font-size: x-small;
font-weight: normal;}
.Review #StaticText {
width: 100%;
text-align: center;
font-weight: bold;}
.selTab {
color: white;
background-color: #366ECD;
font-family: arial;
font-size: small;
font-weight: bold;
text-align: center;
cursor: pointer;}
.Sponsor #ImageControl {
height: 250px;
width: 100%;
padding-left: 4px;
padding-right: 4px;
background-image: url(http://fls.mclinc.org/images/children.jpg);
background-position: top center;
background-color: #e6ff32;
background-repeat: no-repeat;
border-top: black 2px solid;
border-left: black 2px solid;
border-right: black 2px solid;}
.Sponsor #SponsorText{
width: 100%;
height: 50px;
padding-top: 30px;
border-bottom: black 2px solid;
border-left: black 2px solid;
border-right: black 2px solid;
padding-left: 4px;
padding-right: 4px;
color: black;
font-family: arial;
font-size: small;
text-align: center;
background-color: white;
display: none;}
.tab {
color: white;
background-color: #C41B22;
font-family: arial;
font-size: small;
text-align: center;
cursor: pointer;}
.title span {
color: black;
font-size: large;
font-weight: bold;}
body {
link: #800000;
vlink: #660099;
font-family: arial;
text-decoration: none;
background-image: url(../../images/music.png);}
table.TabBackground {
background-color: white;}
table.TabRowWidth {
width: 500;}
td.BlankCellCenter {
width: 10%;}
td.BlankCellDefault {
width: 100%;}
td.PageSeparator {
display: none;}
td.SecondColumn {
width: 36%;
text-align: left;
vertical-align: top;}
#divLanguageSelection {
position:absolute;
left:80%;
top:0px;
z-index:99;}
</style>
<link rel="stylesheet" type="text/css" href="common/niftyCorners.css">
<link rel="stylesheet" type="text/css" href="common/niftyPrint.css" media="print">
<script type="text/javascript" src="common/nifty.js"></script>
<script language=javascript>
function doProgramSelect(programID)
{
setPageVar('ProgramID', programID);
document.forms[0].submit();
}
window.onload=function()
{
if(!NiftyCheck())
return;
var tabCnt = document.forms[0].TabCnt.value;
var tabID;
for (var x=0; x <= tabCnt; x++)
{
tabID = "div#t" + x;
Rounded(tabID,"top","white","transparent","border #000000");
}
}
</script>
<form id='HomePage' name='HomePage' method="post" action="homepage.asp" onsubmit="javascript: return doLoginCheck();">
<input id='PreviewMode' name='PreviewMode' type=hidden value=''>
<input id='ShowOrder' name='ShowOrder' type=hidden value=''>
<input id='StyleName' name='StyleName' type=hidden value=''>
<input id='LibName' name='LibName' type=hidden value='Free Library of Springfield Township'>
<table style='width:100%;' cellpadding=0 cellspacing=0 border=0>
<tr>
<td colspan=4>
<div class="title">
<table style='width:100%;' cellpadding=0 cellspacing=0 border=0 ID="Table2">
<tr>
<td class="BlankCellCenter" nowrap> </td>
<td>
<table border='0' style='width:100%;'><tr><td style='text-align:center;width:10%;'> </td><td style='text-align:center;width:80%;'><span>FLS Summer Reading Clubs</span></td><td style='text-align:center;width:10%;'> </td></tr></table>
</td>
<td class="BlankCellCenter" style="text-align:left;" nowrap>
</td>
</tr>
</table>
</div>
<div class="content">
Welcome to the Free Library of Springfield Township's Summer Reading Club website. Click on the Kids or Teens tab to register, and begin earning prizes!<br><br>
</div>
</td>
</tr>
<tr>
<td colspan=4>
<table cellpadding=0 cellspacing=0 align=left width=100% id="Table1">
<tr>
<td style="width:20%;"> </td>
<td id=middleCell>
<table cellpadding=0 cellspacing=0 width=100% ID="Table2" style='width:500;'>
<tr>
<td class=selTab id=t0 nowrap onclick="javascript:location.href='homepage.asp?ProgramID=7&PreviewMode=&StyleName=';"
onmouseover="popup('Be Creative Summer Reading Club (Kids)<br><br>Welcome to the Free Library of Springfield Township\'s Summer Reading Club for kids. Children from birth through entering 5th grade are eligible to participate. This year\'s theme is Be Creative @ your library. It\'s fun and easy! Read whatever you want all summer long, record your minutes and earn prizes. ');" onmouseout="kill();"> Be Creative (Kids) </td>
<td style='width:1px;' nowrap></td>
<td class=tab id=t1 nowrap onclick="javascript:location.href='homepage.asp?ProgramID=3&PreviewMode=&StyleName=';"
onmouseover="popup('Express Yourself Summer Reading Club<br><br>Welcome to the Free Library of Springfield Township\'s Summer Reading Club for teens. This year\'s theme is Express Yourself @ your library. It\'s fun and easy to participate! Read whatever you want all summer long and earn prizes by recording and rating the titles of what you\'ve read in your personal online reading log.');" onmouseout="kill();"> Express Yourself (Teens) </td>
<td style='width:1px;' nowrap></td>
</tr>
</table>
</td>
<td style="width:20%;"> </td>
</tr>
</table>
<br>
<style type="text/css">
#middleCell
{
text-align:center;
}
</style>
<style type="text/css">
td.PageSeparator
{
display:none;
}
</style>
<input id='ProgramID' name='ProgramID' type=hidden value='7'>
<input id='ParentProgramID' name='ParentProgramID' type=hidden value=''>
<input id='TabCnt' name='TabCnt' type=hidden value='1'>
</td>
</tr>
<tr>
<td></td>
<td colspan=2 class="Sponsor">
<div id=ImageControl></div>
<div id=SponsorText>
</div>
</td>
<td></td>
</tr>
<tr>
<td class="BlankCellCenter"> </td>
<td class="Links">
<div id="ImageControl"></div>
<span>Cool Links<br></span>
<a target='_blank' href='http://fls.mclinc.org'>Free Library of Springfield Township</a><br><a target='_blank' href='http://fls.mclinc.org/news.shtml'>Library News & Programs</a><br><a target='_blank' href='http://spica.mclinc.org/polaris/default.aspx?ctx=20.1033.0.0.2'>Library Catalog</a><br>
</td>
<td class="SecondColumn">
<div class="Log" >
<input id='FormAction' name='FormAction' type='hidden' value=''>
<input id='CurrentUser' name='CurrentUser' type='hidden' value=''>
<script language=javascript>
var PatronIDCheck = '';
function addMember()
{
var hWin = window.open("patronprogramsel.asp?Ttype=family&ParentProgramID=&PageLangID=6&PreviewMode=&StyleName=", "MemberReg", "height=300,width=500,top=100,left=100,menubar=no,r esizable=yes,scrollbars=yes");
}
function doProgramSelection()
{
var hWin = window.open('patronprogramsel.asp?PageLangID=6&PreviewMode=&StyleName=', 'Recall', 'height=300,width=500,top=100,left=100,menubar=no, resizable=yes,scrollbars=yes');
}
function doRSSSelection()
{
var hWin = window.open('rssselection.asp?ProgramID=7&PageLangID=6&PreviewMode=&StyleName=', 'RSSSelection', 'height=300,width=800,top=100,left=100,menubar=no, resizable=yes,scrollbars=yes');
}
function manageMember(patronID)
{
setPageVar('CurrentUser', patronID);
document.forms[0].submit();
}
function navigateHome()
{
setFormAction('GoHome');
}
</script>
<input id='LoginSetting' name='LoginSetting' type='hidden' value='1'>
<input id='ProgramPasswordDisabled' name='ProgramPasswordDisabled' type='hidden' value='0'>
<input id='ProgramGroupPasswordDisabled' name='ProgramGroupPasswordDisabled' type='hidden' value='0'>
<script language=javascript>
function doLoginCheck()
{
var libCardEntry;
var userNameEntry;
try {
userNameEntry = document.forms[0].username.value;
}
catch(e) {
userNameEntry = '';
}
try {
libCardEntry = document.forms[0].libcardno.value;
}
catch(e) {
libCardEntry = '';
}
if (userNameEntry != '' || libCardEntry != '') {
var UrlPath = 'ajaxcall.asp?command=checkresetpassword&username=' + userNameEntry + '&libcardno=' + libCardEntry + '&ts=5/1/2009 11:05:24 PM';
var oXmlHttp = zXmlHttp.createRequest();
oXmlHttp.open('get', UrlPath, true);
oXmlHttp.onreadystatechange = function () {
if (oXmlHttp.readyState == 4) {
PatronIDCheck = oXmlHttp.responseText;
if (PatronIDCheck != '0') {
var hWin = window.open('changepassword.asp?FormAction=ResetPa ssword&ParentRefresh=Y&ProgramID=7&PatronID=' + PatronIDCheck + '&PageLangID=6', 'ResetPassword', 'modal=yes,height=300,width=500,top=100,left=100,s tatus=no,resizable=yes,scrollbars=no');
}
}
};
oXmlHttp.send(null);
}
else
{
PatronIDCheck = '0';
}
setTimeout('doValidation()',500);
return false;
}
function doValidation()
{
var retVal = true;
if (PatronIDCheck != '0')
{
retVal = false;
}
else
{
if (document.forms[0].username.value == '' && retVal)
{
window.alert("Please enter your user name.");
document.forms[0].username.focus();
retVal = false;
}
if (document.forms[0].password.value == '' && retVal)
{
window.alert("Please enter your password.");
document.forms[0].password.focus();
retVal = false;
}
}
if(retVal)
document.forms[0].submit();
}
</script>
If you have previously registered for a program, enter your user name and password and click on the <b>Login</b> button. New users click on the <b>Sign Me Up</b> button.<table style='width:100%;' border='0' cellspacing='0' cellpadding='0'>
<tr><td height='35' valign='center' colspan='2' style='text-align:center;'><input id='button' name='newpatron' type='button' value='Sign Me Up' onclick="signmeup('7');" tabindex=4> <input id='button' name='Home' type='button' value='Home' onclick='navigateHome();' tabindex=5></td>
</tr>
</table>
<input id='ProgramSelect' name='ProgramSelect' type='hidden' value=''>
<script language=javascript>
</script>
<input id='txtNothing' name='txtNothing' type='text' size='1' style='visibility:hidden;'>
<table style='width:100%;' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td style='text-align:right;width:30%;'><label for="username">User Name </label></td>
<td style='width:70%;'><input id='username' name='username' type='text' value='' tabindex=1></td>
</tr>
<tr>
<td style='text-align:right;width:30%;'><label for="password">Password </label></td>
<td style='width:70%;'><input id='password' name='password' type='password' tabindex=2></td>
</tr>
<input id=AuthenticatePatron name=AuthenticatePatron type=hidden value=0>
</table>
<table style='width:100%;' border='0' cellspacing='0' cellpadding='0'>
<tr><td height='35' valign='center' colspan='2' style='text-align:center;'><input id='button' value='Login' type='submit' tabindex=3> <input id='pwcheck' name='pwcheck' type='hidden' value='Login'></td>
</tr>
</table>
</div>
<div class="Message">
<span>Important Messages<br></span>
</div>
<div class="Review">
<script language=javascript>
function submitReview(ProgramID, PatronID, PageLangID)
{
var hWin = window.open("submitreview.asp?ProgramID=" + ProgramID + "&PatronID=" + PatronID + "&PageLangID=" + PageLangID + "&PreviewMode=&StyleName=", "SubmitReview", "height=500,width=600,top=100,left=100,resizable=ye s,scrollbars=yes");
}
function viewReviews(ProgramID, PageLangID)
{
var hWin = window.open("viewreviews.asp?ProgramID=" + ProgramID + "&PageLangID=" + PageLangID + "&PreviewMode=&StyleName=&Clear=Y", "ViewReviews", "height=650,width=700,top=100,left=100,resizable=ye s,scrollbars=yes");
}
</script>
<span>Reviews</span><br><br><div id='ReviewBlock'><div id='ReviewFieldTitle'><span id='GeneralLabel'>Title:</span> <span id='GeneralText'>Diary of a wombat</span></div><div id='ReviewFieldAuthor'><span id='GeneralLabel'>Author:</span> <span id='GeneralText'>Jackie French</span></div><div id='ReviewFieldReview'><span id='GeneralLabel'>Review:</span> <span id='ReviewText'>Loved it! Made mom read it twice !!</span></div><div id='ReviewFieldRating'><span id='GeneralLabel'>Rating:</span> <span id='GeneralText'>5=Awesome</span></div><div style='clear: both;'></div></div><div id='ReviewSpacer'></div><span style='text-align:center;'><input id='button' name='btnAllReview' type='button' value='View All Reviews' onclick='javascript:viewReviews(7,6);'>
</span>
</div>
</td>
<td class="BlankCellCenter"> </td>
</tr>
<tr>
<td> </td>
<td colspan=2 class="Footer">
<div id=ImageControl></div>
<div id=FooterText>
</div>
</td>
</tr>
<script language="JavaScript" type="text/javascript">
checkCookies();
function checkCookies()
{
// CHECK IF COOKIES ARE ENABLED
var exp = new Date();
exp.setTime(exp.getTime() + 1800000);
// first write a test cookie
setCookie("cookies", "cookies", exp, false, false, false);
if (document.cookie.indexOf('cookies') == -1) {
alert('Your browser does not have cookies enabled. Please enable cookies in your browser preferences before attempting to register or log in.');
}
// now delete the test cookie
exp = new Date();
exp.setTime(exp.getTime() - 1800000);
setCookie("cookies", "cookies", exp, false, false, false);
function setCookie(name, value, expires, path, domain, secure) {
var curCookie = name + "=" + escape(value) +
((expires) ? "; expires=" + expires.toGMTString() : "") +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
((secure) ? "; secure" : "");
document.cookie = curCookie;
}
}
</script>
</table>
</form>
<script language=javascript>
try {
document.forms[0].username.focus();
}
catch (e) {
try {
document.forms[0].libcardno.focus();
}
catch (e) {
}
}
</script>
</body>
</html>
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.