worldnews — 2011-02-01T16:26:49-05:00 — #1
And when replying kindly provide a link to the modal window that you are suggesting. I mean a link to the page which would have a demo of it as well as the download code.
paul_wilkins — 2011-02-01T17:25:34-05:00 — #2
What is meant by best? The least work? The least dependencies? The most flexibility?
jQueryUI dialogs might do the job for you, but there might be as-of-yet unspecified reasons why they aren't suitable for you.
So, you may want to look through some collections of modal dialog windows to weed out the ones that you definitely know aren't going to work for you.
Once you've done that you can then let us know about the few that you have left remaining to choose from, so that we can give further advice from there.
worldnews — 2011-02-01T22:54:28-05:00 — #3
Well definitely not a Jquery based solution.
As to your other mark, yes I actually did read through those 2 links and after reading through all their suggestions I thought to ask the Web site developer colleagues here in SP.
oddz — 2011-02-02T01:11:13-05:00 — #4
felgall — 2011-02-02T01:17:11-05:00 — #5
The reason for people deciding not to use it is that in order to use it you need to load the entire thing into your page even if you are only going to use a small part of it. That makes the page a lot bigger unnecessarily.
worldnews — 2011-02-02T10:30:45-05:00 — #6
But we do not want to load tons of JS that we are not going to use. And do not want to learn any language jQuery. So that is why we want a pure JS solution only, well with CSS.
worldnews — 2011-02-02T10:32:43-05:00 — #7
SO what Modal Window code do you think is best? And to be exact a Modal Window that allows for filling in a form and of course that form to be submitted for form processing, although having processed via Ajax can be OK. Bur prefer Modal Window form to Standard form processing.
furicane — 2011-02-02T10:57:57-05:00 — #8
First off, since you haven't defined what you deem as "the best", you can receive biased opinion of people who have used modal dialogs.
I've used quite a few, and I'll say that hands down - jQuery dialog is the best in my opinion.
jQuery isn't that big and you can load it into your page from google pages.
The other thing is that no matter what modal window you want to use, you need to use some logic the author provides which can fit to the category of learning new language, even tho it's only a few lines of code.
The other thing is, if you have ever used css - it will take MINUTES to get acquainted with jQuery. If your reason for avoiding jQuery is that you don't want to learn a new language - why even bother with web development then?
It takes less time to set up a modal window with jQuery UI than to post this topic and ask for opinion.