PDA

View Full Version : change to javcascript



chkoay
04-09-2010, 03:43 AM
I have a script of popover
is too long , I wish to make it to 2 javascript files
but It didnt work
please help
Thank you :eek:

The scripts as below

jscheuer1
04-09-2010, 04:55 AM
Why make it two? One file is fine. Just get rid of (from the beginning):


<SCRIPT language='JavaScript' type=text/javascript>
<!--

and (from the end):


//-->
</SCRIPT>

Save it as java.js (the name isn't important, it's just a way to reference it in your page). Then in your page put:


<script type="text/javascript" src="java.js"></script>