Open hmahdavi921 opened 8 years ago
Can you provide a sample of the code you are using?
Hi . I use this template http://freehtml5.co/demos/crew/ This template is html page .I use this template in dotnetnuke CMS skin and I don't change anything. I add all reference to my template in dnn and run it. However used in dnn CMS jquery migrate and jquery 1.9.1 . I change in html page(general template) version of jquery but don't solved.I think that the full path in jquery-style-switcher ("css/") in my cms is mistake so change it .You can see the discuss in stackoverflow in this http://stackoverflow.com/questions/34455685/how-to-set-path-of-file-in-website-root-for-use-by-jquery.I attach the files for test. Thank a lot.
2015-12-28 22:41 GMT+03:30 Cameron Manavian <notifications@github.com notifications@github.com>:
Can you provide a sample of the code you are using?
—Reply to this email directly or view it on GitHub https://github.com/camsjams/jquery-style-switcher/issues/5#issuecomment-167630561.
-- موفق و پیروز باشید.
This issue occurs when the jQuery.style.switcher.js can't find the default theme id in the DOM.
on line 32
defaultThemeId: 'defaultTheme',
Make sure your id on the default stylesheet in the header is set to this property:
<link href="mystyles/mystylesheetpath.css" rel="stylesheet" id="defaultTheme" type="text/css">
I use jquery-style-switcher in CMS and get this error( jssError error level0 ) .It don't worked for me.What is problem?