Results 1 to 4 of 4

Thread: Help with aligning Ultimate Fade script

  1. #1
    Join Date
    Mar 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help with aligning Ultimate Fade script

    1) Script Title: Ultimate Fade Script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nslideshow.htm

    3) Describe problem: Hey Guys, I put this script on my page and it works great, but I'm having some alignment issues. If you go my page you will see (www.raceoptics.net) the pictures fading below my logo/header, when I want them next to the logo/header on the right. I tried playing with my css to correct the problem, but no good. Please help me align them properly. Thank you.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    You may use floats or a table. Looking at your markup, a table would be easiest. The thing is, the slideshow is a division with two nested divisions inside it, all created by the script. A division will cause a line break, unless it is contained in a floated division or in a table cell, ex:

    Code:
    <div align="rotate"><table>
    <tr>
    <td><img src="images/images/images/header_02.gif" width="384" height="213" /><img src="images/images/images/video_03.jpg" width="249" height="212" /></td>
    <td><script type="text/javascript">//new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder) 
    new fadeshow(fadeimages, 407, 213, 0, 3000, 1, "R")</script></td>
    </tr>
    </table>
    </div>
    BTW, I don't believe there is an attribute "rotate", and your markup is fairly non-standard, but seems to work. Also, you are missing MM_preloadImages and its accompanying functions for your image swaps. This results in javascript errors for the page.
    Last edited by jscheuer1; 03-03-2009 at 05:56 AM. Reason: spelling
    - John
    ________________________

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

  3. #3
    Join Date
    Mar 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks jscheuer1,
    That table made it align correctly in IE, but firefox doesn't seem to align them correctly. Can you take a look and tell me what i need to make it align correctly in firefox?
    That "rotate" attribute was a mistake I was making changes to the div.

    thanks again.

  4. #4
    Join Date
    Mar 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    never mind I got it. Thanks for your help.

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
  •