hey folks,
i am working on web app. the guys with me are coming up with javascript pop up which i think are old fashioned. i don’t know where to place this thread so i am posting here. can anyone guide me to fancy popup for displaying tabular data. i don’t know where to start looking as i never been much out of html / css and photoshop. so pls guide me.
thanks
javascript pop up it’s not old fashioned. the way to pop up by opening a new browser window for displaying data is old fashioned.
one way is to use a container element, usually a div, use css on it to show/hide/position it, and possibly use javascript to AJAX it’s content, or even further control behaviour.
Agreed with noonope, using HTML elements for your popup are usually a better choice.
One good reason for that, I suppose, would be the window.open() stuff is easily and usually blocked by built-in popup blockers.
You might want something like a Lightbox, just without the screen-darkening stuff.
the guys with me are coming up with javascript pop up which i think are old fashioned.
Considering that jQuery is javascript as well maybe it’s not such a bad idea. Google for jQuery Popup and you’ll find many fancy options