JavaScript error on MyPage feature

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
5/9/2007 2:24:07 PM
Gravatar
Total Posts 7

JavaScript error on MyPage feature

I have a question. I'm getting a JavaScript error on the MyPage feature. Whenever I hover the mouse over the Welcome or New Page tabs, an 'Object expected' error happens on lines 7 and 13. Have you seen this error before? Is there a fix/work-around for it? Tthe error is happening on the AddClass and RemoveClass lines in the following snippet.



function Hover__userpagemenu(element)
{
// AddClassUpward__CssFriendlyAdapters(element.firstChild /* gets the inner SPAN or A */, topmostClass, hoverClass);
AddClass__CssFriendlyAdapters(element, hoverClass);
}



function Unhover__userpagemenu(element)
{
// RemoveClassUpward__CssFriendlyAdapters(element.firstChild /* gets the inner SPAN or A */, topmostClass, hoverClass);
RemoveClass__CssFriendlyAdapters(element, hoverClass);
}

Thanks,



Mike

5/9/2007 5:58:24 PM
Gravatar
Total Posts 18439

Re: JavaScript error on MyPage feature

I've never seen that before and am not getting it on this site. If you can tell me steps to reproduce it I'll try to look into it.

Joe

5/9/2007 10:11:08 PM
Gravatar
Total Posts 7

Re: JavaScript error on MyPage feature

This happened on a fresh install.  I created a new user, clicked on the MyPage link, and hovered over the Welcome tab.  The error popped up as soon as the mouse was over the tab.  I saw the same two errors when I hovered over the New Page tab.  If it helps, my site is at http://therockchristainfellowship.christianasp.net/MyPage.aspx.

Thanks for your help,

Mike

 

5/10/2007 7:45:43 AM
Gravatar
Total Posts 18439

Re: JavaScript error on MyPage feature

I see it on your site but its not happening for me locally. I'll put a little more time into looking into it this afternoon and see if I can figure out whats going on. I'll post again once I've had a chance to learn more.

Thanks,

Joe

5/10/2007 8:26:36 AM
Gravatar
Total Posts 7

Re: JavaScript error on MyPage feature

That sounds great.  Thanks again for your help.

5/10/2007 8:41:33 AM
Gravatar
Total Posts 18439

Re: JavaScript error on MyPage feature

I think this is an uneeded script. Although I still haven't been able to produce the symptom locally, I comment out the script registration and it still works as expected.

You can proably solve it on your end by clearing the contents from the /ClientScript/MyPageMenu.js file so that it is just an empty text file.

Please give that a try and let me know. Might be good to back it up first in case that doesn't work.

Thanks,

Joe

5/10/2007 9:21:00 AM
Gravatar
Total Posts 7

Re: JavaScript error on MyPage feature

Great.  I'll give that a try.

Thanks,

Mike

You must sign in to post in the forums. This thread is closed to new posts.