Hi Devesh,

I presume you are using the Balupton edition of Lightbox for JQuery.

I had the same problem error message, but it I wasn't using jqGrid -
it turned out to be a file location problem.

Lightbox uses a fixed file structure to locate files dependant on
whether it is compressed or not.
>From the changelog

   v1.3.6-final (March 08, 2009)
   ...
   - Minified rather than packed (following jQuery 1.3 standards)
        - We now detect if we are compressed or not, and will automatically
include the correct files

These locations are set in the `files` array.

>From jquery.lightbox.js:

482     files: {
483             compressed: {
484                     js: {
485                             lightbox:       'js/jquery.lightbox.min.js',
486                             colorBlend:     'js/jquery.color.min.js'
487                     },
488                     css: {
489                             lightbox:       'css/jquery.lightbox.css'
490                     }
491             },
492             uncompressed: {
493                     js: {
494                             lightbox:       'js/jquery.lightbox.js',
495                             colorBlend:     'js/jquery.color.js'
496                     },
497                     css: {
498                             lightbox:       'css/jquery.lightbox.css'
499                     }
500             },
501             images: {
502                     prev:           'images/prev.gif',
503                     next:           'images/next.gif',
504                     blank:          'images/blank.gif',
505                     loading:        'images/loading.gif'
506             }
507     },

If you want to use a different structure for your files you can edit
these lines. If you are using the minified version you can use find
and replace to change them.

However, to make Lightbox upgrades compatible with your site, I would
recommend that you recreate the original file structure, or you may
find you have problems in the future.

Hope this helps. It bugged me for ages!

On Apr 16, 7:01 am, Devesh <erdeveshmis...@gmail.com> wrote:
> Hi,
>
> I am not able to use jqGrid and jquery lightbox plugin in a single
> page. Its shows an error i.e. Lightbox was not able to find it's
> javascript script tag necessary for auto-inclusion. What does it
> mean ?
>
> Can someone help me ?
>
> Thanks
> Devesh M

Reply via email to