Is there an alternative to lightbox / fancy box / slimbox that does not require a doctype declaration?
I am forced to work within a rubbish IDE that creates survey webpages, therefore I cannot control the doctype of the pages (it's not a great piece of software, in fact I hate it but have no choice, and it adheres to no standard doctype, it adheres to no standard anything!).
I want to produce a pretty popup on my pages, but cannot use lightbox or any alternative that I can find as these all require a doctype declaration. My popups look great in except IE (naturally). If I insert a doctype declaration into the page the popups work, but all sorts of other things on the page don't, inputs and so on.
Can anyone suggest an alternative plugin I can use, or some sort of hack I can put in my page to overcome this problem? e.g. is there a vanilla doctype that means nothing, or perhaps a way of fooling lightbox that a doctype exists when it doesn't?
Than开发者_运维百科ks for any suggestions!
CJ
yes, visit http://lakhlaniprashant.blogspot.com/2008/12/creating-modal-popup-in-html-4-using.html
精彩评论