Jump to content

My Controls option to reset My Assistant to default position


Guest Lemon Head

Recommended Posts

Can I suggest after reading of users having problems with the pop up location of My Assistant being under Flash Banners and Browser Extension Toolbars, that an option could be added to My Controls (Board Settings?) to reset My Assistant to default centered position? Its a problem to reset it manually if you can't move it or close it in a new position.

Link to comment
Share on other sites

  • 2 years later...

Looks like nobody paid ANY attention to this request in 3 years.

Here's what I did, just in case if anybody needs it (this is not very neat, however, it works).

You need to edit ipb_global_xmlenhanced.js found in /jscripts/ folder (or you can use an uncompressed version from the Development folder in board distro).


Find these lines:

--------------------------------------------------
Drag.cookiename = 'ipb-myass-div';
Drag.init( myass_drag, myass_main );
--------------------------------------------------

BEFORE these 2 lines place this line:

--------------------------------------------------
myass_main.style.top = 300+'px';
--------------------------------------------------

where 300 points to a vertical coordinate (measured in pixels from top) where you want "My Assistant" to appear by default. Horizontal coordinates are set automatically so that "My Assistant"'s default position gets centered depending on your browser window. If you wish to set the horizontal coordinates as well, just add:

--------------------------------------------------
myass_main.style.left = 100+'px';
--------------------------------------------------
to the line mentioned above. 100 points to a horizontal coordinate (measured in pixels from left border of the browser window).

Hope, this will help somebody.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...