Fo the reloading,
Hold the shift key down while you click on the reload button,
this forces a reload-from-server.
----- Original Message -----
From: "Hershel Robinson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 21, 2001 5:38 AM
Subject: [Dynapi-Help] NS onLoad troubles (I think)
> I was very lucky that in my last job, the entire web site was for internal
> use only and the boss only used IE. I now have a new client and he of
> course wants to support NS. I have NS 4.61 for testing purposes and the
> following script does NOT work. Can anyone give me any clues as to why?
>
> When I run it, I get the first alert but not the second. I have not
> included the rest of the script with the function definitions. The script
> works fine in IE 5.51.
>
> This is the HTML page:
> <HTML>
>
> <HEAD>
> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="TEXT/HTML; CHARSET=WINDOWS-1252">
> <TITLE>J.CO.IL Slide Show</TITLE>
> </HEAD>
>
> <SCRIPT LANGUAGE="Javascript"
> src="..\\Development\\dynapi\\src\\dynapi.js"></SCRIPT>
> <SCRIPT LANGUAGE="Javascript">
> DynAPI.include('LOCALslides.js','.');
> </SCRIPT>
> <body bgcolor='black'>
> </body><font color='white'>xa</font>
> </html>
>
> This is LOCALslides.js:
>
> /////////////////////////////////////////
> //
> // slides.js
> //
> ////////////////////////////////////////////
> DynAPI.setLibraryPath('../Development/dynapi/src/lib/')
> DynAPI.include('dynapi.api.*')
> DynAPI.include('dynapi.gui.dynimage.js')
> DynAPI.include('dynapi.widgets.slide.js')
> DynAPI.include('dynapi.event.*')
> DynAPI.include('films.js','.') // loads Films variable
>
> var titleLayer
> var marqueeLayer
> var buttonDirectionsLayer
> var returnLayer
> var directionsLayer
> var enlargeLayer
> var filmFrameWidth = 243
> var filmLength
> var filmName
> var filmImages
> var filmFrames
> var filmScreen
> var filmActive = false
> var pictureFrame
> var pictureNumber
> var buttonLyr
> var closeButtonLyr
> var midScreen = screen.width/2
> var dist = 5 // distance of buttons from edge of their background
>
> alert("1")
>
> ////////////////////////
> //
> // onLoad -- main program
> //
> ////////////////////////
> DynAPI.onLoad = function() {
> alert("1")
> makePreview()
> buildButtons()
> }
>
> Thanks,
> Hershel
>
> PS: If anyone got this far, I have another question. Everytime I run this
> script on NS and it fails, I have to restart NS and reload the page after
I
> edit it. It won't allow me to just reload. This is of course extremely
> frustrating. Any ideas on this are also appreciated.
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help