Different browsers will show different effects depending upon their capabilities. To avoid fatal javascript errors, IE 8 and less require that there be no comma at the end of arrays or objects. Get rid of the red commas:
Code:
var imagesDataArray = [ //For demos, define a single set of images to be used in all of the demos below
{
src: 'images/Friends at the gate-72.jpg',
target: '_blank', // default is _self, which opens in the same window (_blank in new window)
description: 'Friends at the farm gate.'
},
{
src: 'images/pl-1.jpg',
description: 'Peter Lee Master Raku Potter.'
},
{
src: 'images/Sunrise ship at anchor-72.jpg',
description: 'Dawn; a ship at anchor in the bay', //<-- There should be no comma here
},
{
src: 'images/Raku-1.jpg',
description: 'A Raku bowl.'
},
{
src: 'images/Passing an anchored ship-72.jpg',
description: 'Passing an anchored ship at Sunset', //<-- There should be no comma here
}
];
It's not essential, but is recommended that a standards invoking DOCTYPE be added at the beginning of the page:
Code:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="robots" content="noindex,nofollow"/>
<title>ARTISTS SHOWROOM</title>
<script type='text/javascript' src='https://ajax.googl . . .
Bookmarks