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 ;)
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.