ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

problems using lightwindow almost works ;)

November 17, 2007 12:15am

Subscribe [1]
  • #1 / Nov 17, 2007 12:15am

    zhangfei

    62 posts

    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: 0

    but 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

  • #2 / Nov 17, 2007 9:38am

    zhangfei

    62 posts

    HEllo again,

    Disregard this since I found the solution. Might share the solution. The overlay image is linked not only in the CSS but also the lightwindow.js 😉

    As for the rest it’s also okay now ...

    Regards
    zhangfei

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases