Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » How I can use Lightbox JS v2.04 or LightWindow v2.0?

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 4623 Views
  • fiord
    Avatar
    Community Member
    79 Posts

    How I can use Lightbox JS v2.04 or LightWindow v2.0? Link to this post

    when i try insert code LightWindow v2.0 (http://stickmanlabs.com/lightwindow/) in my Page.ss

    <script type="text/javascript" src="javascript/prototype.js"></script>
    <script type="text/javascript" src="javascript/scriptaculous.js?load=effects"></script>
    <script type="text/javascript" src="javascript/lightwindow.js"></script>
    <link rel="stylesheet" href="css/lightwindow.css" type="text/css" media="screen" />

    I have next problem
    Error: uncaught exception: [Exception... "Object cannot be created in this context" code: "9" nsresult: "0x80530009 (NS_ERROR_DOM_NOT_SUPPORTED_ERR)" location: "http://planeta-ua.net.ua/javascript/scriptaculous.js?load=effects Line: 30"]

    Error: uncaught exception: lightwindow.js requires including script.aculo.us' effects.js library!

    I get similar errors when using Lightbox JS v2.04 or http://www.orangoo.com/labs/GreyBox/

    tell me where such errors are?

  • stamate
    Avatar
    Community Member
    6 Posts

    Re: How I can use Lightbox JS v2.04 or LightWindow v2.0? Link to this post

    Hey so I was tryin this like for ages man the problem is when you load a form or comment in a page the prototype and scriptaculous scripts conflict with the one from the new lightbox if you need more information well just ask

  • Daminipo
    Avatar
    Community Member
    14 Posts

    Re: How I can use Lightbox JS v2.04 or LightWindow v2.0? Link to this post

    Hi stamate!

    Is there some kind of fix to make something like lightbox, lightwindow or even slimbox work on a page where you have an form?
    I really got stuck on that problem... Tried all the different light... whatsoever and nothing worked.
    Got a solution?
    Thanks in advance!

    Cheers,
    Daminipo

    4623 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.