Welcome to TalkGraphics.com
Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11

    Default Re: Easy Accordion Slider Widget

    Quote Originally Posted by Acorn View Post
    You add the Placeholder to your page.
    You add your images in their own smaller pages.
    You link their filenames in the Page's code.
    I'm feeling pretty dense about now.

    I have my website prototype open in one Xara tab ... and I have Xara Accordian.web in another tab. Other than seeing the images, I can't follow how to merge them.

    Where should the Placeholder be?
    How big should it be?
    What determines the widget's position on the published site?
    Does the Xara Accordian.web just remain as a separate file that gets bundled when the site is published?

    Regarding the photos in the pages of Xara Accordian.web, is that where my photos belong? Or do I add them as individual pages of my site and reference them from Xara Accordian.web?

    I'm sure this will all make perfect sense once I've done it. But at the moment, I feel like I'm in a house of mirrors where I see possible methods in every direction (... as opposed to using the Nivo slider, for example ... where you drag it onto a page and every element is right there to be inspected or changed).

    Click image for larger version. 

Name:	Placeholder.png 
Views:	144 
Size:	16.8 KB 
ID:	107755

  2. #12
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,914

    Default Re: Easy Accordion Slider Widget

    @Contours
    The very first page of Xara Accordion.web has a Placeholder.
    You copy and paste this into your site.
    For your page now holding the Placeholder, you need to insert the Page HTML head (code) that is in Xara accordion.web into yours.
    All the image pages in Xara Accordion.web should be copied over as new pages in your site.
    Now you have a working carousel.

    You now have to change it to work for you.

    The size of your images determines the size of the Placeholder and the page size holding each image.
    You then replace or add pages of all your required images. Each must have a separate page name.
    You need to include the file extension .htm for each page name when building your frames Array in the Page HTML code (head).
    You determine the order and the time to suit your images.

    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

  3. #13

    Default Re: Easy Accordion Slider Widget

    Quote Originally Posted by Acorn View Post
    For those who wish to modify the IFRAME here is the current detail:
    Code:
    <iframe src="heading 1.htm" width="760px" height="400px" frameborder="0" scrolling="no" id='ra_iframe' name="right_accordion_iframe" ><p>Your browser does not support iframes.</p></iframe>
    where you change iframe src="heading 1.htm" to the first page in your list that you want the Slider to open with.

    Let me know what browsers work as I get an occasional white flash on picture change.
    I'm trying to remember how to make the IFRAME transparent.

    Acorn
    At first. The in the attributes of HTML tags do not write "px". width="650px" is wrong. Simple width="650"

    Secondly. Why so difficult? Why this jQuery? This code can interfere with Xara’s Javascript.

    I propose a simple solution to this IFRAME trick.

    1. Create a web page (for example 640x340px) with transition effects.

    Web Export Options--->Supersite-->Page Trasitions-->Scale to Fit Screen

    2. Export as accordion.html

    3. On the main page, create a placeholder that is equal to the accordion.html page size(640x340px).

    4. Add your iframe code.

    Code:
    <iframe src="accordion.html" width="640" height="340" frameborder="0" scrolling="no" id='ra_iframe' name="right_accordion_iframe" ><p>Your browser does not support iframes.</p></iframe>
    4. Export website.

    Done! 5 minutes.

    It's certainly not a real accordion, but it looks good. And you can create a lot of varints with custom options.

  4. #14

    Default Re: Easy Accordion Slider Widget

    By the way. I think, attributes "id" and "name" are unnecessary too.

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

    Default Re: Easy Accordion Slider Widget

    Quote Originally Posted by digitalphaser View Post
    The in the attributes of HTML tags do not write "px". width="650px" is wrong. Simple width="650"
    Agreed, it was sloppy coding on my part. Do note that HTML 5 no longer supports "width=pixels" It should now be style="width: 500px;". Luckily, browsers interpret such sloppy coding with aplomb.
    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. #16
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,914

    Default Re: Easy Accordion Slider Widget

    Quote Originally Posted by digitalphaser View Post
    I propose a simple solution to this IFRAME trick.
    It's certainly not a real accordion, but it looks good. And you can create a lot of varints with custom options.
    I may be missing something but how does the accordion you suggest actual achieve a transition?
    It doesn't seem to be automatic, which is the point of an accordion carousel.
    How does it recycle continuously?

    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

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

    Default Re: Easy Accordion Slider Widget

    Quote Originally Posted by digitalphaser View Post
    Why this jQuery? This code can interfere with Xara’s Javascript.
    Can you explain why jQuery code will interfere as Xara applications already invoke and run jQuery?

    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. #18

    Default Re: Easy Accordion Slider Widget

    Quote Originally Posted by Acorn View Post
    ...Do note that HTML 5 no longer supports "width=pixels"...
    Acorn
    Yes. But Xara generates XHTML 1.0 Transitional.

  9. #19

    Default Re: Easy Accordion Slider Widget

    Quote Originally Posted by Acorn View Post
    I may be missing something but how does the accordion you suggest actual achieve a transition?
    It doesn't seem to be automatic, which is the point of an accordion carousel.
    How does it recycle continuously?

    Acorn
    I created a 4 page supersite with transition effects. Then this site was loaded into the iframe.

    http://digitalphaser.de/accord_iframe/

    Yes. I have already said. It's more slider than accordion. But it is easy to create. Pure Xara.

  10. #20

    Default Re: Easy Accordion Slider Widget

    Quote Originally Posted by Acorn View Post
    Can you explain why jQuery code will interfere as Xara applications already invoke and run jQuery?

    Acorn
    It's not obligatory. I experimented a little bit with JS & jQ and I had some precedents.
    Sorry. I'm not ready to discuss about it.

 

 

Tags for this Thread

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
  •