Everything on my user accounts panel panther mod is working splendidly except for one little item which has me stymied. I've tried everything I can think of, so I am looking for some help out there anywhere. If you are good with javascript, I'd appreciate it if you can take a gander at my problem.
the probblem is best explained by the pic below... as you can see, the current user image is not showing up in the right location. This image is called up through a javascript (not my idea, Microsoft's idea) and nothing I've tried for rescripting it is working... the arrow points to where it should be placed...

here is the related java script:
[size=2]
function PageInit()
{
var oUser = top.window.g_oSelectedUser;
var bSelf = top.window.IsSelf();
top.window.PopulateLeftPane(bSelf ? idRelatedTaskContent.innerHTML : null, idLearnAboutContent.innerHTML, idPreview.innerHTML);
top.window.idPicture.src = oUser.setting("Picture");
_szPictureSource = oUser.setting("PictureSource");
if (_szPictureSource)
{
if (0 == _szPictureSource.length)
_szPictureSource = null;
else
_szPictureSource = _szPictureSource.toLowerCase();
}
var szTitle = bSelf ? idPageTitle.innerHTML : idAltPageTitle.innerHTML;
idPageTitle.innerHTML = szTitle.replace(/%1/g, top.window.GetUserDisplayName(oUser));
idWelcome.ttText = top.window.L_Welcome_ToolTip;
EnumPics(top.window.GetShell().NameSpace(35).Self.Path + "MicrosoftUser Account PicturesDefault Pictures");
window.setTimeout("InitCameraLink();", 0);
idPictures.focus();
}
[/size]
here is the related html in the body:
Is there a way to perhaps separate these into two functions and make the call for the current user pic by itself and repositionable in its own table or layer? Is the use of innerHTML even necessary? Can't this be done with a img.src = script? I've tried it but couldn't get it to work for some reason. Any ideas? Otherwise this mod is good to go.
Thanks.
Aqua-Soft Forums