开发者

Can you call a modal window within a modal window?

开发者 https://www.devze.com 2023-02-28 13:23 出处:网络
I have a modal window which is opened from a series of portlets. The window which is opened contains both 开发者_StackOverflow社区text and images, and I\'m trying to implement a lightbox script on the

I have a modal window which is opened from a series of portlets. The window which is opened contains both 开发者_StackOverflow社区text and images, and I'm trying to implement a lightbox script on the images. I have got the lightbox script to work in a separate file, and have copied that html into the .html value of the modal window, but when I click on any of the images it disregards the jQuery and takes me directly to a large version of the image.

Any one have any ideas?

Much appreciated, Rich

P.S: Here is the project: http://djrb.co.uk/lightbox/tester.html


it could be possible of conflict of prototype and jQuery. Try this this. http://api.jquery.com/jQuery.noConflict/ – Karthi.L Apr 22

This was absolutely correct. Change $ for jQuery and on my way.

0

精彩评论

暂无评论...
验证码 换一张
取 消