Results 1 to 3 of 3

Thread: Simple Gallery and IE7, IE8

  1. #1
    Join Date
    Mar 2010
    Location
    Poland
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Simple Gallery and IE7, IE8

    1) Script Title:
    Simple Gallery [SOLVED]
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...plegallery.htm
    3) Describe problem: IE7 and IE 8:
    Agent użytkownika: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
    Sygnatura czasowa: Sun, 7 Mar 2010 15:11:17 UTC


    Wiadomość: 'imagearray[...].0' jest pusty lub nie jest obiektem
    Wiersz: 34
    Znak: 3
    Kod: 0
    Identyfikator URI: http://paulinamilewicz.pl/js/simplegallery.js
    Excuse me, I do not know English well. Gallery displays fine in all other browsers. Site address:http://paulinamilewicz.pl/.
    Last edited by barja; 03-14-2010 at 05:59 PM. Reason: Solved

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,133
    Thanks
    44
    Thanked 3,231 Times in 3,192 Posts
    Blog Entries
    12

    Default

    There could be other problems, but there can be no comma (red) here:

    Code:
    <script type="text/javascript">
    
    var mygallery=new simpleGallery({
    	wrapperid: "simplegallery1", //ID of main gallery container,
    	dimensions: [700, 501], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
    	imagearray: [
    		["images/img/1.jpg"],
    		["images/img/2.jpg"],
    		["images/img/3.jpg"],
    		["images/img/4.jpg"],
    		["images/img/5.jpg"],
    		["images/img/6.jpg"],
    		["images/img/7.jpg"],
    		["images/img/8.jpg"],
    		["images/img/9.jpg"],
    		["images/img/10.jpg"],
    		["images/img/11.jpg"],
    		
    	],
    	autoplay: [true, 2500, 2], //[auto_play_boolean, delay_btw_slide_millisec, cycles_before_stopping_int]
    	persist: false, //remember last viewed slide and recall within same session?
    	fadeduration: 500, //transition duration (milliseconds)
    	oninit:function(){ //event that fires when gallery has initialized/ ready to run
    		//Keyword "this": references current gallery instance (ie: try this.navigate("play/pause"))
    	},
    	onslide:function(curslide, i){ //event that fires after each slide is shown
    		//Keyword "this": references current gallery instance
    		//curslide: returns DOM reference to current slide's DIV (ie: try alert(curslide.innerHTML)
    		//i: integer reflecting current image within collection being shown (0=1st image, 1=2nd etc)
    	}
    })
    
    </script>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    barja (03-14-2010)

  4. #3
    Join Date
    Mar 2010
    Location
    Poland
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1 View Post
    There could be other problems, but there can be no comma (red) here:

    Code:
    <script type="text/javascript">
    
    var mygallery=new simpleGallery({
    	wrapperid: "simplegallery1", //ID of main gallery container,
    	dimensions: [700, 501], //width/height of gallery in pixels. Should reflect dimensions of the images exactly
    	imagearray: [
    		["images/img/1.jpg"],
    		["images/img/2.jpg"],
    		["images/img/3.jpg"],
    		["images/img/4.jpg"],
    		["images/img/5.jpg"],
    		["images/img/6.jpg"],
    		["images/img/7.jpg"],
    		["images/img/8.jpg"],
    		["images/img/9.jpg"],
    		["images/img/10.jpg"],
    		["images/img/11.jpg"],
    		
    	],
    	autoplay: [true, 2500, 2], //[auto_play_boolean, delay_btw_slide_millisec, cycles_before_stopping_int]
    	persist: false, //remember last viewed slide and recall within same session?
    	fadeduration: 500, //transition duration (milliseconds)
    	oninit:function(){ //event that fires when gallery has initialized/ ready to run
    		//Keyword "this": references current gallery instance (ie: try this.navigate("play/pause"))
    	},
    	onslide:function(curslide, i){ //event that fires after each slide is shown
    		//Keyword "this": references current gallery instance
    		//curslide: returns DOM reference to current slide's DIV (ie: try alert(curslide.innerHTML)
    		//i: integer reflecting current image within collection being shown (0=1st image, 1=2nd etc)
    	}
    })
    
    </script>
    Yes, it is just that! The time now is OK. Thank you very much.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •