Help - Search - Members - Calendar
Full Version: Any way to get My Assistant down?
Invision Power Services > Community Forums > Community General Chat
.Timmy
Well, I was messing around with My Assistant yesterday and I accidently got it stuck to where I can't move it back down.

I thought this was fixed in one of the beta releases, but apparently it's not.

Click to view attachment
.Wolfie
Clear your cookies (I think that'll do it).

But it is an interesting bug.

How'd you get it up there to begin with anyways? laughing.gif
.Timmy
I have already tried clearing my cookies. :\
.Logan
You can easily get it stuck if you put it way up there and you can't see where your cursor is going. Clearing cookies should fix the problem.

Ahh so that didn't help, hmm, I guess that information is stored in the database? Try clearing your cache maybe just to see?
.Timmy
Cleared my cache, didn't make a difference.
.Wolfie
hmmmmm
.Kris
Do you use Firefox?
Quillz
Did this happen on the Company Forums? I think this is a bug that Matt already knows about.
.Wolfie
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.
.Timmy
This is on here, not on my test board.

Why would I have the IPS logo on my test board? :-"
.Wolfie
Oh.. Well you can still make that change to your test forums to fix it for your site.. laughing.gif

Ok then back to the cookies...

Look for the forums.invisionpower.com, named "ipb-myass-div"

Delete that one. It's the one controlling it.
.Timmy
That seemed to have worked. Thanks thumbsup.gif
.Wolfie
No problem. I'm glad I was able to help invisionize for a change. laughing.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.