That helped! Thanks!!!!!!!
Kasper
----- Original Message -----
From: "Jordi Ministral" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 21, 2001 1:49 PM
Subject: Re: [Dynapi-Help] NS onLoad troubles (I think)
> I'm not sure but:
>
> - If you have a DynAPI.include inside a file that is DynAPI.included, then
what
> you are doing is document.write(<script src=bla) and file bla is
> document.writing(<script src=another). Netscape doesn't like external
scripts
> loading external scripts, imagine inside a document.write. Try having all
the
> DynAPI.includes in your main page and see if everything works.
>
>
>
>
> Hershel Robinson wrote:
>
> > 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
>
>
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help