hello EE users,
I’m trying to use lightwindow. After spending hours figuring out with the linking to the JS wasn’t working (needed a full path not sure why).
I got it to work or at least it seems so, but I still have a few errors :
the shadow does not appear for one.
I get a error :
Error: The stylesheet <a href="http://www.wugong.fr/index.php/site/essaie/css/default.css">http://www.wugong.fr/index.php/site/essaie/css/default.css</a> was not loaded because its MIME type, "text/html", is not "text/css".
Source File: <a href="http://www.wugong.fr/index.php/site/essaie/">http://www.wugong.fr/index.php/site/essaie/</a>
Line: 0but I really don’t get why since this is how I link to my CSS :
<link rel='stylesheet' type='text/css' media='all' href='{stylesheet=site/default}' />
<style type='text/css' media='screen'>@import "{stylesheet=site/default}";</style>
<link rel='stylesheet' type='text/css' media='all' href='{stylesheet=site/lightwindow}' />
<style type='text/css' media='screen'>@import "{stylesheet=site/lightwindow}";</style>futhermore I get some syntax error for the javascript on the first line ! but it still works so ...
here is a link :
http://www.wugong.fr/index.php/site/essaie
basically it works but a bit worried as to why all those errors I don’t understand. Even some from my server.
I used the default setup of lightwindow the same css and html just for a try works okay on an normal html page.
Any help would be greatly appreciated 😉
best regards
zhangfei