Jump to content

styles.match(/opacity:\s*(\d?\.?\d*)/) is null


humble

Recommended Posts

I have used two light boxes one for photogallery [lightbox2.03a] and next one for video [videobox_1.1]. The photogallery works fine but when I click on the video link it shows the following error:

styles.match(/opacity:\s*(\d?\.?\d*)/) is null

[break on this error] element.setOpacity(styles.matc...acity:\s*(\d?\.?\d*)/)[1]) : element; prototype.js (line 1916)

And it also show a close icon at the bottom of the page, automatically.

The js files I have included in video gallery are

<!-- video gallery -->

<script type="text/javascript" src="js/video/mootools.js"></script>

<script type="text/javascript" src="js/video/swfobject.js"></script>

<script type="text/javascript" src="js/video/videobox.js"></script>

<link rel="stylesheet" href="css/videobox.css" type="text/css" media="screen" />

<!-- video gallery end -->

And for photo gallery :

<!-- jquery for image display begins -->

<script type="text/javascript" src="js/gallery/prototype.js"></script>

<script type="text/javascript" src="js/gallery/scriptaculous.js?load=effects,builder"></script>

<script type="text/javascript" src="js/gallery/lightbox.js"></script>

<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />

<!-- jquery for image display ends -->

If i remove any one link file such as '<link rel="stylesheet" href="css/videobox.css" type="text/css" media="screen" />' form the video page the close button disappears.

Can any one help me?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...