Jump to content

Strange Error...Adding a gadget from the list of the sidbar


Dagnelino

Recommended Posts

Hello, thx 4 your work, is awesome, and excuse my terrible english :(

I Have succesfully installed the Sidebar on XP, but when i click on a gadget ,for example Recycle Bin, on the gadget gallery, for insert into sidebar, this error apperars:

Line 299, library not registered.

Open for debugging with VS2005 and i have an error on :

background.removeObjects();

the function:

function applyDockedStyles()

{

gadgetWidth = "130px";

gadgetHeight = "64px";

background.removeObjects();

var imgBin = isEmpty ? "images/EmptyDocked.png" : "images/FullDocked.png";

var _xOffset = (System.Gadget.Sidebar.dockSide == "Right") ? 64 : 0;

background.addImageObject(imgBin, _xOffset, 0);

hitbox.style.width = (gadgetWidth.replace("px", "") - _xOffset) + "px";

hitbox.style.left = _xOffset + "px";

}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...