QUOTE(Timize @ Jul 17 2005, 06:58 PM)

Well, I was messing around with My Assistant yesterday and I accidently got it stuck to where I can't move it back down.
Open ./jscripts/ipb_global_xmlenhanced.js
Find:
CODE
if ( co_ords[0] > my_width )
{
//----------------------------------
// Keep it on screen
//----------------------------------
final_width = my_width - divwidth;
}
if ( co_ords[1] > my_height )
{
//----------------------------------
// Keep it on screen
//----------------------------------
final_height = my_height - divheight;
}
Replace with:
CODE
if ( co_ords[0] > my_width )
{
//----------------------------------
// Keep it on screen
//----------------------------------
final_width = my_width - divwidth;
}
if ( co_ords[0] < '0' )
{
//----------------------------------
// Keep it on screen
//----------------------------------
final_width = '0';
}
if ( co_ords[1] > my_height )
{
//----------------------------------
// Keep it on screen
//----------------------------------
final_height = my_height - divheight;
}
if ( co_ords[1] < '0' )
{
//----------------------------------
// Keep it on screen
//----------------------------------
final_height = '0';
}
Then, whenever you load up a page and click on "My Assistant", if it's too far left or too far up, it'll move it over or down for you.