• First, if you know of a “replacement” for this, let me know, won’t bother.
    It has to “automatically” display anything in lightbox, any Media, when that media/link is linked directly to it on or offline.

    But if no alternative (can’t find one), my first problem is that the script with any “object” that opens in the Lightbox like SWF, MPEG, etc. will align to the Top of the box instead of Center.

    The second problem is that the script is “Responsive” in that the images and lightbox resizes fine, but again, because the Objects are Top aligned they are off in neverland somewhere.

    See here for example: http://www.leeuniverse.com/2013/isaac-baby/

    I did I think find the Shadowbox CSS that needs to be edited in order to make Objects “center align” properly. If anyone can give me thoughts on how to fix these problems?

    Thanks much!

    Here:

    #sb-title-inner,#sb-info-inner,#sb-loading-inner,div.sb-message{font-family:"HelveticaNeue-Light","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:200;color:#fff;}
    #sb-container{position:fixed;margin:0;padding:0;top:0;left:0;z-index:999;text-align:left;visibility:hidden;display:none;}
    #sb-overlay{position:relative;height:100%;width:100%;}
    #sb-wrapper{position:absolute;visibility:hidden;width:100px;}
    #sb-wrapper-inner{position:relative;border:1px solid #303030;overflow:hidden;height:100px;}
    #sb-body{position:relative;height:100%;}
    #sb-body-inner{position:absolute;height:100%;width:100%;}
    #sb-player.html{height:100%;overflow:auto;}
    #sb-body img{border:none;}
    #sb-loading{position:relative;height:100%;}
    #sb-loading-inner{position:absolute;font-size:14px;line-height:24px;height:24px;top:50%;margin-top:-12px;width:100%;text-align:center;}
    #sb-loading-inner span{background:url(loading.gif) no-repeat;padding-left:34px;display:inline-block;}
    #sb-body,#sb-loading{background-color:#060606;}
    #sb-title,#sb-info{position:relative;margin:0;padding:0;overflow:hidden;}
    #sb-title,#sb-title-inner{height:26px;line-height:26px;}
    #sb-title-inner{font-size:16px;}
    #sb-info,#sb-info-inner{height:20px;line-height:20px;}
    #sb-info-inner{font-size:12px;}
    #sb-nav{float:right;height:16px;padding:2px 0;width:45%;}
    #sb-nav a{display:block;float:right;height:16px;width:16px;margin-left:3px;cursor:pointer;background-repeat:no-repeat;}
    #sb-nav-close{background-image:url(close.png);}
    #sb-nav-next{background-image:url(next.png);}
    #sb-nav-previous{background-image:url(previous.png);}
    #sb-nav-play{background-image:url(play.png);}
    #sb-nav-pause{background-image:url(pause.png);}
    #sb-counter{float:left;width:45%;}
    #sb-counter a{padding:0 4px 0 0;text-decoration:none;cursor:pointer;color:#fff;}
    #sb-counter a.sb-counter-current{text-decoration:underline;}
    div.sb-message{font-size:12px;padding:10px;text-align:center;}
    div.sb-message a:link,div.sb-message a:visited{color:#fff;text-decoration:underline;}

    [Bump deleted – please do not do that here]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter leeuniverse

    (@leeuniverse)

    Well that is strange…. I just changed to a different theme and all of a sudden the objects ARE “centered”? It also has a lightbox with it, so I had two open at the same time…. haa haa

    Now got to look into this….

    Thread Starter leeuniverse

    (@leeuniverse)

    Well, not sure what’s causing it, but certain themes, I believe “newer” properly designed themes actually align them correctly.

    Nevermind…. Shadowbox JS is working properly. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Shadowbox Js…. Images align fine, need help with Objects’ is closed to new replies.