See http://blog.nemikor.com/2009/04/08/basic-usage-of-the-jquery-ui-dialog/ for a full explanation of how to make this work. There's a demo on that page as well.
On Jan 17, 6:05 am, Ivan <ivanha...@tin.it> wrote: > Hello, > I have a series of "links & divs" like these: > > <a class="pop" href="popup.asp?PD=12>Hotel XXX</a> > <div class="details" title="Hotel XXX"></div> > > <a class="pop" href="popup.asp?PD=52>Hotel YYY</a> > <div class="details" title="Hotel YYY"></div> > > ... > > I'm using the following javascript, and it works very nice except the > fact that I can open the dialog only once per click: > > $('.pop').click(function(event) { > event.preventDefault(); > $(this).next('div.details').load($(this).attr('href')).dialog({ > modal: false, > height: 400, > width: 500 > }); > > }) > > I read somewhere that I have to use the "autoOpen: false" feature, but > I have no idea on where to put this: putting it after "modal: false", > i.e., prevents the dialog from opening... > > Please, can you help? > Thanks
-- You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery...@googlegroups.com. To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en.