Welcome to TalkGraphics.com
Results 1 to 10 of 10
  1. #1

    Default My First Accordion Widget

    A client recently requested an accordion widget. This will be my first time making one. I found Accordion Widget 1 and Accordion Widget 2 in the Online Content catalog. They are similar to what I need. I don't need the images, but these are limited to 6 options. Does anyone have a suggestion on how I might create a vertical accordion element with more than 6 options?

    She likes the kind that closes one paragraph when a different one is clicked, so only 1 is open at a time.

  2. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    11,588

    Default Re: My First Accordion Widget

    Acorn - installed and active Xara software: Cloud+/Pro+, XDPX, XWD Premium 15 & 12, XPGD10, X3D7, Xara Xtreme 5, back through time (to CC's Artworks).
    Raise software faults with MagiXara: http://support.magix.net/; if Cloud+/Pro+: https://xara.com/contact-us/

  3. #3

    Default Re: My First Accordion Widget

    Thanks - I will give that a whirl!

  4. #4
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    38,142

    Default Re: My First Accordion Widget

    Also, with the accordion widgets you can replace the images with text images. And when you edit the current images, you can add new pages to add more images.

    You should be able to redefine the page size but when I tried this it did not work.

    Acorn - Any thoughts on how you could do this?
    Gary W. Priester
    Mr. Moderator Emeritus Dude
    , Sir

    gwpriester.com | Custom-Stereograms.com | eyeTricks on Facebook






  5. #5
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    11,588

    Info Re: My First Accordion Widget

    Quote Originally Posted by gwpriester View Post
    Acorn - Any thoughts on how you could do this?
    Accordion 1 widget and its ilk are hard-coded for their sizing so it is not easily achievable.

    A time back I reworked that accordions to be pure Xara (unrestricted). It will take a time to locate... The file was "Xara Accordion.web" ...Found it: Xara Accordion.web.
    The iFrame size and sub-pages can be readily resized.

    Acorn
    Acorn - installed and active Xara software: Cloud+/Pro+, XDPX, XWD Premium 15 & 12, XPGD10, X3D7, Xara Xtreme 5, back through time (to CC's Artworks).
    Raise software faults with MagiXara: http://support.magix.net/; if Cloud+/Pro+: https://xara.com/contact-us/

  6. #6
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    38,142

    Default Re: My First Accordion Widget

    ...Found it: Xara Accordion.web
    Outstanding.
    Gary W. Priester
    Mr. Moderator Emeritus Dude
    , Sir

    gwpriester.com | Custom-Stereograms.com | eyeTricks on Facebook






  7. #7
    Join Date
    Jun 2020
    Location
    Switzerland
    Posts
    3

    Default Re: My First Accordion Widget

    Hi guys

    I want to implement this simple accordion in Magix Premium using a placeholder.
    https://codepen.io/johanmouchet/pen/jARwrK
    I kinna get the graphic setup, but I cannot use it (it does not open up). Click image for larger version. 

Name:	Firefox_Screenshot_2020-06-28T11-16-32.347Z.png 
Views:	2 
Size:	6.5 KB 
ID:	127284
    I put html code into the body and css (style) and js (script) in head.

    Can anybody help? I cannot understand what Im doing wrong / or not doing at all.

    Thnx

  8. #8
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    38,142

    Default Re: My First Accordion Widget

    Welcome to TalkGraphics drbubu

    Acorn will have an answer for this when he is here. Please check back.
    Gary W. Priester
    Mr. Moderator Emeritus Dude
    , Sir

    gwpriester.com | Custom-Stereograms.com | eyeTricks on Facebook






  9. #9
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    11,588

    Info Re: My First Accordion Widget

    This accordion is not simple and is not readily adaptable for Xara.

    However:

    CSS JS - Accordion Text Panels.xar.

    I have included the Steps necessary add to Xara.

    Acorn
    Acorn - installed and active Xara software: Cloud+/Pro+, XDPX, XWD Premium 15 & 12, XPGD10, X3D7, Xara Xtreme 5, back through time (to CC's Artworks).
    Raise software faults with MagiXara: http://support.magix.net/; if Cloud+/Pro+: https://xara.com/contact-us/

  10. #10
    Join Date
    Jun 2020
    Location
    Switzerland
    Posts
    3

    Default Re: My First Accordion Widget

    Thanks, Acorn - you rock ��

 

 

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
  •