Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Position of lookup form

Questions related to customising nuBuilder Forte with JavaScript or PHP.
Post Reply
Jannie
Posts: 33
Joined: Sat Jun 09, 2018 4:36 pm
Location: Netherlands
Has thanked: 4 times
Been thanked: 1 time
Contact:

Position of lookup form

Unread post by Jannie »

It seems a simple question, but I can't find a way to set position of a (one) lookup-form with JavaScript/jquery
I suppose I need to move nuDragDialog, but it isn't found when Browse/Edit/BrowseAndEdit scripts of the form are running.
Can you help me?
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Position of lookup form

Unread post by kev1n »

Hi,

Give this a go:

Code: Select all

var dialog = $('#nuDragDialog', window.parent.document);
dialog.css('left', '222px');
Jannie
Posts: 33
Joined: Sat Jun 09, 2018 4:36 pm
Location: Netherlands
Has thanked: 4 times
Been thanked: 1 time
Contact:

Re: Position of lookup form

Unread post by Jannie »

This works! Thank you!
Post Reply