Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2011
    Thanked 0 Times in 0 Posts

    Help me with this coding please!!?

    Help me with this coding please!!?

    I've added a web widget in dreamweaver and I can edit the caption in the code but cant add my own pictures.. When I change the 1.jpg to a jpg file in my root directory it does nothing but delete the 1.jpg file. Help please.


    window.addEvent('domready', function(){
    var data = {
    '1.jpg': { caption: 'ccc' },
    '2.jpg': { caption: 'A Ceibu tree.' },
    '3.jpg': { caption: 'The view from Volcano Maderas.' },
    '4.jpg': { caption: 'Beer and ice cream.' },

    var myShow = new Slideshow.KenBurns('show1', data, { captions: true, controller: true, delay: 4000, duration: 1000, height: 300, hu: 'images/', thumbnails: true, width: 400 });


    I read thisin a forum.. but I dont know what it means update the paths??

    The web widget extensions generally require that you go into the code and make any modifications necessary. If there are images that are displayed, then in the code that the extension applies to your page should be paths to the images. Update the paths to point to your images and you should be good to go, and if you need to add more, then you'll need to follow the code to see how to do that.

  • #2
    Senior Coder Spudhead's Avatar
    Join Date
    Jun 2002
    London, UK
    Thanked 110 Times in 109 Posts
    I'm guessing that the hu: 'images/' bit means it's looking in your "images" folder for those jpgs - try putting one in there.


    Posting Permissions

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