Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 7 of 7
  1. #1
    Member ravage's Avatar
    Join Date
    Apr 2011
    Posts
    92
    Member #
    27355
    Liked
    2 times
    this is how the innerfade is defined:

    <script type="text/javascript">
    $(document).ready(
    function(){

    $('ul#flash').innerfade({
    animationtype: 'slide',
    speed: 5000,
    timeout: 10000,
    type: 'sequence',
    containerheight: 'auto'
    });

    });
    </script>

    this is where its called:

    <div id="contentBoxMiddle">
    <ul id="flash">
    <?php require_once('indexPhotos.php'); ?>
    </ul>
    </div>

    this is how it's styled:

    div#flash {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 300px;
    height: 250px;
    overflow: hidden;
    }

    div#flash ul li{
    position: aboslute;
    top: 0px;
    left: 0px;
    list-style-type: none;
    }

    ------------------------------
    i'm testing in IE 9 and chrome 16 and the following problems persists in both. i don't think the css is being called correctly because the slideshow doesn't appear within the container "contentMiddleBox" and when the page first loads the initial picture in the slideshow has a bullet next to it (this disappears once the slideshow transitions to the second image and does not appear again as long as the page is not reloaded). this bullet appears despite having included "list-style-type: none;".

    anyone see what i'm doing wrong that the slideshow isn't being style as desired?

  2.  

  3. #2
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    What's the code for indexPhotos.php? that's what you're calling into the flash div and it could easily be the culprit.

    Also, try styling the whole list instead of just the links:
    div#flash ul [S]li[/S]{
    position: aboslute;
    top: 0px;
    left: 0px;
    list-style-type: none;
    }
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  4. #3
    Member ravage's Avatar
    Join Date
    Apr 2011
    Posts
    92
    Member #
    27355
    Liked
    2 times
    alphamare: i tried styling the whole list as you suggested above. i still get the same issue. the content in indexPhotos.php is as follows:

    <li><img src="../img/random/1.jpg" width="300" height="250" alt="" /></li>
    <li><img src="../img/random/3.jpg" width="300" height="250" alt="" /></li>
    <li><img src="../img/random/4.jpg" width="300" height="250" alt="" /></li>
    <li><img src="../img/random/5.jpg" width="300" height="250" alt="" /></li>

  5. #4
    Member ravage's Avatar
    Join Date
    Apr 2011
    Posts
    92
    Member #
    27355
    Liked
    2 times
    this is the styling for the container that i'm trying to get the slideshow to work in. the style and placement for THIS container works fine, just fyi.

    div#contentBoxMiddle{
    position: absolute;
    top: 180px;
    left: 310px;
    width: 300px;
    height: 250px;
    margin: 30px 50px;
    background-color:#ffffff;
    border: 1px solid black;
    }

  6. #5
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    OK -remember that
    1. absolute positioning takes the element out of the flow of the page and keeps it wherever you position it on the page,
    2. CSS is read from the top down.
    If you have an absolute position for your div#contentBoxMiddle, and then later in the CSS you have a different one for div#flash, the last one will overwrite the first one.

    this is your code:
    <div id="contentBoxMiddle"> This is positioned absolutely from the top of the page 180px, left 310px.
    <ul id="flash">This is positioned absolutely from the top of the page (not from the top of the containing element) at top 0, left 0.
    <?php require_once('indexPhotos.php'); ?>
    </ul>
    </div>

    div#contentBoxMiddle{
    position: absolute;
    top: 180px;
    left: 310px;
    width: 300px;
    height: 250px;
    margin: 30px 50px;
    background-color:#ffffff;
    border: 1px solid black;
    }

    div#flash ul li{
    position: aboslute;
    top: 0px;
    left: 0px;
    list-style-type: none;
    }

    Try removing the absolute positioning for everything inside the div#contentBoxmiddle and see what happens.
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  7. #6
    Member ravage's Avatar
    Join Date
    Apr 2011
    Posts
    92
    Member #
    27355
    Liked
    2 times
    Quote Originally Posted by AlphaMare, post: 227428
    OK -remember that
    1. absolute positioning takes the element out of the flow of the page and keeps it wherever you position it on the page,
    2. CSS is read from the top down.
    If you have an absolute position for your div#contentBoxMiddle, and then later in the CSS you have a different one for div#flash, the last one will overwrite the first one.

    this is your code:
    <div id="contentBoxMiddle"> This is positioned absolutely from the top of the page 180px, left 310px.
    <ul id="flash">This is positioned absolutely from the top of the page (not from the top of the containing element) at top 0, left 0.
    <?php require_once('indexPhotos.php'); ?>
    </ul>
    </div>

    div#contentBoxMiddle{
    position: absolute;
    top: 180px;
    left: 310px;
    width: 300px;
    height: 250px;
    margin: 30px 50px;
    background-color:#ffffff;
    border: 1px solid black;
    }

    div#flash ul li{
    position: aboslute;
    top: 0px;
    left: 0px;
    list-style-type: none;
    }

    Try removing the absolute positioning for everything inside the div#contentBoxmiddle and see what happens.
    removing the absolute positioning for everything inside the "contentBoxMiddle" does not correct the issue:

    div#contentBoxMiddle{
    position: absolute;
    top: 180px;
    left: 310px;
    width: 300px;
    height: 250px;
    margin: 30px 50px;
    background-color:#ffffff;
    border: 1px solid black;
    }

    div#flash {
    width: 300px;
    height: 250px;
    overflow: hidden;
    }

    div#flash ul li{
    list-style-type: none;
    }

    the positioning issue aside, even though I have list-style-type set to 'none' i'm still getting a black bullet next to the picture which makes me think something is interfering with the css.

    i've set up a test site: http://extranet.receats.comwhere this issue can be viewed.

  8. #7
    Member ravage's Avatar
    Join Date
    Apr 2011
    Posts
    92
    Member #
    27355
    Liked
    2 times
    i should note. the bullet disappears after the slideshow transitions to the second picture and remains away.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 07:54 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com