Results 1 to 8 of 8

Thread: Can someone Help me position a slideshow?

  1. #1
    Join Date
    Jul 2008
    Posts
    11
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Can someone Help me position a slideshow?

    Hey, so i'm using the Ultimate Sideshow code for a layout. On the page, theres a code to center it, but is there another way i can position it if i don't want it in the center? Because i want it to be sorta at the top of my layout. I'm not very good at coding, so can someone help?

  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

    Ufade (as I often call it) is a complex amalgam of script generated markup. However, the outermost part of it is just a division element with the height and width (plus 2 times the border, if any) you specify in the call as its dimensions. So - say you have:

    Code:
    <script type="text/javascript">
    new fadeshow(fadeimages, 140, 225, 0, 3000, 1, "R")
    </script>
    140 is the width, and 225 is the height, with 0 for the border. So you will have a division 140 x 225. You can then place that in a table cell or anywhere, as long as there is room for it.

    Now, often people are using DW, FP, or another WYSIWYG editor and have trouble relating to what I've just said about divisions and dimensions and things fitting. In a case like that I suggest just using a single image from the slide show. Put it in your page as an ordinary image. Position it however you like and save your page. Then, in the code view or in a text only editor, find the <img . . . tag that corresponds to it, and replace it with the script call for your slide show, example:

    Code:
    <script type="text/javascript">
    new fadeshow(fadeimages, 140, 225, 0, 3000, 1, "R")
    </script>
    In most cases it will work out just fine.
    - John
    ________________________

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

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    pattie1213 (07-05-2008)

  4. #3
    Join Date
    Jul 2008
    Posts
    11
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    so if i have 2 slideshows, i remove the R from the second one?

  5. #4
    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

    Quote Originally Posted by pattie1213 View Post
    so if i have 2 slideshows, i remove the R from the second one?
    If you want it not to be randomized, yes. But that has nothing to do with your original question, and nothing to do with my original answer to it.
    - John
    ________________________

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

  6. #5
    Join Date
    Jul 2008
    Posts
    11
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    yes i know, and thank you for the original answer too, i was just wandering about that too. your awsome

  7. #6
    Join Date
    Jul 2008
    Posts
    11
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    So, this is what it looks like so far.

    http://www.moon.twilight-melody.org/fakeheader.php

    the images are changing at the same time. Is there a way to let it take turns?
    Last edited by pattie1213; 07-05-2008 at 07:20 PM.

  8. #7
    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

    Well the background color isn't working out in FF, I will look into why that is later and get back to you. It is perfect in Opera, and would be perfect in IE if you removed the gamma chunks from your background images. Even without that, it's very close in IE.

    To answer your question though, the interval between images is (highlighted):

    Code:
    <script type="text/javascript">
    new fadeshow(fadeimages2, 238, 147, 0, 3000, 0)
    </script>
    If you change one of those to - say 4000, they would only change at the same time every third time. If that's not good enough, I do have a mod of this script that actually starts the slide shows at staggered intervals. With that, they could have the same change interval, yet never fade at the same time.

    If you are interested in that, see (it's a long thread, I don't get into the 'stagger' feature right away):

    http://www.dynamicdrive.com/forums/s...ead.php?t=9450

    Demo:

    http://home.comcast.net/~jscheuer1/s...e_startall.htm
    - John
    ________________________

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

  9. #8
    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

    I just rechecked in FF and it looks fine now in that browser. Also, I'm seeing that in IE, the slightly off color caused by the gamma chunks of the background images actually looks good due to the slight contrast it provides. So, other than nailing down your preference for the timing on the two slide shows, I'd say you are well on your way.
    - John
    ________________________

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

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
  •