include page does not work with java script

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a java script that I basically copy/pasted into my html of a new page
.... it worked perfectly on the original page when I previewed it. I uploaded
it ... I typed in the url and it worked fine. I then inserted that "page"
onto my index page and the script does not work :( I'm not super "versed" in
html but any help I can get would be appreciated!!! See it on
www.CarriageTraders.com
 
You didn't tell us where on the site/page this include is.

Include pages only pulls the information from between the <body> </body>
tags.
Most JavaScipts require a placement in the head, also, between the <head>
</head> tags.

Thus, the JS won't work.

You can try to move the portion that is supposed to go in the head into the
body, and see if it works. It sometimes does.
--
===
Tom Willett
Microsoft MVP - FrontPage
---
FrontPage Support:
http://www.frontpagemvps.com/
===
|I have a java script that I basically copy/pasted into my html of a new
page
| ... it worked perfectly on the original page when I previewed it. I
uploaded
| it ... I typed in the url and it worked fine. I then inserted that "page"
| onto my index page and the script does not work :( I'm not super "versed"
in
| html but any help I can get would be appreciated!!! See it on
| www.CarriageTraders.com
 
Back
Top