Yeah I tried that, didn't help though. Its such a pain as everything was working fine before I reinstalled windows and its the same PC with the same software on it...
My Win XP machine became sluggish (as they do) so I decided to format and reinstall Windows. I've added exactly the same software and windows updates as I had on there before, yet know, when I try to play shockwave games on websites, IE7 crashes. Event viewer shows error in iml32.dll.
I've...
ok, the part of the function is:
for (x=0; x < files.length; x++) {
var newbutton = document.createElement("button");
var buttonText = document.createTextNode(files[x]);
newbutton.onclick = function() {newFunction(files[x])};
newButton.appendChild(buttonText)...
Sorry monksnake, I've tried that and it still doesn't pass the parameter accross. The code works and doesn't generate any errors but any attempts to retieve the parameter in the next function are met with an empty string...
I guess I could set the id to be the parameter instead of the onclick and then use the next function to grab the id instead of just receiving it as a parameter...
Thanks for the advice, shame IE just can't use the setAttribute like FireFox can....
thanks for the advice dwarfthrower, the className bit worked for setting the class and the buttons now pick up the correct style.
I'm still having trouble with the onclick though, I tried
using newbutton.attachEvent("onclick", showContent(files[x])); but I'm getting a 'type mismatch' error...
Hi,
I'm using AJAX to get a list of filenames from the server and create buttons based on which filenames the script finds, so if it finds one file in the specified directory it will generate and add one button to the page, then the intention is that clicking that button will load some more...
thanks monksnake, the links in the page you linked to weren't great but made me laugh, the link to the solution to the firefox problem just says that firefox insn't actually supported! But thankfully I got it working, I was using the wrong damn type attribute. Strangely enough, to make video...
Hi,
I am trying to embed an rv file created with realproducer basic in a web page. I am using the following code:
<object classid="clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" type="application/vnd.rn-realplayer-javascript" >
<param name="src" value="mymovie.rv">
<param...
I'll try the Regsrv32 thing as instructed and post the result... I'm just trying to tidy things up a little and make things easier so that instead of having a while bunch of ICO files and just use the one dll, besides anyone can move files around, I guess I just want to do it the technical way ;)
Kinda two questions in one...
Firstly, I know system32.dll is a repository for all of the standard windows folder icons, and I have a program which lets you open the DLL and view/extract the various ICO files but I want to know if its possible to add new ICO files to the system32.dll file? It...
Thanks for the info. I have a different problem at the moment which is also preventing me from using active sync (I had linux on a seperate partition and I screwed up repairng the MBR, had to reinstall the core windows files and somehow removed my USB2 drivers), but as soon as I get that fixed...
...have been unable to connect/sync my windows mobile device. I know AVG is the problem because if I quit the control centre and stopp all avg*** services I can then connect.
I have specifically allowed all active sync applications in the firewall applications list but this has not helped.
I...
I dont use x in any functions that call this function, but I do use it elsewhere in other unrelated functions...
I will experiment with the onload function, I see what you mean now about placement, when you mentioned it yesterdsay I thought you meant putting it each of the pages loaded into the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.