Hi, is there anything special I should enable or set when I want to allow a use to use javascript calls in their web pages While developping with dreamweaver, dreamweaver wanted to update a webpage for newer IE versions. it changed a line to add some javascript : AC_AX_RunContent( 'width','425','height','350','src','http://www.youtube.com/v/t 7oTH52U8N8','type','application/x-shockwave-flash','movie','http://www.youtube.c om/something ); //end AC code and it said to upload : Scripts/AC_ActiveX.js and Scripts/AC_RunActiveContent.js to the ISP. I did this to web1/Scripts/.... while the page is in web1/web/ but it gives me an error now whenever I try to go to the page: Error: Object expected. is there anything I do wrong,or forgot to enable or so ?, or are the names/places incorrect? Thanks in advance for any help.
Javascript is a client side scripting language and has nothing to do with the server or server settings.
Till, I'm aware of that, but the two .js files should be there on server side I think? so I was merely wondering if the web1/Scripts/[both js files] was on the right place for the web1/web/index.html to read them, and if I should enable cgi or something or anything at all, since both the .js files seem unreachable now. thanks
Btw, the htmlpage does direct it to the right place, it's just not working <link rel="stylesheet" href="css/Abe en Henk.css" type="text/css" /> <script src="../Scripts/AC_ActiveX.js" type="text/javascript"></script> <script src="../Scripts/AC_RunActiveContent.js" type="text/javascript"></script> </head>
Falko, thanks, but no that didn't d it. Since it was autoadded by dreamweaver I just took out the javascript tags and went back to the original, then it works at least. I learned here however that I don't need to enable something (like cgi) on the users pages for javascript. thanks
Javascript is executed on the client's computer, so you don't have to enable any server-side scripting languages for it.