![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 1 Pomógł: 0 Dołączył: 13.03.2010 Ostrzeżenie: (0%) ![]() ![]() |
Simple Gallery - prosta galeria wyświetla się bardzo dobrze w czterech przeglądarkach pod Linuksem, pod Win7 na virtualboksie wyświetla się dobrze we wszystkich - oprócz IE8 i IE7 pod XP. Pod Win7 dostałam komunikat błędu:
Kod Wiadomość: 'imagearray[...].0' jest pusty lub nie jest obiektem Wiersz: 34 Znak: 3 Kod: 0 Identyfikator URI: http://paulinamilewicz.pl/js/simplegallery.js Fragment kodu: Kod function simpleGallery(settingarg){ this.setting=settingarg settingarg=null var setting=this.setting setting.panelheight=(parseInt(setting.navpanelheight)>5)? parseInt(setting.navpanelheight) : parseInt(simpleGallery_navpanel.panel.height) setting.fadeduration=parseInt(setting.fadeduration) setting.curimage=(setting.persist)? simpleGallery.routines.getCookie("gallery-"+setting.wrapperid) : 0 setting.curimage=setting.curimage || 0 //account for curimage being null if cookie is empty setting.ispaused=!setting.autoplay[0] //ispaused reflects current state of gallery, autoplay[0] indicates whether gallery is set to auto play setting.currentstep=0 //keep track of # of slides slideshow has gone through setting.totalsteps=setting.imagearray.length*setting.autoplay[2] //Total steps limit: # of images x # of user specified cycles setting.fglayer=0, setting.bglayer=1 //index of active and background layer (switches after each change of slide) setting.oninit=setting.oninit || function(){} setting.onslide=setting.onslide || function(){} var preloadimages=[], longestdesc=null //preload images setting.longestdesc="" //get longest description of all slides. If no desciptions defined, variable contains "" for (var i=0; i<setting.imagearray.length; i++){ preloadimages[i]=new Image() preloadimages[i].src=setting.imagearray[i][0] if (setting.imagearray[i][3] && setting.imagearray[i][3].length>setting.longestdesc.length) setting.longestdesc=setting.imagearray[i][3] } Chodzi o: "preloadimages[i]=src=setting.imagearray[i][0]" Adres strony: www.paulinamilewicz.pl - galeria jest na stronie "wejściowej". Ponieważ zupełnie nie wiem, na czym to polega - bardzo proszę o podpowiedź. Inne galerie (w "Portfolio") otwierają się dobrze. Ten post edytował barja 13.03.2010, 21:42:41 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 24.08.2025 - 00:02 |