Loading...
Copy code
Close
Permalink
Close
Please tell us why you want to mark the subject as inappropriate.
(Maximum 200 characters)
Report Inappropriate
Cancel
Private Message
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Cancel
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Update
Cancel
Feedback
Email ID
Subject :
Comments :
Send
Cancel
Private Message
Type the characters you see in the picture below.
Type the characters you see in the picture below.
Attach files
Desktop
Zoho Docs
Google Docs
Each Attachment size should not exceed 1MB.
Max no of attachments : 3
Loading User Profile...
guest
Response title
This is preview!
Attachments
Publish
Back to edit
Cancel
(
)
Sign In
New to this Portal? Click here to
Sign up
You can also use the below options to login
Login with Facebook
Login with Google
Login with Yahoo
jQuery
Plugins
UI
Meetups
Forum
Blog
About
Donate
All Forums
Recent Posts
Log In
Search
jQuery
Search
jQuery Forum
Move this topic
Forum :
Getting Started
Using jQuery
Using jQuery Plugins
Using jQuery UI
Developing jQuery Core
Developing jQuery Plugins
Developing jQuery UI
QUnit and Testing
About the jQuery Forum
jQuery Conferences
jQuery Mobile
Developing jQuery Mobile
Sub forum :
Move this topic
Cancel
Using jQuery UI
flydef
Position Dialog relative to element instead of relative to viewport. How?
in
Using jQuery UI
•
2 years ago
How to position UI dialog relative to floating page element instead of the viewport?
1
Reply
Replies(3)
keithnorm
Re: Position Dialog Relative to <div> Instead of Relative to Viewport. How?
2 years ago
jQuery UI uses the jquery position plugin, so you can specify your position like this:
$('#dialog').dialog({
position: {
my: 'top',
at: 'top',
of: $('#some_div')
}
});
You can check out how the position plugin works
here
.
flydef
Re: Position Dialog Relative to <div> Instead of Relative to Viewport. How?
2 years ago
Thank you keithnorm big time!!!
Greatly appreciated!
Leave a comment on keithnorm's reply
keithnorm
Re: Position Dialog Relative to <div> Instead of Relative to Viewport. How?
2 years ago
jQuery UI uses the jquery position plugin, so you can specify your position like this:
$('#dialog').dialog({
position: {
my: 'top',
at: 'top',
of: $('#some_div')
}
});
You can check out how the position plugin works
here
.
Leave a comment on keithnorm's reply
Change topic type
Topic Type :
Discussions
Questions
Ideas
Problems
No of days :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Change topic type
Cancel
Link this topic
Provide the permalink of a topic that is related to this topic
Permalink
Save
Close
Reply to flydef's question
Top
Reply
{"z4959536":[14737000001672337,14737000001672339],"z4801250":[14737000001665661,14737000001684171]}
Statistics
3
Replies
18905
Views
0
Followers
Tags
Cancel
dialog
dialog position
ui dialog
Actions
Permalink
Related Posts
dialog close event
ui dialog does not close for the se...
fading effect in ui dialogs
UI: Dialog: Form: Add a Button with...
Ui Dialog Position in Webkit (bangi...