开发者

Colorbox lightbox - should 'lightboxed page' be a complete page

I am having some difficulties with a form that is part of a lightbox page. On some versions of IE people are reporting that the form is not sending.

I am wondering if I have implemented the lightbox correctly. I am using Colorbox.

Can somone please tell me..

  • am I supposed to treat the page that is being lightbox as a complete page? 开发者_开发百科i.e should it have a doctype, html, body tags?
  • should I be referencing jquery on both the parent page AND the lightbox page?


If the lightbox is a separate page, implimented as an iframe, then it needs to be a complete page, and the form should work, leading to the results of the form loading in the iframe.

You don't need jQuery on a page because it is displayed in an iframe, but you may need it for other reasons (form validation, for example).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜