PDA

View Full Version : Lightbox , jquery.min.js Conflict



Monclee
03-06-2012, 03:53 AM
1) Script Title: Lightbox image viewer 2.03a

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm

3) Describe problem: Hello I cant make lightbos works from this script:

http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm?countrytabs=1

When i comment this <script src="scripts/jquery.min.js" type="text/javascript"></script> lightbox works, but bxslider that uses that scripts fails..

Pls just point me in the right direction.thanks in advance..

URL: http://dreaminmedia.com/agatha/

jscheuer1
03-06-2012, 04:39 AM
Get rid of lightbox. Use Slimbox2, see:

http://www.dynamicdrive.com/forums/blog.php?b=247

Since you said "Just point me in the right direction", I'll leave it at that.

But if you want more help implementing it, and/or have more questions, let me know.

Monclee
03-06-2012, 05:01 AM
Thats all i need :D thanks!

Monclee
03-06-2012, 05:14 AM
I install it, dreaminmedia.com/agatha

The problem is the slider i think? bx slider, can you recomend me one? XD!!!!

Monclee
03-06-2012, 05:15 AM
slimbox is not working, but i think the problem, if slimbox is AJAX compatible, is the bxslider script im using.

Monclee
03-06-2012, 05:30 AM
For anyone this may help.

Slimbox has to be inserted in script after jquery.min.js or jquery.js file .

:D silly mistake

Monclee
03-06-2012, 05:57 AM
Get rid of lightbox. Use Slimbox2, see:

http://www.dynamicdrive.com/forums/blog.php?b=247

Since you said "Just point me in the right direction", I'll leave it at that.

But if you want more help implementing it, and/or have more questions, let me know.

Working great, as in one of the topics in the forum, you show how to resize or limit the maxim size of the window for lightbox, is there a similar way for slimbox, the huge images, resize the slimbox to a really huge size, so the close button is displayed, very far away from the user, but is ther, and its working.

max-heigth in css or something works??

Also is not working if the AJAX load the link i want to call the slimbox, any ideas, how can i refresh the script using onmouseover? or something like that?