Yeah, that's the best solution. Here's a simplified version of what
you'd need to do:
$('a').click(function() {
$('<div/>').load(this.href).dialog();
return false;
});
On Oct 6, 6:33 pm, "Jaime Ochoa Malagón" <[EMAIL PROTECTED]> wrote:
> If I remember the point of this behavior is to use an <a> tag if
> javascript is enabled just return false when you open the dialog and
> if javascript don't do that then the browser should follow the link...
>
> Hope this help...
>
>
>
> On Mon, Oct 6, 2008 at 3:51 PM, bmclaughlin <[EMAIL PROTECTED]> wrote:
>
> > TimW - Yes, I have used that before as well. The reason I am after the
> > UI Dialog is having the ability to move the box to see parts of the
> > page.
>
> > Jaime - We will have to look at that but we are a 508 compliant shop.
> > When we used Thickbox to do the same things it allows for a non-
> > javascript system to ge the info as well. Do you know if there is a
> > way to configure this to work as well?
>
> > Thanks
>
> > On Oct 6, 4:40 pm, "Jaime Ochoa Malagón" <[EMAIL PROTECTED]> wrote:
> >> use a <div> and load the content via ajax... with .load("privacy.html")
>
> >> On Mon, Oct 6, 2008 at 4:21 AM, bmclaughlin <[EMAIL PROTECTED]> wrote:
>
> >> > Hello,
> >> > I am trying to link external html pages to the dialog for the dialog's
> >> > content.
>
> >> > An example would be:
> >> > In a footer there is a link for a privacy statement. When clicked on,
> >> > the dialog box would appear containing the privacy policy information.
>
> >> > This privacy policy information would be on it's own html page. The
> >> > dialog plugin would link out to it and populate the contents of the
> >> > dialog with this information.
>
> >> > The reason the privacy policy would be its own html page is because it
> >> > is a footer item it will appear on multiple pages. And for maintenance
> >> > it is much easier to have the privacy information sit as its own page
> >> > rather than having on each page that has that footer item.
>
> >> > Any ideas?
>
> >> > Thanks-
>
> >> --
> >> Perhaps the depth of love can be calibrated by the number of different
> >> selves that are actively involved in a given relationship.
>
> >> Carl Sagan (Contact)
>
> >> Jaime Ochoa Malagón
> >> Arquitecto de Soluciones
> >> Cel: +52 (55) 1021 0774
>
> --
> Perhaps the depth of love can be calibrated by the number of different
> selves that are actively involved in a given relationship.
>
> Carl Sagan (Contact)
>
> Jaime Ochoa Malagón
> Arquitecto de Soluciones
> Cel: +52 (55) 1021 0774
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---