Welcome to TalkGraphics.com
Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2012
    Location
    Sussex, UK
    Posts
    6

    Default How do I make expand / collapse text?

    ....like in news articles that have a couple of lines of info then the link "more...." which when clicked reveals lots of hidden text, pushing the rest of the page down?

    I know this must be a basic function and have been using Xara for web editing for years but can't find how to do it!

    Many thanks for your help.

  2. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    9,095

    Info Re: How do I make expand / collapse text?

    Quote Originally Posted by ArkwrightZ View Post
    ....like in news articles that have a couple of lines of info then the link "more...." which when clicked reveals lots of hidden text, pushing the rest of the page down?
    I know this must be a basic function and have been using Xara for web editing for years but can't find how to do it!
    Many thanks for your help.
    It is not at all basic but it can be done in Xara, apart from pushing the rest of the page down. Xara has fixed page heights.

    Here is a quick example with a number of additions to make it presentable: Example More Text.xar

    Can you update your TG Profile to your current Xara product(s)?

    Thanks.

    Acorn
    Acorn - My currently active Xara software: occasionally serviced XDPX, purposely unserviced XDPX12 & XDPX11 (32/64-bit), unserviced XWD Premium 15 & 12, XPGD10, X3D7 and lots of 'permanently-owned' licences back through time (to CC's Artworks)

  3. #3
    Join Date
    Dec 2012
    Location
    Sussex, UK
    Posts
    6

    Default Re: How do I make expand / collapse text?

    Thanks Acorn. I've updated to Xara Web Designer Premium 16.

    How do I make such an expandable text box though?

    Many thanks!

  4. #4
    Join Date
    Dec 2012
    Location
    Sussex, UK
    Posts
    6

    Default Re: How do I make expand / collapse text?

    Quote Originally Posted by ArkwrightZ View Post
    Thanks Acorn. I've updated to Xara Web Designer Premium 16.

    How do I make such an expandable text box though?

    Many thanks!
    OK - I got it - I read up about layers etc..

    Many thanks again for your help Acorn.

  5. #5
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    9,095

    Default Re: How do I make expand / collapse text?

    Quote Originally Posted by ArkwrightZ View Post
    OK - I got it - I read up about layers etc..
    Many thanks again for your help Acorn.
    Good to hear. Try varying a few things at a time to get a handle on the wide possibilities.

    Acorn
    Acorn - My currently active Xara software: occasionally serviced XDPX, purposely unserviced XDPX12 & XDPX11 (32/64-bit), unserviced XWD Premium 15 & 12, XPGD10, X3D7 and lots of 'permanently-owned' licences back through time (to CC's Artworks)

  6. #6
    Join Date
    Dec 2012
    Location
    Sussex, UK
    Posts
    6

    Default Re: How do I make expand / collapse text?

    PS Although I'm very surprised that such basic (i.e. common on websites) functionality as expanding text and pushing following page content down the page is not even possible in Xara Web Designer Premium, let alone standard. I confess my opinion of Xara has gone down a notch.

  7. #7
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    9,095

    Default Re: How do I make expand / collapse text?

    Quote Originally Posted by ArkwrightZ View Post
    PS Although I'm very surprised that such basic (i.e. common on websites) functionality as expanding text and pushing following page content down the page is not even possible in Xara Web Designer Premium, let alone standard. I confess my opinion of Xara has gone down a notch.
    Such a feature is not intrinsic to a text panel anywhere. There is coding or styling some developer has to apply. Spend some time with Layers and you will find there are a powerful Xara innovation.

    Acorn
    Acorn - My currently active Xara software: occasionally serviced XDPX, purposely unserviced XDPX12 & XDPX11 (32/64-bit), unserviced XWD Premium 15 & 12, XPGD10, X3D7 and lots of 'permanently-owned' licences back through time (to CC's Artworks)

  8. #8
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    9,095

    Default Re: How do I make expand / collapse text?

    @ArtwrightZ - have a read of this - https://css-tricks.com/text-fade-read-more/.

    This is an Adobe discussion (https://forums.adobe.com/thread/1637823). The link, http://estructor.altervista.org/closeopen/, shows a rather presentable approach. Its CSS is quite large - http://estructor.altervista.org/clos.../closeopen.css - and this is a basic page.

    Xara simply doesn't handle expanding DIVs where other objects are pushed downwards; you have a fixed length page. It would be possible to incorporate all the effort of the Abode example into Xara but you'll have to abstract your text away into DIVs and you are relying on someone else's CSS that you would have to fully understand before changing to your specific purpose.

    Step back and look at the Xara approach. Mostly graphical and visually representational in form with a few Xara mechanisms applied. Very flexible (font, sizing, position, reveal effects, colours, ...).

    Acorn
    Acorn - My currently active Xara software: occasionally serviced XDPX, purposely unserviced XDPX12 & XDPX11 (32/64-bit), unserviced XWD Premium 15 & 12, XPGD10, X3D7 and lots of 'permanently-owned' licences back through time (to CC's Artworks)

 

 

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
  •