Zhuchina
12-09-2010, 09:06 PM
1) Script Title: Simple Controls Gallery v1.3
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/simplegallery.htm
3) Describe problem:
I configured several galleries and uploaded on server
(http:// seaphotos.lawandsea.net/1_seaphotos_index.html (http://seaphotos.lawandsea.net/1_seaphotos_index.html)), all works OK in FF 3.6.12, but in IE 8 only first page displays gallery, all other pages display just white field. Because I have many galleries I made one small modification to coding offered by DD: I collected all styles below:
#simplegallery1{ //CSS for Simple Gallery Example 1
position: relative; /*keep this intact*/
visibility: hidden; /*keep this intact*/
border: 10px solid darkred;
}
#simplegallery1 .gallerydesctext{ //CSS for description DIV of Example 1 (if defined)
text-align: left;
padding: 2px 5px;
}
in one css file and for every new gallery I made its own CSS rule in this css file, i.e. #simplegallery1, #Seascapes_Main, #Seasunsets_Main, etc. - do not think it affect gallery performance in any way. In IE 8 only one array, on home page (http:// seaphotos.lawandsea.net/1_seaphotos_index.html (http://seaphotos.lawandsea.net/1_seaphotos_index.html)) is displaying gallery. Array in question (below) stops working in IE 8 even if one line added or removed:(:
imagearray: [
["images/MainMenu/seascapes_menu.jpg", "5_seaphotos_Seascapes.html", "", ""],
["images/MainMenu/seasunsets_menu.jpg", "6_seaphotos_Sunsets.html", "", ""],
["images/MainMenu/ships_menu.jpg", "7_seaphotos_Ships.html", "", ""],
["images/MainMenu/harbours_menu.jpg", "8_seaphotos_Harbours.html", "", ""]
],
Please assist.:confused:
Please also clarify whether only
var mygallery=new simpleGallery mygallery must be unique, i.e. mygallery1, mygallery2, mygallery3, etc but wrapperid: "simplegallery1", - ID of main gallery container can be the same (e.g. simplegallery1) for all galleries. :confused:
Many, many thanks in advance.
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/simplegallery.htm
3) Describe problem:
I configured several galleries and uploaded on server
(http:// seaphotos.lawandsea.net/1_seaphotos_index.html (http://seaphotos.lawandsea.net/1_seaphotos_index.html)), all works OK in FF 3.6.12, but in IE 8 only first page displays gallery, all other pages display just white field. Because I have many galleries I made one small modification to coding offered by DD: I collected all styles below:
#simplegallery1{ //CSS for Simple Gallery Example 1
position: relative; /*keep this intact*/
visibility: hidden; /*keep this intact*/
border: 10px solid darkred;
}
#simplegallery1 .gallerydesctext{ //CSS for description DIV of Example 1 (if defined)
text-align: left;
padding: 2px 5px;
}
in one css file and for every new gallery I made its own CSS rule in this css file, i.e. #simplegallery1, #Seascapes_Main, #Seasunsets_Main, etc. - do not think it affect gallery performance in any way. In IE 8 only one array, on home page (http:// seaphotos.lawandsea.net/1_seaphotos_index.html (http://seaphotos.lawandsea.net/1_seaphotos_index.html)) is displaying gallery. Array in question (below) stops working in IE 8 even if one line added or removed:(:
imagearray: [
["images/MainMenu/seascapes_menu.jpg", "5_seaphotos_Seascapes.html", "", ""],
["images/MainMenu/seasunsets_menu.jpg", "6_seaphotos_Sunsets.html", "", ""],
["images/MainMenu/ships_menu.jpg", "7_seaphotos_Ships.html", "", ""],
["images/MainMenu/harbours_menu.jpg", "8_seaphotos_Harbours.html", "", ""]
],
Please assist.:confused:
Please also clarify whether only
var mygallery=new simpleGallery mygallery must be unique, i.e. mygallery1, mygallery2, mygallery3, etc but wrapperid: "simplegallery1", - ID of main gallery container can be the same (e.g. simplegallery1) for all galleries. :confused:
Many, many thanks in advance.