Arun,
The only way to make this function available to someone who works offline
or downloads the html page is to code the function in the page itself
instead of including it in your .js file.
Example:
<SCRIPT language="JavaScript1.2">
function pupupWindow(parameter1) {
// Code goes here
}
</SCRIPT>
Good luck!
-Mike H.
> Hi,
>
> I am including a .js file in my html page, the script is executing
> correctly.
> But over the internet when the user works offline or if he downloads the
> html page the .js file will not be accessable to him.
>
> In the .js file i have a function to popup a new window, it is called
when
> the user clicks on the image in the html page so when the user works
offline
> or if he downloads the html page and clicks the image it show a dialog
box
> to connet to the internet or error it displays a error message.
>
> i also tried in by specifying the type as "text/javascript" (<script
> type="text/javascript">)
>
> Can anyone help me.....:)
> regards
> arun
>