Welcome to TalkGraphics.com
Page 1 of 5 123 ... LastLast
Results 1 to 10 of 44
  1. #1

    Default Full width Slidshow ?

    Just wondering how I can make my slideshow fill the screen width ?

    I have tried to stretch it but it says "Widgets cannot be stretched"


    Thanks for any help

  2. #2
    Join Date
    Apr 2015
    Location
    Germany
    Posts
    927

    Default Re: Full width Slidshow ?

    You can stretch almost anything using some CSS and JavaScript.
    See example xar file. ( visible here )
    There is some code and CSS at the page HTML code (head) and the widget has the name htmlclass=xw_stretch applied, that's all.
    Attached Files Attached Files

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

    Default Re: Full width Slidshow ?

    Ooops, forgot to remove the logging.
    please remove the line
    console.log(scale);
    from the code.

  4. #4
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,823

    Default Re: Full width Slidshow ?

    Quote Originally Posted by siran View Post
    You can stretch almost anything using some CSS and JavaScript.
    See example xar file. ( visible here )
    There is some code and CSS at the page HTML code (head) and the widget has the name htmlclass=xw_stretch applied, that's all.
    siran, nice piece of work.

    I added a Stickie object in front and all is fine.
    I also checked fi you drop a hi-res iamage into the Widget images pages, although is rendered 600x400 px normally, scaling shows it is fine for a full width browser view.
    The downside will be the download time for the effect to occur so, use sparingly.

    I moved the Widget to the Pasteboard and the stretch and origin are off (naturally).
    Any chance you can produce a variant for a full-width background?
    I could but you are clearly in the groove on this one.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  5. #5
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,823

    Default Re: Full width Slidshow ?

    siran, one other small point.
    The origin offset is out when the browser has a vertical scrollbar.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  6. #6
    Join Date
    Apr 2015
    Location
    Germany
    Posts
    927

    Default Re: Full width Slidshow ?

    Acorn, please feel free to improve it. Otherwise you will have to wait at least until tomorrow.

  7. #7
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,823

    Default Re: Full width Slidshow ?

    Quote Originally Posted by siran View Post
    Acorn, please feel free to improve it. Otherwise you will have to wait at least until tomorrow.
    siran, your coding is far cleaner than mine. We all can wait longer than tomorrow! Don't take it on as an obligation either.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  8. #8

    Default Re: Full width Slidshow ?

    Thank you for the help ...... but I am no coder and very new to Xara so you lost me

  9. #9
    Join Date
    Feb 2014
    Location
    Toronto, Canada
    Posts
    792

    Default Re: Full width Slidshow ?

    Quote Originally Posted by siran View Post
    You can stretch almost anything using some CSS and JavaScript.
    See example xar file. ( visible here )
    There is some code and CSS at the page HTML code (head) and the widget has the name htmlclass=xw_stretch applied, that's all.
    Hi, this works just great, is there any similar code that you can add to a picture to stretch it full page? (Not in a Nivo slider). This would be to use instead of stretchy in XWD11P or 365, for instance in XWD10P.

    Thank you

    Roly

  10. #10

    Default Re: Full width Slidshow ?

    Quote Originally Posted by siran View Post
    You can stretch almost anything using some CSS and JavaScript.
    See example xar file. ( visible here )
    There is some code and CSS at the page HTML code (head) and the widget has the name htmlclass=xw_stretch applied, that's all.
    Can anyone tell a Xara newbie how to use this code ??

 

 

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
  •