how to make background Inactive when inline popup raised.....
I have created popups using divs in my page...Now i want to Inactive my form elements when popup raised.......I am operating popups using Jquery.....
how to make background Inactive when inline popup raised
Thanks
Rajasekhar If you have an apple & I have an apple & we exchange our apples, then each of us will still have only 1 apple but if you have an idea & I have an idea & we exchange our ideas, then each of us will have 2 ideas
Hello chandrasekhar....thankyou for ur response.....I dont need to create popup......I need that the background form is offline when the popup raised.(the popup div also in the same form)
Thanks
Rajasekhar If you have an apple & I have an apple & we exchange our apples, then each of us will still have only 1 apple but if you have an idea & I have an idea & we exchange our ideas, then each of us will have 2 ideas
Sorry...If we fade out the controls are working....we need to be diable....I sthere any way to stop background form Inctive like the form when modelpopup raised...
Thank you
Thanks
Rajasekhar If you have an apple & I have an apple & we exchange our apples, then each of us will still have only 1 apple but if you have an idea & I have an idea & we exchange our ideas, then each of us will have 2 ideas
It can be done. You need to cover the entire window with an overlay and the same is done by most of the modal plugins. Here is the sample, on click of link a layer is scattered over the window , you need to apply the same logic before your modal is opened:
here I dont want to fade it......I want to Inactive the background part
Thanks
Rajasekhar If you have an apple & I have an apple & we exchange our apples, then each of us will still have only 1 apple but if you have an idea & I have an idea & we exchange our ideas, then each of us will have 2 ideas
I am using VS2003,the css property not working......plz tell me how?
Thanks
Rajasekhar If you have an apple & I have an apple & we exchange our apples, then each of us will still have only 1 apple but if you have an idea & I have an idea & we exchange our ideas, then each of us will have 2 ideas
mannavas
Member
48 Points
75 Posts
how to make background Inactive when inline popup raised
Oct 04, 2010 04:55 AM|LINK
how to make background Inactive when inline popup raised.....
I have created popups using divs in my page...Now i want to Inactive my form elements when popup raised.......I am operating popups using Jquery.....
how to make background Inactive when inline popup raised
Rajasekhar
If you have an apple & I have an apple & we exchange our apples, then each of us will still have only 1 apple but if you have an idea & I have an idea & we exchange our ideas, then each of us will have 2 ideas
chandrasheka...
Star
10258 Points
1760 Posts
Re: how to make background Inactive when inline popup raised
Oct 04, 2010 05:05 AM|LINK
Refer the link:
http://yensdesign.com/2008/09/how-to-create-a-stunning-and-smooth-popup-using-jquery/
Please try the answer for the post and finally Don't forget to click “Mark as Answer” on the post that helped you.
mannavas
Member
48 Points
75 Posts
Re: how to make background Inactive when inline popup raised
Oct 04, 2010 05:09 AM|LINK
Hello chandrasekhar....thankyou for ur response.....I dont need to create popup......I need that the background form is offline when the popup raised.(the popup div also in the same form)
Rajasekhar
If you have an apple & I have an apple & we exchange our apples, then each of us will still have only 1 apple but if you have an idea & I have an idea & we exchange our ideas, then each of us will have 2 ideas
greatseyes
Member
236 Points
46 Posts
Re: how to make background Inactive when inline popup raised
Oct 04, 2010 05:35 AM|LINK
you can do it by above link simple modify the loadPopup() and disablePopup() , check out below , i hope it might be helpfull to you ,
attr("disabled", "disabled");niravbhattsa...
Participant
810 Points
161 Posts
Re: how to make background Inactive when inline popup raised
Oct 04, 2010 05:45 AM|LINK
You can use Jquery modal popup...
http://plugins.jquery.com/project/modaldialog
Software Engineer
Visit my Blog: ASP.Net Ajax Tutorials
Please Mark as Answered If post is helpful.
mannavas
Member
48 Points
75 Posts
Re: how to make background Inactive when inline popup raised
Oct 04, 2010 06:00 AM|LINK
Sorry...If we fade out the controls are working....we need to be diable....I sthere any way to stop background form Inctive like the form when modelpopup raised...
Thank you
Rajasekhar
If you have an apple & I have an apple & we exchange our apples, then each of us will still have only 1 apple but if you have an idea & I have an idea & we exchange our ideas, then each of us will have 2 ideas
raghav_khung...
All-Star
32835 Points
5563 Posts
MVP
Re: how to make background Inactive when inline popup raised
Oct 04, 2010 10:27 AM|LINK
It can be done. You need to cover the entire window with an overlay and the same is done by most of the modal plugins. Here is the sample, on click of link a layer is scattered over the window , you need to apply the same logic before your modal is opened:
<html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title></title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <style type="text/css"> .fade { position: absolute; top: 0px; left: 0px; z-index: 99; background: black; } </style> </head> <body> <form id="Form1" runat="server"> <div id="fade" class="fade"> </div> <a href="#" id="aFoo">Test</a> </form> </body> <script type="text/javascript"> $('#aFoo').click(function () { var maskHeight = $(document).height(); var maskWidth = $(window).width(); $('#fade').css({ 'width': maskWidth, 'height': maskHeight }) .fadeIn(1000).fadeTo('slow', 0.7); return false; }); </script> </html>Now to close the overlapped screen you need to apply "$('#fade').fadeOut();"
mannavas
Member
48 Points
75 Posts
Re: how to make background Inactive when inline popup raised
Oct 04, 2010 10:51 AM|LINK
thank you for your reply.....
here I dont want to fade it......I want to Inactive the background part
Rajasekhar
If you have an apple & I have an apple & we exchange our apples, then each of us will still have only 1 apple but if you have an idea & I have an idea & we exchange our ideas, then each of us will have 2 ideas
raghav_khung...
All-Star
32835 Points
5563 Posts
MVP
Re: how to make background Inactive when inline popup raised
Oct 04, 2010 11:06 AM|LINK
Did you run my sample ? the background has been made inactive.
mannavas
Member
48 Points
75 Posts
Re: how to make background Inactive when inline popup raised
Oct 04, 2010 11:15 AM|LINK
I am using VS2003,the css property not working......plz tell me how?
Rajasekhar
If you have an apple & I have an apple & we exchange our apples, then each of us will still have only 1 apple but if you have an idea & I have an idea & we exchange our ideas, then each of us will have 2 ideas