I have a few hundred popups that I am trying to change to a "lightbox" style solution:
Code:
<!DOCTYPE html>
<html>
<head>
<title>Test 1</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script>
<script src="../../js/jquery.colorbox-min.js"></script>
<link rel="stylesheet" href="../../css/colorbox5.css" media="screen">
<script src="../../js/ssm.js" type="text/javascript"></script>
<script src="../../js/ssmitems3a.js" type="text/javascript"></script>
<link rel="stylesheet" href="../../css/ssmitems.css" type="text/css">
<script>
$(document).ready(function(){
$("a[rel='tip']").colorbox();
});
</script>
</head>
</script>
<body>
<a rel="tip" href="tip1(AC)2.html"><img border="0" src="../../img/tipani1.gif" width="50" height="74"></a>
</body>
</html>
The new colorbox popup solution works well, but in some browsers - notably IE - it conflicts with the SIDE MENU routine I use.
I think the menu is old code, but it works.
However, to get the new "lightbox-style" popup to work in IE, I have to include <!DOCTYPE html>.
In the other browsers, omitting the declaration apparently solves the conflict problem (but I feel it ought to be there).
I really don't know what to do. Tinker with the side menu code?
Here is a demo with the <!DOCTYPE html> declaration:
http://www.aapress.com.au/ieltsonlin...conflict1.html
...and without it:
http://www.aapress.com.au/ieltsonlin...conflict2.html
I have tried with a full declaration but it makes no difference at all. And further reading online suggests <!DOCTYPE html> is OK.
Does anyone spot a reason for the conflict?