Results 1 to 8 of 8

Hybrid View

  1. #1

    Default Javascript slideshow works in Firefox but not IE!!

    Hi, I have been able to set up some slideshows on my website no probem at all, using the Ultimate Fade-in slideshow (v2.1) from DynamicDrive.com.

    It looks great working perfectly in Firefox, but does it work in Internat Explorer? No!!

    If anyone has any ideas at all, I would be extremely appreciative!!

    www.rinatoconstruction.co.uk

    Thanks

  2. #2

    Default Re: Javascript slideshow works in Firefox but not IE!!

    To see one the slideshows of images (or not if you view in IE!!) click on one of the tabs on the left side of the website e.g. Residential Build

    Thanks in advance...

  3. #3

    Default Re: Javascript slideshow works in Firefox but not IE!!

    alas I have solved the problem!!

    It was just a silly little comma in the wrong place. Firefox doesn't seem to care so why is IE so picky?

    Never mind, now it's working may I recommend anyone wanting to use a slideshow of images should use the free code on the Dynamic Drive website. Brilliant!!!

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Javascript slideshow works in Firefox but not IE!!

    Thanks for the update that it was a typo that got you ... hate those silly things ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    May 2009
    Location
    Virginia
    Posts
    101
    Plugin Contributions
    0

    Default Re: Javascript slideshow works in Firefox but not IE!!

    I'm trying to implement the Ultimate Fade-in slideshow (v2.1) from DynamicDrive.com, which was used by the Zenner who started this thread.

  6. #6
    Join Date
    Nov 2009
    Location
    Staffordshire, UK
    Posts
    4
    Plugin Contributions
    0

    Default Re: Javascript slideshow works in Firefox but not IE!!

    Quote Originally Posted by arniesbarmyarmy View Post
    Hi, I have been able to set up some slideshows on my website no probem at all, using the Ultimate Fade-in slideshow (v2.1) from DynamicDrive.com.

    It looks great working perfectly in Firefox, but does it work in Internat Explorer? No!!

    If anyone has any ideas at all, I would be extremely appreciative!!

    www.rinatoconstruction.co.uk

    Thanks
    Has anyone found out how this was done? which files were changed etc

  7. #7

    Default Re: Javascript slideshow works in Firefox but not IE!!

    Ok the error I had was as follows:

    I had put an extra comma in the following place (in red):

    [
    ["http://i26.tinypic.com/11l7ls0.jpg", "", "", "Nothing beats relaxing next to the pool when the weather is hot."],
    ["http://i29.tinypic.com/xp3hns.jpg", "http://en.wikipedia.org/wiki/Cave", "_new", "Some day I'd like to explore these caves!"],
    ["http://i30.tinypic.com/531q3n.jpg"],
    ["http://i31.tinypic.com/119w28m.jpg", "", "", "What a beautiful scene with everything changing colors."],
    ],

    Obviously I just copy and pasted the line for each image and forgot to remove the last comma !!


    For anyone starting from scratch and a bit stuck, the trickiest thing you need to get working is what to do about the js file:

    Rename the fadeslideshow.js to jscript_fadeslideshow.js and upload it to INCLUDES / TEMPLATES / YOUR_TEMPLATE / JSCRIPT.

    This is what you need to do for any js file used anywhere on your site!

    Then don't forget to change the main code (line 3) from:

    Code:
    <script type="text/javascript" src="fadeslideshow.js">
    to:
    Code:
    <script type="text/javascript" src="jscript_fadeslideshow.js">

  8. #8
    Join Date
    May 2009
    Location
    Virginia
    Posts
    101
    Plugin Contributions
    0

    Default Re: Javascript slideshow works in Firefox but not IE!!

    Ok, I put this:
    Code:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
    
    <script type="text/javascript" src="includes/templates/custom/jscript/jscript_fadeslideshow.js">
    
    /***********************************************
    * Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
    ***********************************************/
    
    </script>
    
    <script type="text/javascript">
    
    var mygallery=new fadeSlideShow({
    	wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
    	dimensions: [250, 180], //width/height of gallery in pixels. Should reflect dimensions of largest image
    	imagearray: [
    		["http://i26.tinypic.com/11l7ls0.jpg", "", "", "Nothing beats relaxing next to the pool when the weather is hot."],
    		["http://i29.tinypic.com/xp3hns.jpg", "http://en.wikipedia.org/wiki/Cave", "_new", "Some day I'd like to explore these caves!"],
    		["http://i30.tinypic.com/531q3n.jpg"],
    		["http://i31.tinypic.com/119w28m.jpg", "", "", "What a beautiful scene with everything changing colors."] //<--no trailing comma after very last image element!
    	],
    	displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false},
    	persist: false, //remember last viewed slide and recall within same session?
    	fadeduration: 500, //transition duration (milliseconds)
    	descreveal: "ondemand",
    	togglerid: ""
    })
    
    
    var mygallery2=new fadeSlideShow({
    	wrapperid: "fadeshow2", //ID of blank DIV on page to house Slideshow
    	dimensions: [250, 180], //width/height of gallery in pixels. Should reflect dimensions of largest image
    	imagearray: [
    		["http://i26.tinypic.com/11l7ls0.jpg", "", "", "Nothing beats relaxing next to the pool when the weather is hot."],
    		["http://i29.tinypic.com/xp3hns.jpg", "http://en.wikipedia.org/wiki/Cave", "_new", "Some day I'd like to explore these caves!"],
    		["http://i30.tinypic.com/531q3n.jpg"],
    		["http://i31.tinypic.com/119w28m.jpg", "", "", "What a beautiful scene with everything changing colors."] //<--no trailing comma after very last image element!
    	],
    	displaymode: {type:'manual', pause:2500, cycles:0, wraparound:false},
    	persist: false, //remember last viewed slide and recall within same session?
    	fadeduration: 500, //transition duration (milliseconds)
    	descreveal: "always",
    	togglerid: "fadeshow2toggler"
    })
    
    </script>
    In my html_header.php

    And
    Code:
    <div id="fadeshow1"></div>
    
    <br />
    
    <div id="fadeshow2"></div>
    
    <div id="fadeshow2toggler" style="width:250px; text-align:center; margin-top:10px">
    <a href="#" class="prev"><img src="http://i31.tinypic.com/302rn5v.png" style="border-width:0" /></a>  <span class="status" style="margin:0 50px; font-weight:bold"></span> <a href="#" class="next"><img src="http://i30.tinypic.com/lzkux.png" style="border-width:0" /></a>
    </div>
    in my conditions.php page which I'm using for practice.

    I receive the message: "Error: DIV with ID "fadeshow1" not found on page."

    What's the deal?

 

 

Similar Threads

  1. FCKeditor works in IE, but not in Firefox, since changing servers
    By TonyV in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 10 Dec 2010, 05:32 PM
  2. Downloadable product works in Opera but Not in Firefox
    By iperez_genius in forum General Questions
    Replies: 0
    Last Post: 1 Jul 2010, 06:46 AM
  3. Works Fine In Safari, But Not In Firefox
    By cbird1057 in forum Installing on a Mac Server
    Replies: 0
    Last Post: 30 Mar 2008, 02:44 AM
  4. Text wrap around images on home page not working in IE but works in Firefox
    By GraniteMan44 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 15 Feb 2008, 09:56 PM
  5. Xmasy javascript working in IE7 but not firefox - help
    By sparkyidr in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 10 Dec 2006, 10:11 PM

Posting Permissions

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