function ShowMonitoringDialog() { $('#dialog').dialog('open');
}
function ShowSecurityDialog() {
$('#security').dialog('open');
}
- Richard
On Wed, Oct 14, 2009 at 11:58 AM, Paul Benezra <[email protected]>wrote:
>
>
> I created 2 jquery dialog boxes, the first ID is called dialog and the 2nd
> ID Is called security. when you click on the "read more" links, I want the
> first one to open monitoring and the other link to open security. Please
> visit
>
> http://www.legalitservices.com/services.html
>
> to view my example
>
> Both links open the same dialog box.
>
> Below is the code on the web page
>
>
> <script type="text/javascript">
> function ShowDialog()
> {
> $("#dialog").dialog("open");
> }
> </script>
>
> <script type="text/javascript">
> function ShowDialog()
> {
> $("#security").dialog("open");
> }
> </script>
>
> Paul
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
> Behalf Of jvitela
> Sent: Wednesday, October 14, 2009 8:49 AM
> To: jQuery UI
> Subject: [jquery-ui] Re: more than 1 dialog per page
>
>
> If I had understood your question: In that page you can only display
> one dialog at the time because the dialogs are being opened as Modals,
> that means that the background is "blocked" until you close the
> current dialog.
>
> In order to prevent this behaviour, you have to set the dialog's
> "Modal" option to false
>
> On Oct 14, 4:41 pm, Paul <[email protected]> wrote:
> > please visithttp://www.legalitservices.com/services.html
> >
> > is there a scipt that will allow me to open different dialogs from
> > links on the same page.
> >
> > Paul
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.5.421 / Virus Database: 270.14.16/2435 - Release Date: 10/14/09
> 06:33:00
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---