Includes : WinConfig

By w35l3y Last update Nov 17, 2011 — Installed 64,585 times.

Need help

in
Subscribe to Need help 4 posts, 2 voices



Backslash Scriptwright
FirefoxWindows

I put the require statement for both of the js documents mentioned, and copied one of the examples to one of my functions, added an addeventlistener to an object, but still It does not show the popup. What could be wrong? Here is part of my code:

var Item1 = document.createElement("div");
Item1.innerHTML = "File";
Item1.setAttribute("style", "position:absolute;left:5px;top:1px;font-family:MS Sans Serif;font-size:10pt;");
Item1.addEventListener('click', Item1Actions, false);
TopBar.appendChild(Item1);
function Item1Actions()
{
//This is where i put the code
}

 
w35l3y Script's Author
FirefoxWindows

you have to reinstall the script every time you change something in the metadata block.

ps.: consider using <pre> instead of <code>

 
Backslash Scriptwright
FirefoxWindows

I didnt mean the NQ one, that was ofr testing since i wanted to see the code with your beautifier :P

The box isnt showing up on a script i havent uploaded yet

 
w35l3y Script's Author
FirefoxWindows

lol
the beautifier is one of the scripts i like most

there are only 2 possibilities that i can think for now:

1) you haven't reinstalled the script after changing the metadata block
2) you haven't loaded the default css and the box is showing up on the bottom of the page

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel