jQuery slider / Posts /

How to apply multiple licenses? My jQuery Slider is running under multiple domains

2

Hi my site is running under multiple domain names. I have purchased all their licenses. How do I apply those license keys to the same jQuery Slider script?

Steven  9 years ago   viewed: 7217    

1 Answer

-6

You can open the script (thumbnail-slider.js), and edit it as shown below:

var thumbnailSliderOptions = { ...... license: "license1" }; if(document.domain.indexOf("domain2.com")!=-1) thumbnailSliderOptions.license = "license2"; else if (document.domain.indexOf("domain3.com")!=-1) thumbnailSliderOptions.license = "license3"; else if (document.domain.indexOf("domain4.com")!=-1) thumbnailSliderOptions.license = "license4"; var mcThumbnailSlider=new ThumbnailSlider(thumbnailSliderOptions); /* ThumbnailSlider Slider v2015.... (the followings are remain unchanged)...
Milo   9 years ago

   

Your name*
Password
(Optional. Used to modify this post afterwords)
+ =  

Ask your Own Question

  • If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;

  • When you want to start a new page for your question: