Page 3 of 3 FirstFirst 123
Results 21 to 24 of 24

Thread: Can you put 2 slideshows on the same page

  1. #21
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    John, the missing images thing was not intentional. I fixed it.
    Your last demo is working fine as far as I can see.

  2. #22
    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

    Thanks for the vote of confidence Arie. My demo has an issue in that, if you dismiss the descriptions, and then get them back, their auto height adjustment no longer works as intended. Also, once you dismiss them, the button for bringing them back (restore button) gets stuck in whatever location it was in, regardless of how wide or narrow the images are in subsequent slides. I think I can address both of those fairly easily. I'm also noticing today that the change in width of the descriptions could be smoother perhaps.

    I think what you're saying about overriding style is flawed*. However, the script originally (a long time ago) allowed the user to configure the background as part of the options. I'm not sure why DD removed that. I guess he just liked black? Or he got tired of people trying to make it transparent? No idea really. I think it should be left out of the script entirely, so that it's easily controlled in the stylesheet without needing the !important keyword.


    * It's true - your example with the body. But that's different. That's javascript overriding inline style, javascript always wins that battle as long as it executes after the browser has parsed the inline style. But the reason why .gallerylayer !important overrides don't work with this script is that it's also the wrapper div. so there are three divs that have the black background. One wrapper, which is accessed via it's id and the two layers, accessible via their common class name:

    Code:
    #fadeshow1, #fadeshow1 .gallerylayer {
    	background-color: transparent !important;
    	transition: opacity 2.5s;
    }
    These cannot be overridden using the sort of javascript that the Ultimate Fade-In script uses**. But again, ideally I would say that it should have no background in the script. The user should be free to set that in the css without needing the !important keyword.


    ** They can be overridden with a subsequent !important keyword declaration in a javascript created and inserted (or simply in a normal) stylesheet, or by accessing the sheet via javascript and removing or changing the declarations, and perhaps by injecting an !important declaration inline via javascript. But U-Fade doesn't do any of that.
    Last edited by jscheuer1; 03-31-2017 at 03:15 PM.
    - 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:

    molendijk (03-31-2017)

  4. #23
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default

    Yes, of course, inline styles are overridden by javascript executing after those styles have been parsed. Thanks, I didn't think about that.
    I entirely agree that the background specifications should be removed from the script.

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

    OK, I'm getting closer. Still some issues - not sure if I can put my finger on what they are yet - mostly involved with what happens when the page is resized, the captions can detach from the images. Oh, and still am using customization instead of options, but haven't tested how well the code will respond if the options/customizations I'm not using are employed and/or mixed logically for what's wanted. Might be better on that front than I fear.

    In any case I'll be updating the demo shortly. You may have to clear the cache to notice any difference, assuming you did see the issues I mentioned before.
    - John
    ________________________

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

Similar Threads

  1. Two Swiss Army Slideshows in one .aspx page
    By mmfarmani in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 07-08-2012, 07:13 AM
  2. Two image slideshows on one page
    By Missouri Missing in forum Looking for such a script or service
    Replies: 0
    Last Post: 10-07-2008, 09:35 PM
  3. Two Vertical Slideshows on one page??
    By Antiquexplorer in forum Looking for such a script or service
    Replies: 2
    Last Post: 08-08-2008, 06:56 AM
  4. Dual Slideshows with alignment on one page
    By rcourt64 in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 02-02-2005, 01:43 PM
  5. Multiple slideshows on same page
    By senator in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 09-13-2004, 06:28 PM

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
  •