Options

Release Notes 2/15

2»

Comments

  • Options
    {JT}{JT} Registered Users Posts: 1,016 Major grins
    edited February 16, 2006
    Actually - the lightbox has an initial height of 100%; and it works in IE for me :)

    I love your site, but there is SO much customizing it would take a week to figure out.

    As for the loading... bug, that should be fixed today though.
    Kewl changes.... but...

    Lightbox under IE6.0 does not work (for me at least).
    Try to go to this gallery:
    http://www.streetsofboston.com/gallery/1198812

    Then click on a picture. The lightbox should come up. It does not. Instead, just the scrollbars on the browser (<body>'s scrollbars) disappear.

    When dynamically execute this CSS (using Web Accessibility Toolbar):
    #lightBoxStage
    {
    height: 1000px;
    width: 1000px;
    }
    then the lightbox does show up with a height and width of 1000px.
    It seems that the lightbox has an initial size of 0 and doesn't show up.

    Could this be fixed please. <img src="https://us.v-cdn.net/6029383/emoji/thumb.gif&quot; border="0" alt="" >
    It all works fine under FireFox (1.5)
  • Options
    flyingdutchieflyingdutchie Registered Users Posts: 1,286 Major grins
    edited February 16, 2006
    {JT} wrote:
    Actually - the lightbox has an initial height of 100%; and it works in IE for me :)

    I love your site, but there is SO much customizing it would take a week to figure out.

    As for the loading... bug, that should be fixed today though.

    So, how can i make it (lightbox) work under my site for IE6 ?... strange then it works fine for FireFox I remember it worked before for IE6...

    I did not customize any of the lightbox stuff or related items. Any idea why height: 100% and width: 100% would not work? But height: 1000px and width: 1000px works fine. What is the parent-node/element of the lightbox? Maybe that one is too small.
    I can't grasp the notion of time.

    When I hear the earth will melt into the sun,
    in two billion years,
    all I can think is:
        "Will that be on a Monday?"
    ==========================
    http://www.streetsofboston.com
    http://blog.antonspaans.com
  • Options
    {JT}{JT} Registered Users Posts: 1,016 Major grins
    edited February 16, 2006
    I set HTML and BODY to be height: 100%, so it should cascade down to yours unless you override it somehow ...

    So, how can i make it (lightbox) work under my site for IE6 ?... strange then it works fine for FireFox I remember it worked before for IE6...

    I did not customize any of the lightbox stuff or related items. Any idea why height: 100% and width: 100% would not work? But height: 1000px and width: 1000px works fine. What is the parent-node/element of the lightbox? Maybe that one is too small.
  • Options
    flyingdutchieflyingdutchie Registered Users Posts: 1,286 Major grins
    edited February 16, 2006
    {JT} wrote:
    I set HTML and BODY to be height: 100%, so it should cascade down to yours unless you override it somehow ...
    Thanks. I'll try that!
    I can't grasp the notion of time.

    When I hear the earth will melt into the sun,
    in two billion years,
    all I can think is:
        "Will that be on a Monday?"
    ==========================
    http://www.streetsofboston.com
    http://blog.antonspaans.com
  • Options
    flyingdutchieflyingdutchie Registered Users Posts: 1,286 Major grins
    edited February 16, 2006
    Found a solution for disappearing light-box
    {JT} wrote:
    I set HTML and BODY to be height: 100%, so it should cascade down to yours unless you override it somehow ...

    I tried your suggestion, but it did not work (setting all widht and height to 100%). I even tried messing with #footer_wrapper... but that made things worse :D

    But this works. It makes sure the lightbox is always visible by tying its width and height to the body's width and height. Here is the CSS that does that. Maybe other people may find this usefull too:
    #lightBoxStage {
    _width: expression(document.body.clientWidth+"px");
    _height: expression(document.body.clientHeight+"px");
    }

    Ye-aih!thumb.gif
    I can't grasp the notion of time.

    When I hear the earth will melt into the sun,
    in two billion years,
    all I can think is:
        "Will that be on a Monday?"
    ==========================
    http://www.streetsofboston.com
    http://blog.antonspaans.com
  • Options
    {JT}{JT} Registered Users Posts: 1,016 Major grins
    edited February 17, 2006
    Yeah, I gotta say that IE use of expressions in CSS is pretty neato. We use it for a few things to get around some of IE's shortcomings :)
    I tried your suggestion, but it did not work (setting all widht and height to 100%). I even tried messing with #footer_wrapper... but that made things worse :D

    But this works. It makes sure the lightbox is always visible by tying its width and height to the body's width and height. Here is the CSS that does that. Maybe other people may find this usefull too:
    #lightBoxStage {
    _width: expression(document.body.clientWidth+"px");
    _height: expression(document.body.clientHeight+"px");
    }

    Ye-aih!thumb.gif
  • Options
    flyingdutchieflyingdutchie Registered Users Posts: 1,286 Major grins
    edited February 17, 2006
    Fixed my lightbox issue and found other possible bug:
    {JT} wrote:
    Yeah, I gotta say that IE use of expressions in CSS is pretty neato. We use it for a few things to get around some of IE's shortcomings :)

    I found the issue i had with the lightbox without using the dynamic CSS (expression(...)). JT, you may be interested in this:

    The lightbox is an hierarchy of elements. In short: Stage --> Foreground --> Image. The lightbox itself is a child-element of #footer_wrapper.

    I think this is kind-of strange - and it may have a side effect i'll describe later - but it made me examine my CSS if i had overridden the #footer_wrapper. I did. I assigned a fixed width for footer_wrapper:
    #footer_wrapper {
    width: 760px;
    }

    This CSS messed up the lightbox. The line in red was the offending line... I removed it and the lightbox works fine.

    There is a side-effect possibly related to the fact that the lightbox is a child of the #footer_wrapper:
    (only happens on IE6.0, on any smugmug site, not just on mine)
    - Go to a gallery and put it into 'Critique' style.
    - Make sure that there is a vertical scroll bar (lessen browser's height).
    - Then click on an image so that the lightbox appears.
    - The lightbox appears a number of pixels too low. The amount of pixels seems to be the scroll-amount.headscratch.gif
    I can't grasp the notion of time.

    When I hear the earth will melt into the sun,
    in two billion years,
    all I can think is:
        "Will that be on a Monday?"
    ==========================
    http://www.streetsofboston.com
    http://blog.antonspaans.com
  • Options
    flyingdutchieflyingdutchie Registered Users Posts: 1,286 Major grins
    edited February 17, 2006
    {JT} wrote:
    Actually - the lightbox has an initial height of 100%; and it works in IE for me :)

    I love your site, but there is SO much customizing it would take a week to figure out.

    As for the loading... bug, that should be fixed today though.

    The 'loading...' text behind the smugloupe is still behaving weirdly when network is sluggish (see my previous post). I guess it has not been fixed yet? :D
    I can't grasp the notion of time.

    When I hear the earth will melt into the sun,
    in two billion years,
    all I can think is:
        "Will that be on a Monday?"
    ==========================
    http://www.streetsofboston.com
    http://blog.antonspaans.com
  • Options
    {JT}{JT} Registered Users Posts: 1,016 Major grins
    edited February 17, 2006
    I did move the lightbox to below the footer - but assuming the tags are closed - it should not matter since I am using absolute positioning. Again, I will take a look thanks for bringing it up. And yes - we are still ironing out some minor lightbox bugs before sending out fixes.

    I found the issue i had with the lightbox without using the dynamic CSS (expression(...)). JT, you may be interested in this:

    The lightbox is an hierarchy of elements. In short: Stage --> Foreground --> Image. The lightbox itself is a child-element of #footer_wrapper.

    I think this is kind-of strange - and it may have a side effect i'll describe later - but it made me examine my CSS if i had overridden the #footer_wrapper. I did. I assigned a fixed width for footer_wrapper:
    #footer_wrapper {
    width: 760px;
    }

    This CSS messed up the lightbox. The line in red was the offending line... I removed it and the lightbox works fine.

    There is a side-effect possibly related to the fact that the lightbox is a child of the #footer_wrapper:
    (only happens on IE6.0, on any smugmug site, not just on mine)
    - Go to a gallery and put it into 'Critique' style.
    - Make sure that there is a vertical scroll bar (lessen browser's height).
    - Then click on an image so that the lightbox appears.
    - The lightbox appears a number of pixels too low. The amount of pixels seems to be the scroll-amount.headscratch.gif
  • Options
    bwgbwg Registered Users, Retired Mod Posts: 2,119 SmugMug Employee
    edited February 17, 2006
    {JT} wrote:
    I did move the lightbox to below the footer - but assuming the tags are closed - it should not matter since I am using absolute positioning. Again, I will take a look thanks for bringing it up. And yes - we are still ironing out some minor lightbox bugs before sending out fixes.

    making sense now....looking at antons code, the lightbox is still in the footer, so i'm guessing that isn't pushed out yet.

    anton, in IE when you specify a width for something, IE considers that element as having position. An absolutely positioned element is positioned in relation to the closest parent with position. so since your footer has position according to IE, the lightbox is being positioned relative to that, instead of the body.

    moving the LB outside of the footer will fix.
    Pedal faster
  • Options
    {JT}{JT} Registered Users Posts: 1,016 Major grins
    edited February 18, 2006
    There was some missing </div> tags in single image view that may be causing it to be a part of the footer. Lets wait until the patch comes up and look again :)
    bigwebguy wrote:
    making sense now....looking at antons code, the lightbox is still in the footer, so i'm guessing that isn't pushed out yet.

    anton, in IE when you specify a width for something, IE considers that element as having position. An absolutely positioned element is positioned in relation to the closest parent with position. so since your footer has position according to IE, the lightbox is being positioned relative to that, instead of the body.

    moving the LB outside of the footer will fix.
  • Options
    AndyAndy Registered Users Posts: 50,016 Major grins
    edited February 18, 2006
Sign In or Register to comment.