SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2009
    Posts
    83
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Continuous Reel Slideshow

    Hey,

    I have two questions:

    1) when you check my page you can see the slideshow not being aligned in the center at all but being left-aligned. Is there a way to nicely center the photos in the frame instead of them being left-aligned? Is this css related (I have set the containing div of my slideshow to float:left)?


    2)I have the script from here. How can I create another slideshow with different pictures? Is this the instance they are talking about - but how can I enter different URL's ?

    Thank you in advance,
    ajajajak

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,729
    Mentioned
    104 Post(s)
    Tagged
    4 Thread(s)
    Removing the plattegrond.css stylesheet fixes the centering problem of the reel.

    The problem is that you have a CSS declaration that forces ALL images to be floated left. That's what's causing your problem.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  3. #3
    SitePoint Enthusiast
    Join Date
    Oct 2009
    Posts
    83
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, thank you.

    If someone could also answer my second question

  4. #4
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,729
    Mentioned
    104 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by Ajajajak View Post
    Ok, thank you.

    If someone could also answer my second question
    1. View the source code for the demo page.
    2. Scroll down to the script code

    There you will see how.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


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
  •