Overlib and IE issues
I have inherited an multi server application that uses overlib. I'm
new to it, but I understand how to work it for the most part.
Has anyone ever experienced issues with running overlib on IE (6.0,
sp2) stating "Error on Page"? The specific error is IE complaining
about the second parameter sent to the overlib function. The second
parameter can be any of the valid params, it doesn't matter (like
BORDER, or BGCOLOR shown below).
return overlib(`some string', BORDER, 5, etc )
return overlib(`some string', BGCOLOR, `#F5F5F5', etc )
IE says `BGCOLOR' is undefined (or BORDER is undefined)
hints so far...
this never happens with Firefox
happens on IE only so far and intermittently when users first visit
Always follows the second parameter
Appears to go away for good (on that server for that client) once the
user goes to another URL, then hits the back button.
--- In email@example.com, "scswcs" <sean.steg@...> wrote:
Maybe try throwing the variables up top before the script if you are
going to format them all the same of each page.. just this:
<!-- these are the variables for your pop up box we'll set here -->
var ol_bgcolor = "#FFCC66" //sets the color of the box around the picture
var ol_border = "5" //sets the size of that border
var ol_capcolor ="#000000" // sets the font color of the title at the top
var ol_fgcolor = "#000000" // sets a small black box around the
picture so it stands out from the frame
var ol_vauto = "1" // lets the program decide if the picture should
be above or below the link
var ol_hauto = "1"
And then it takes out a lot of syntax errors you might have when
making your links. Might be worth a try.
In case you want to see the whole thing, it's a page I'm working with
a friend on at http://22.214.171.124/what-youll-see/local-fish.asp