On 6/30/05, Victoria Vitaver <[EMAIL PROTECTED]> wrote: > I have a few problems stemming from including a javascript file into my > publication which is based on the default publication. > > I have created a custom xsl sheet based on page2xhtml.xsl (only a small > difference in the includes). Inside the xsl sheet, to include a javascript > file, I do '<script src="../scripts/calendar.js"> </script>'
Javascript issues should be a problem with XSL, not the XMAP. You forgot the language parameter, and you shouldn't have a separate close tag with the src parameter. Change the tag to: <script language="JavaScript" src="../scripts/calendar.js"/> If that does not fix everything, we need to know the URL so we can see what adding ../scripts/calendar.js makes so we can trace through the sitemaps. I haven't checked Firefox, but Mozilla has a JS console that may help with debugging. (Not the JS Debugger; I never figured out how to do anything productive with that.) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
