javascript ??

Discussion in 'Installation/Configuration' started by coolen, Nov 23, 2008.

  1. coolen

    coolen New Member


    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','
    om/something ); //end AC code

    and it said to upload :
    Scripts/AC_ActiveX.js and

    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.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Javascript is a client side scripting language and has nothing to do with the server or server settings.
  3. coolen

    coolen New Member


    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.

  4. coolen

    coolen New Member


    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>
  5. falko

    falko Super Moderator ISPConfig Developer

    Try web1/web/Scripts.
  6. coolen

    coolen New Member


    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.

  7. falko

    falko Super Moderator ISPConfig Developer

    Javascript is executed on the client's computer, so you don't have to enable any server-side scripting languages for it.

Share This Page