Javascript Image Slider / Posts /

Multiple Licenses for the same slider?

203
Are you able to include multiple licenses on a single .js file?  I have multiple URL's of the same website and use Intuit to build the site.  If so, how would i do that?
Matt  11 years ago   viewed: 47564    

3 Answers

0
Yes you can add a piece of code just after the var sliderOptions block to handle the different domains. Below is a sample for four domains:
var sliderOptions = { ...... license: "license1" }; if(document.domain.indexOf("domain2.com")!=-1) sliderOptions.license = "license2"; else if (document.domain.indexOf("domain3.com")!=-1) sliderOptions.license = "license3"; else if (document.domain.indexOf("domain4.com")!=-1) sliderOptions.license = "license4"; var imageSlider=new mcImgSlider(sliderOptions); /* Menucool Javascript Image Slider ... (the follows are remain unchanged)
Milo
  11 years ago
0

Thank you for sharing the article. I am very interested in the information you have shared. Hope you will share more useful information in the future


slothstar
  one year ago
0

If you're using a website builder like Intuit, you might need to buy a separate license for each site you create, even if they share the same domain. This requirement exists because each site functions as an individual instance with its own unique URL and set of files.


Izzy
  one month 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: