PS - you probably want of: as window too
On 14 Feb 2018, at 18:34, Bob Patin <bob@xxxxxxxxx> wrote:
Hi FX folks,
Haven’t seen much traffic on this list lately, hope everyone is well.
I’ve got a page that uses a jQueryUI dialog to display some photos and text;
I’d like to have it display at the top of the page rather than centered in
the table from which it’s called.
I tried this (see my POSITION settings in there), but it’s not doing
anything. Anyone have an idea how to get this to display at the top? Here’s
the page it’s on:
http://artsandathletics.org/additional-info/afterschool-classes/?loc=9 ;
<http://artsandathletics.org/additional-info/afterschool-classes/?loc=9>
$( function() {
$( "#dialog" ).dialog({
autoOpen: false,
resizable: false,
modal: true,
width:600,
height: 600,
show: {
effect: "fade",
position: {
my: "center top",
at: "center top",
of: "#dialog"
},
duration: 300
},
hide: {
effect: "explode",
duration: 300
},
open: function() {
$('.ui-widget-overlay').bind('click', function() {
$('#dialog').dialog('close');
})
}
});
Thanks for any insight!
Bob Patin
Longterm Solutions
bob@xxxxxxxxxxxxxxxxxxxxx <mailto:bob@xxxxxxxxxxxxxxxxxxxxx>
615-333-6858
FileMaker 9, 10, 11, 12 & 13 Certified Developer
http://www.longtermsolutions.com ;<http://www.longtermsolutions.com/>
-
iChat: bobpatin@xxxxxx <mailto:bobpatin@xxxxxx>
Twitter: bobpatin
—
FileMaker Consulting
FileMaker Hosting for all versions of FileMaker
PHP • Full email services • Free DNS hosting • Colocation • Consulting
Attachment:
smime.p7s
Description: S/MIME cryptographic signature