Welcome to TalkGraphics.com
Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,917

    Default Re: Slider with link for each image

    Thanks Acorn. As I say, I'm quite happy with loading the slider from a subfolder with the adjusted pause value, which is quite simple. I was just wondering if it was easy to adjust the pause value using a placeholder instead, just to make it easier for Craig to follow.

    A very heavy sledgehammer, nut cracking, and I hope none are eggs either !
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

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

    Default Re: Slider with link for each image

    Egg, there would be a quite dirty method. Add the following code to the page head for example:
    HTML Code:
    <script>
    if (xaraSwidgets_easySlider_v8Constructor){
     var c=xaraSwidgets_easySlider_v8Constructor.toString();
     c=c.slice(c.indexOf("{")+1,c.lastIndexOf("}")).replace("targetClass","pause:8000,targetClass");
     xaraSwidgets_easySlider_v8Constructor=Function("divID","data",c);
    }
    </script>
    This replaces Xara's widget constructor and adds the string pause:8000, to it at a position where it finds the string targetClass.

  3. #13
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,917

    Default Re: Slider with link for each image

    Yes Siran, thanks that does indeed work, dirty or not
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

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

    Default Re: Slider with link for each image

    Quote Originally Posted by siran View Post
    Egg, there would be a quite dirty method. Add the following code to the page head for example:
    HTML Code:
    <script>
    if (xaraSwidgets_easySlider_v8Constructor){
     var c=xaraSwidgets_easySlider_v8Constructor.toString();
     c=c.slice(c.indexOf("{")+1,c.lastIndexOf("}")).replace("targetClass","pause:8000,targetClass");
     xaraSwidgets_easySlider_v8Constructor=Function("divID","data",c);
    }
    </script>
    This replaces Xara's widget constructor and adds the string pause:8000, to it at a position where it finds the string targetClass.
    siran, so obvious when you look at it! Not really!! So thank you for your solution. I was trying a completely different direction.

    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. #15
    Join Date
    Apr 2015
    Location
    Germany
    Posts
    927

    Default Re: Slider with link for each image

    I was trying different directions too before I decided the dirty trick would have to do.

  6. #16
    Join Date
    Aug 2016
    Posts
    4

    Default Re: Slider with link for each image

    Quote Originally Posted by siran View Post
    Not sure which widget this is about.
    For the "All Effects Widget" for example you can add a line
    HTML Code:
    <script>$.fn.cycle.defaults.timeout=8000;</script>
    to the page body or page head code to change the delay to 8 seconds.
    Sorry for my late reply. Thanks for the info Siran.
    How can I access the html code?
    Do I have to export the site first, then import it back?

    Thanks

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

    Default Re: Slider with link for each image

    Copy the code to the clipboard
    Open the page properties
    Click image for larger version. 

Name:	pageproperties.png 
Views:	72 
Size:	2.7 KB 
ID:	114051
    Click HTML code (head)
    Click image for larger version. 

Name:	webproppage.png 
Views:	62 
Size:	7.3 KB 
ID:	114052
    Press CTRL + V
    Click image for larger version. 

Name:	codehead.png 
Views:	70 
Size:	2.6 KB 
ID:	114053
    Click OK
    Click Apply

  8. #18
    Join Date
    Aug 2016
    Posts
    4

    Default Re: Slider with link for each image

    Quote Originally Posted by siran View Post
    Copy the code to the clipboard
    Open the page properties
    Click image for larger version. 

Name:	pageproperties.png 
Views:	72 
Size:	2.7 KB 
ID:	114051
    Click HTML code (head)
    Click image for larger version. 

Name:	webproppage.png 
Views:	62 
Size:	7.3 KB 
ID:	114052
    Press CTRL + V
    Click image for larger version. 

Name:	codehead.png 
Views:	70 
Size:	2.6 KB 
ID:	114053
    Click OK
    Click Apply
    Thanks Siran. Working great.
    Much appreciate your help.

 

 

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
  •