Welcome to TalkGraphics.com
Page 5 of 5 FirstFirst ... 345
Results 41 to 44 of 44
  1. #41
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,910

    Default Re: Full width Slidshow ?

    Yes that works fine siran. Thank you for that
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  2. #42
    Join Date
    Oct 2000
    Location
    Wiesbaden, Germany
    Posts
    422

    Default Re: Full width Slidshow ?

    Is it possible to stretch from center, too?

    Thx,

    Fly

    Quote Originally Posted by siran View Post
    Hi Egg,
    I have extended the code to support that. But I am not very good with IFRAMEs. Maybe there are better ways to do it.
    To tell the code from where to stretch you might have to add another classname inside of the placeholder (separated by space).
    The default now is to stretch from the center.
    If you want to stretch from the bottom (as in the example) add xw_str_bottom
    If you want to stretch from the top add xw_str_top
    The code still is at the page head and I have only added these lines of
    Code:
       var i=e.firstElementChild;
       var o=0;
       if (e.className.indexOf("xw_str_top")<0){
        o=(h-i.height);
        if (e.className.indexOf("xw_str_bottom")<0){
         o/=2;
        }
       }
       i.style.marginTop=o+"px";

  3. #43
    Join Date
    Apr 2015
    Location
    Germany
    Posts
    927

    Default Re: Full width Slidshow ?

    Yes, center is default. Remove the xw_str_bottom from the placeholder body code (which looks like this):
    Code:
    <div class="xw_stretch xw_str_bottom" style="width: 1120px; overflow: hidden;">
    <iframe src="slideshow-2.htm" frameborder="0" width="1120" height="480"></iframe>
    </div>

  4. #44
    Join Date
    May 2002
    Location
    Canada
    Posts
    3,339

    Default Re: Full width Slidshow ?

    Am I missing something? Was it not a new feature introduced recently by Xara (full width slider/slideshow)?

 

 

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
  •