views:

1102

answers:

5

I write in .NEt and in classic ASP. I want to create a modal popup in asp. I like in .NET how the parent page can be disabled and turned a different color. Is this possible in ASP? Or is there no easy solution to get this done? If possible...how?

A: 

" how the parent page can be disabled and turned a different color"

You can use the ibox javascript, I have used it with good results.

http://www.ibegin.com/labs/ibox/

tekBlues
I will try this first. Thanks
Eric
i get an error saying it cannot find my source...ibox/ibox.js....
Eric
Eric, it's in the samples, you must include ibox/ibox.js in your asp file.
tekBlues
+2  A: 

Just use a javascript library to do this. jQuery is a popular choice and there a number of plugins to do this.

Jeremy Coenen
+3  A: 

You're going to use Javascript to make something like that, I'd recommend you use jQuery. There is a lot of prebuilt libraries to help you do that.

For the modal box, you might start with the jQuery Dialog.

Hugoware
So far this is the one i like best. +1. I haven't mastered it yet though.
Eric
Great! You're going to find a lot of options when it comes to Javascript modal/dialog boxes, but jQuery has an huge community of developers working to create add-ons and improve the code -- in general, you're going to find a lot more use from jQuery than just the dialog box
Hugoware
+1  A: 

There are some great JS libraries out there that can help you.
I like jQuery and YUI for their ease of use.

Try this link and look around at some of their Panel offerings.. all of which have a Modal setting that will grey out the background.

http://developer.yahoo.com/yui/examples/container/panel-loading.html

Good Luck~

BigBlondeViking
A: 

I'd put a vote in for stickywin from the clientcide site. Its all Mootools bases and very sweet to use.

Pete Duncanson