Welcome to TalkGraphics.com
Results 1 to 10 of 44

Hybrid View

  1. #1

    Default Re: Creating your own image sliders within Xara

    Ah, ignore that question, Egg. I re-exported the pages and everything is working fine (I don't know what's changed, but at least it works!).

    However, another question. I want to put some arrows onto the slider so that the user can move to the next "page". I've done this successfully, but the problem is that as the image scrolls out (I'm using the wipe left transition), the arrow buttons do, too. Is there a way that I can keep them static and only have the "content" of the slider page move?

  2. #2
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,936

    Default Re: Creating your own image sliders within Xara

    Is there a way that I can keep them static and only have the "content" of the slider page move?
    Not easily Gary. The code created by Siran is just to wait x seconds then load the next page of a supersite with transitions. There is no pause on mouse over effect or any way I know of to have a button in the main site to control the pages loaded into a placeholder.
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

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

    Default Re: Creating your own image sliders within Xara

    Maybe this example is what you have in mind. Just something recycled from another thread, so please excuse the text only supersite.
    Please also note that this example won't work when started directly from hard disk in anything but FireFox. But it works when published or when both files are exported to the same directory and then the main site is viewed in preview.
    It works almost the same as the above example by egg, but all the code is at the main site.
    The placeholder body code contains an iframe with an ID, this ID needs to be updated in the button codes and in the website head code section if changed.
    Don't hesitate to ask if something needs explanation.
    Attached Files Attached Files

  4. #4
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,936

    Default Re: Creating your own image sliders within Xara

    Works a treat Siran, thanks
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  5. #5

    Default Re: Creating your own image sliders within Xara

    Many thanks for this, Siran. Really helpful.

    Is there any way I can make this responsive? If I build variants into the slider Xara file, will they work depending on the size of the iFrame inserted into the parent site on which it appears?

  6. #6

    Default Re: Creating your own image sliders within Xara

    Actually, I've just tested this and answered my own question: it's not responsive. If I add variants to the main-with-auto file, I can set the size of the iFrame to be narrower in different variants. But the content it contains doesn't change with, even if I add variants to it that match the iFrame sizes I've used. Is there any way I can get around this, Siran?

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

    Default Re: Creating your own image sliders within Xara

    As the slider document is created as a supersite it is easy to have it auto stretching (see "Scale To Fit Screen" in the Web export options). Just checked it.
    Unfortunately there seems to be a bug in firefox (even in older versions) that requires to add a small fix (see code at the website head in the textslides_4 document).
    Additionally the sample code in the website head of the main-with-auto-2 document has changed to allow timer values to be entered in seconds including fractional digits.

    Not sure if that is what you asked for. If not, please explain in a little more detail.
    Attached Files Attached Files

 

 

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
  •