include page does not work with java script

R

Romeo_Cars

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
 
T

Tom Willett

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top