Results 1 to 3 of 3

Thread: How does Ultimate Fade-in slideshow (v2.4) work with Go Daddy Website Tonight?

  1. #1
    Join Date
    Aug 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How does Ultimate Fade-in slideshow (v2.4) work with Go Daddy Website Tonight?

    Hi all, trying to get Ultimate Fade-in slideshow (v2.4) to work in Go Daddy Website Tonight template system.

    There are 2 parts to the code: STEP 1 for header, STEP 2 for HTML.

    http://www.dynamicdrive.com/dynamici...nslideshow.htm

    Website Tonight allows for 4 things:
    1. A place to put Javascript in header section
    2. A place to put Javascript in body section (if it needs to load on page load)
    3. A Javascript script inserter in a page block
    4. An HTML editor in a page block

    The questions are:
    1. Where does the script in STEPS 1 and 2 go in the Website Tonight system, as described above?
    2. Where are the image file paths edited? Only in Step 1?

    You must be familiar with Website Tonight to know these details. Any help would be greatly appeciated, thanks!

    Mike

  2. #2
    Join Date
    May 2012
    Location
    Hitchhiking the Galaxy
    Posts
    1,013
    Thanks
    46
    Thanked 139 Times in 139 Posts
    Blog Entries
    1

    Default

    I'm not exactly familiar with the system, but I doubt many people on this site use website builders.
    1. From what it looks like, you're fine with steps one and two, and as the instructions say, you add JavaScript to the head, and the HTML into the body. However, we run into trouble when you have to link the javascriot file, as I don't know if you can upload files with the website and link them, if you can, that's great, but if you can't you may need to put the JavaScript into the head, I don't know I'd this will work however, but only do this if you can't upload it with the website

    2. The paths of the images are defined within the javascriot that you originally put in the head under image array.
    Code:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    
    <script type="text/javascript" src="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>
    "Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program." - Linus Torvalds
    Anime Views Forums
    Bernie

  3. #3
    Join Date
    Aug 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Bernie, if I copy and paste the script out of the JS file, does it replace anything above, or does it go before or after it, in the header section? I can't upload the JS file to the site, all I can do is enter HEAD javascript text and/or put in a "script box" wherever I want it, that would include the JS file content in an HTML block on the page.

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
  •