How do I center a slideshow containing various width images?

Hello.  I have slideshows on my website that are centered as I like them to be.  But when I click on the thumbnail images that serve as links to open a page containing a slideshow, the image first appears at the left side of the page then quickly moves to the center.  The slideshows contain images of various widths.  I would like that the image appear in the center only.  In the stylesheet, the slideshow styling has the following information...
.cycle-slideshow {
    width: auto;
    max-height: 650px;
    background: #333;
    margin-bottom: 20px;
    z-index: 50;
.cycle-slideshow img {
    width: 0 auto;
    max-height: 610px;
    padding-top: 50px;
    opacity: 0;
    filter: alpha(opacity=0);
In the html code, the head section contains the javascript:
<script type="text/javascript" src="assets/jquery.cycle2.center.js"></script>
In the html code, the body section contains the following information for centering horizontally:
<div class="cycle-slideshow"
    data-cycle-fx=fade
    data-cycle-timeout=0
    data-cycle-caption="#alt-caption"
    data-cycle-caption-template="{{alt}}"
         data-cycle-auto-height=container
      data-cycle-center-horz=true
    data-cycle-center-vert=false>
My first thought was that the movement was due to the width of the slideshow being too wide.  But adjusting the width according to the widest image didn't work.  The widest image is 772px.  I tried other selectors but they didn't work either.  I would appreciate having your advice.  Thank you very much.

Hello Nancy 0,
Thank you for the information.  I didn't know that about the position and z-index.  I made the changes to the css as suggested.  But no change happened.  So I  tried changing the following in my html code so that it would be the same as malsup's sample for comparison...
data-cycle-fx=fade  to scrollHorz   
data-cycle-timeout=0  to 2000
The first image slide still loaded from the left and then centered on the page. Then the image slides scrolled along the page from right to left.  I then saw that Malsup has the example showing towards the bottom of its webpage.  After decreasing the window size, I saw that the first image appears very quickly from the lower left and then to the center as does mine except on a smaller scale.  I've come to the conclusion that this is a normal action for the javascipt function.  But would it be too much to ask if this could be less noticeable?   Also, when I made the changes to my slideshow to scroll, I noticed that as the image slides scrolled out of the slideshow, they extended beyond the slideshow border and even the container div.  I notice that this doesn't happen in the malsup example.  Malsup's image slides are not visible beyond the edge of the background color.  How can I have my slideshow images stop at the edge of the slideshow background color also?  I greatly appreciate your advice.  Thank you very much.
Noradc

Similar Messages

  • How do I get LR Slideshow to output 4k images over HDMI to my Sony 4k Projector? VPLVW1100ES?

    From my 2014 15" MacBook Pro How do I get LR Slideshow to output 4k images over HDMI to my Sony 4k Projector VPLVW1100ES? I can work in LR on the Sony at full resolution but Slideshow will only output 1080p.
    Thanks,
    John

    Hello JaeRoc48,
    I understand that the sound is not working.
    Go to start.
    Type Sound.
    Select sound.
    Select speakers as default.
    Click OK.
    Let me know how everything goes.

  • I put a Spry Tabbed Panel obj in my site at...how I centered it, to the container div width?

    I put a Spry Tabbed Panel obj in my site at
    http://l-web-dev.net/
    how I centered it, to the container div width?

    Add this to your document:
    <style type="text/css">
    <!--
    #content .story .myTabbedPanels {
        margin-right: auto;
        margin-left: auto;
        width: 550px;
    -->
    </style>
    Then change the following line
      <div class="story" style="width:550px;">
    to
      <div class="story myTabbedPanels">
    At a later stage you could add the style rules for myTabbedPanels to /styles/css-styles.css after having removed it from this document.
    That is it.
    Ben

  • How do I center the text in full width accordion panel?

    Hello!
    Is it possible to center the text to follow the full width accordion widget?
    When you expand to fill the screen, the text are fixed and doesn't follow the center headline...
    I created a page so you see what I'm talking about:  http://fullwidthissue.businesscatalyst.com/index.html
    Please respond if you know what to do or if it's impossible..
    Thanx

    This believe this can be fixed within the <head> of the document. I had the same problem and it took me a bit to figure this solution.
    Step 1
    Find the <div> ID that muse gives to the content portion of the accordion element. you can find this by using a web browser that lets you inspect the code.
    Step 2 once you have that code replace u6174. with your specific <div> then past this into your <Head> of the muse document. Almost forgot.....Get a general idea of the minimum size around your content this example it was a width of 750px. and change the width accordingly on this code.
    <style>
    #u6174{
    width: 750px;
    padding-left: 0px;
    padding-right: 0px;
    margin-right: auto;
    margin-left: auto;
    border-right-width: 0px;
    border-left-width: 0px; "}
    </style>
    you can see a sample of this here:
    Alain Hunkins
    At the bottom is this solution working.
    Let me know if that helps.

  • How to figure out which albums contain a specific image?

    Is there a way to click on a specific image and find out where else it is located (besides the master file location)? For example, let's say an image of your cousin is included in an album Birthdays and in another called Family. If I clicked on the master image, is there a way to see that it is included in the albums Birthdays and Family?
    Thanks for your help!

    The link to the script in the post you referenced is no longer valid.
    This should work Aperture: Search albums for a specific image
    I have it installed as an Aperture Service but it will work as a regular script.

  • How can i share a slideshow that i made with 8 people can i email it to them. it contains 2 200 pictures

    How can i share a slideshow containing @ 200 pictures and music with 8 friends? can i email it to them?

    Export it to the Desktop using the File -> Export commad. This makes a movie of it and you can then share that.
    I would caution you that as movie files are very large you might be best uploading to a sharing site or service like Dropbox and sending them a link

  • How to vertically center InlineGraphicElements?

    Hi all,
    I'm trying to extend the InlineGraphic TLF example to insert images of varying sizes, but vertically center them in the text Flow.  I'm having trouble figuring out the correct parameters to properly center the element.  I've been playing with alignmentBaseline & dominantBaseline w/ IDEOGRAPHIC_CENTER, but I don't get very promising results.  Here's a screen shot of where I'm at:
    Notice the blue box(added in post), the text MESSUP is being placed on the same line as the Lorem Ipsum text(in the string, it's Donec MESSUP).  Also, the selection box (Ctrl+A) shows breaks in the text layout.  It seems like the boxes should be shifted up.  This may be as designed, if so, how do I compact/shift the boxes up?
    For contrast, this is what it looks like without the centering:
    Source:
    package
        import flash.display.Sprite;
        import flash.text.engine.TextBaseline;
        import flashx.textLayout.container.ContainerController;
        import flashx.textLayout.edit.EditManager;
        import flashx.textLayout.elements.InlineGraphicElement;
        import flashx.textLayout.elements.InlineGraphicElementStatus;
        import flashx.textLayout.elements.ParagraphElement;
        import flashx.textLayout.elements.SpanElement;
        import flashx.textLayout.elements.TextFlow;
        import flashx.textLayout.events.StatusChangeEvent;
        import flashx.undo.UndoManager;
        [SWF(width="760", height="590", backgroundColor="0xCCCCCC", frameRate="30")]
        public class inliner extends Sprite
            protected var textFlow:TextFlow;
            public function inliner():void
                var elements:Array =
                    "Lorem ipsum dolor", null,
                    "sit amet, consectetur", null,
                    "adipiscing elit. Mauris eu odio nibh. Duis", null,
                    "scelerisque mattis risus, vitae viverra", null,
                    "ipsum vehicula non.", null,
                    "Donec MESSUP"];
                textFlow = new TextFlow();
                textFlow.fontSize = 34;
                textFlow.backgroundColor = 0xFFFFFF;
                textFlow.backgroundAlpha = 1;
                var imageSize:uint = 20;
                var paragraphElement:ParagraphElement = new ParagraphElement();
                textFlow.addChild(paragraphElement);
                for(var i:uint = 0; i < elements.length; ++i)
                    var obj:* = elements[i];
                    if(obj is String)
                        var string:String = obj as String;
                        var span:SpanElement = new SpanElement();
                        span.text = string;
                        paragraphElement.addChild(span);
                    else if(obj == null)
                        var inlineGraphic:InlineGraphicElement = new InlineGraphicElement();
                        inlineGraphic.width = imageSize;
                        inlineGraphic.height = imageSize;
                        imageSize += 20;
                        inlineGraphic.source = "http://www.adobe.com/shockwave/download/images/flashplayer_100x100.jpg";
                        // comment out to change back to good looking text
                        inlineGraphic.alignmentBaseline = TextBaseline.IDEOGRAPHIC_CENTER;
                        inlineGraphic.dominantBaseline = TextBaseline.IDEOGRAPHIC_CENTER;                   
                        paragraphElement.addChild(inlineGraphic);
                // event sent when graphic is done loading
                textFlow.addEventListener(StatusChangeEvent.INLINE_GRAPHIC_STATUS_CHANGE, graphicStatusChangeEvent);
                const bufferX:Number = 50;
                var sprite:Sprite = new Sprite;
                sprite.x += bufferX;
                addChild(sprite);
                textFlow.flowComposer.addController(new ContainerController(sprite, 760 - bufferX * 2, 590));
                // this call compose but the graphic hasn't been loaded from the source URL yet.
                // The actualWidth and actualHeight are zero. 
                refresh();
                var em:EditManager = new EditManager(new UndoManager);
                textFlow.interactionManager = em;
                textFlow.interactionManager.setFocus();
            protected function graphicStatusChangeEvent(e:StatusChangeEvent):void
                // if the graphic has loaded update the display
                // actualWidth and actualHeight are computed from the graphic's height
                if(e.status == InlineGraphicElementStatus.READY || e.status == InlineGraphicElementStatus.SIZE_PENDING)
                    refresh();
            protected function refresh():void
                textFlow.flowComposer.updateAllControllers();

    Cannot, really.
    Read this -
    http://www.apptools.com/examples/tableheight.php
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Reese" <[email protected]> wrote in message
    news:eh34gg$rvh$[email protected]..
    > How to vertically center a div? :-S
    >

  • How to display a view which contain interactive form in an external window

    Anyone know how to display a view which contain interactive form in an external window?
    I managed to display the view in an internal window with the following code:
    IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("PdfReportWin");
    IWDWindow window = wdComponentAPI.getWindowManager().createWindow( windowInfo, true);
    For external window, I tried this method : wdComponentAPI.getWindowManager().createExternalWindow(String URL, String title, boolean modal) but there are no parameter for view name?
    Maybe this is not the correct way, really appreaciate if anyone can help.

    Hi,
                U need to the following
               1.Create another window
               2.Create a view in it tat contains Interacive form element.
               3. call this window dynamically thru the first window by creating a context element of IWDWindow  type
    The code may help:
      IWDWindowInfo windowInfo =(IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows("SearchEmpwind");
          IWDWindow window = wdThis.wdGetAPI().getComponent().getWindowManager().createWindow(windowInfo, true);
          window.setWindowPosition(WDWindowPos.CENTER);
          window.setWindowSize(400, 250);
          window.open();
          wdContext.currentContextElement().setEmpSearchWind(window);
    Regards
    Ishita

  • HOW TO USE A SINGLE PERFORM FOR VARIOUS TABLES ?

    perform test TABLES t_header.
    select
           KONH~KNUMH
           konh~datab
           konh~datbi
           konp~kbetr
           konp~konwa
           konp~kpein
           konp~kmein
           KONP~KRECH
           FROM konh INNER JOIN konp
                  ON konpknumh = konhknumh
           into table iTABXXX
            "ANY TEMPERARY INTERNAL TABLE.
           for all entries in t_header
           where
                 konh~kschl = t_header-kschl
             AND konh~knumh = t_header-knumh.
    endform.
    how can I use above perform for various internal tables of DIFFERENT LINE TYPES but having the fields KSCHL & KNUMH.

    u can use single perform....
    just see this example......hope this is what u r expecting....
    tables : pa0001.
    parameters : p_pernr like pa0001-pernr.
    data : itab1 like pa0001 occurs 0 with header line.
    data : itab2 like pa0002 occurs 0 with header line.
    perform get_data tables itab1 itab2.
    if not itab1[] is initial.
    loop at itab1.
    write :/ itab1-pernr.
    endloop.
    endif.
    if not itab2[] is initial.
    loop at itab2.
    write :/ itab2-pernr.
    endloop.
    endif.
    *&      Form  get_data
          text
         -->P_ITAB1  text
         -->P_ITAB2  text
    form get_data  tables   itab1 structure pa0001
                            itab2 structure pa0002.
    select * from pa0001 into table itab1 where pernr = p_pernr and begda le sy-datum and endda ge sy-datum.
    select * from pa0002 into table itab2 where pernr = p_pernr and begda le sy-datum and endda ge sy-datum.
    endform.                    " get_data
    Regards
    vasu

  • How can I export a slideshow from iPhoto to iMovie 09.  I try but it only lets me import 211 out of the 311 photos I have in the slideshow.

    How can I export a slideshow from iPhoto to iMovie 09.  I try, but it only exports 211 out of the 311 photos I have in the slideshow I made on iPhoto.

    how do i change the format to the right one?
    Before you can decide what to do, you have to know what you are starting with. Sony MPEG-1 files would be converted one way while DivX or WMV files would likely be handled in another. Extraneous tracks can be removed directly with QT Pro but if you don't have QT Pro then there may or may not be other work around possibilities depending on the specific audio and video compression formats in use. The best place to start would normally be to double-clic the source file in iPhoto to open it in the QT Player. When it opens in the QT Player, check the "Inspector" window to see what it says on the "Format:" lines. This will tell you the type of audio and video content you are dealing with here. Then come and tell us so we can offer some specific conversion solutions.

  • How can I export a slideshow from iPhoto 9.5.1 ..........

    How can I export a slideshow from iPhoto 9.5.1 as Quick Time Movie? It exports now as m4v.

    That's a Quicktime movie these days. What format did you want?

  • How do i make a slideshow with iphoto for my mother and view on apple TV?

    How do i make a slideshow with iPhoto fo rmy mother and view on my appleTV.  I guess i need to know the best/easiest way.  Do i create a slideshow in iPhoto and then it will automatically pop up on my apple TV Photos?  or is it really not that easy?  i don't want to do airplay......i would like to sit and enjoy it with her.
    m

    icloud sync would only be an option if you login with your appleID
    so think flickr is the easy way

  • How can I create a slideshow that depicts only a version of a photo rather than the original? Since the original and new versions are saved together, the aperture slideshow often choices the original rather than the desired version to display/

    How can I create a slideshow that depicts only a version of a photo rather than the original?   Since the original and new versions are saved together, the aperture slideshow often choices the original rather than the desired version to display.

    There are two things we use the name "Slideshow" for in Aperture:  a Slideshow Album, used for making Slideshows, and the Slideshow that is made.  (Imho, it is a design mistake to not call the containers used to create Slideshows, Books, etc., "Albums".)
    The Slideshow will use the Album Pick from any Stack.  A good way to use Aperture is to promote the Image you want to regularly use (such as, for example, a Version with adjustments) to the top of the Stack.  This makes it the Stack Pick, and will be the default Album Pick.  If you haven't done that, you can still change the Album Pick for any Stack in a Slideshow Album.  Expand your Stack(s), select the Image in each Stack that you want to be the Album Pick (and thus shown in the Slideshow), and "Stacks➞Set Album Pick".  (Note the keyboard shortcut; there is also a Toolbar icon for this.)  The change is immediate.  The Slideshow will always show the Album Pick (or, if there is not one, the Stack Pick) for every Stack in your Slideshow Album.

  • How do I upload a slideshow to a website

    How do I upload a slideshow to a website?

      If you use Share >> On-line Album it’s possible to use one of the templates and save to your hard drive.
    You can then upload the resources folder using FTP and link to the index.html file.
    FTP allows you to drag and drop to your website. If you don’t have and FTP application you can Google to find one. I use Cute FTP which is very good.
    Alternatively if you are located in Europe you can use Adobe’s Photoshop showcase or Photoshop.com in the US.

  • How to find out the textframe contains "stroke color" (or) "fillcolor"?

    How to find out the textframe contains "stroke color" (or) "fillcolor" via javascript. Kindly advise me with sample.

    I know, this post is quite a while ago, but: This simply does not work for me. Neither for simple PathItems, nor for the characters of a TextFrame.
    Working on: Illustrator CS5.5, Mac OS, Javascript
    Simple example:
    var numSelectedObjects = app.activeDocument.selection.length;
    // If any objects selected: Get fill and stroke color of the first one
    if(numSelectedObjects > 0){
    alert("Fill Color: " + app.activeDocument.selection[0].fillColor + " / Stroke Color: " + app.activeDocument.selection[0].fillColor);
    This returns always CMYKColor, RGBColor or GrayColor, even if there is no Color assigned to the objects stroke or fill!!
    For PathItems there is the attribute ".filled" or ".stroked", which returns "true" or "false" and is reliable.
    if(app.activeDocument.selection[i].filled){ // works fine with PathItems!
    Is there anything similar for Characters? I tried this one, but it does not work (because I think it does not exist):
    if(app.activeDocument.selection[i].textRange.filled){ // does not work!
    I just need to find out, if the characters in a textfield have got a fill or stroke color. Reliable.
    It would be very nice to get help from anybody!
    Thanks a lot in advance!

Maybe you are looking for

  • Regarding Apple pay ,Once I activate a newly issued card do I have to delete the old card for passbook and re-enter ?

    Regarding Apple pay ,Once I activate a newly issued card do I have to delete the old card for passbook and re-enter ?

  • Configuration not saving

    My DVDSP4 is acting very strange. On startup, it always asks me to choose Application defaults, even though I have Show at startup unchecked. I choose my desired configuration, click OK, and then the Choose Defaults window goes away and comes up agai

  • Deployment Error Channel.Security.Error

    All, I'm receiving the below error when trying to deploy my FLEX 2 page. Everything works fine when I run the page from within the Flex Builder, but as soon as I move the files to within my Virtual Directory and try to access the page through a web B

  • Why is my execution highlight button not available?

    All Debugging buttons are unavailable.  they are unavailable in any Vi, even a new blank one.  I have tried the following ideas without success.  Vi Properties, execution, Allow debugging is ticked, Rentrant execution is not ticked, and prioriy is no

  • Problem ordering by time

    hi all ! I have this sql. String sql = "Select citas.IdCita,citas.Hora,citas.Fecha,citas.Protocolo,citas.DNI,citas.Opcion," +             "citas.Observacion,citas.Horaentrada, paciente.Nombres,paciente.Apellidos,paciente.Prescriptor," +             "