Jump to content

Reduce size and javascript pb


Recommended Posts


i'm using ie it works great

it doesn't work in opera. (it didn't usually work b4, i haven't installed opera yet on my new install)

but as mentioed gosh's method shouldn't be changing any java stuff

and I think java script does not depend on java

Link to comment
Share on other sites

Jepp, Javascript has nothing to do with Java. Javascript is a scripting language that runs on Client Side. Java is a programming Language and most of us has the RuntimeEnvironment installed because Java will be compiled directly on Runtime.

The Website has some bugs. There exist 2 times the html, head, title, body tags. Don't know exactly; could be because of including other documents. Then i see VB-Script Code too and i think that should not be...

<script Language="VBScript">
Sub Language_OnChange()
If Form1.Language.Value="English" Then
 location.Replace "http://" & Form1.ServerName.Value & "/ODD/e_index.asp"
ElseIf Form1.Language.Value="Chinese" Then
 location.Replace "http://" & Form1.ServerName.Value & "/ODD/c_index.asp"
End If
End Sub

</Script>

This looks like Code for ASP and has to run on serverside, so that a user that browse the side only should see the completed generated site and not code of VBScript on Clientside in the SourceCode.

This site was created with Microsoft FrontPage 5.0. So i would better never ask for a high compatibility *smile*

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...