Dynadot โ€” .com Transfer

Java Problem

SpaceshipSpaceship
Watch
Impact
0
I'm new to this forum but have come here hoping to get some needed help and then maybe I can help someone else in return. I am using Dreamweaver 2004 and am using a template. My problem is that the template uses java script for my drop down menus etc. and is in the main code. When I evaluate it for submitting it to search engines I get the warning that my java needs to be put into a separate folder so the bots can spider my site. My problem is how do I put all my java into a folder away from the other code and it all still work properly? I am totally mystified. My website is www.emilitarymanuals.com an any help or instruction to solving this problem will be greatly appreciated!!

Thanks in advance for the advice!
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
well you could use shtml or php 'include' code to have it in a seperate folder an include it at run time but I'm not sure thats what your after here.
 
0
•••
You can have this little snippit of code in your page structured like this
Code:
<html>
<head>
<title>TITLE OF YOUR PAGE</title>
</head>
<script language="JavaScript" src="/js/java.js"></script>

rest of your html below
 
0
•••
blouis,

I am assuming you mean to copy all my java script and put it in a folder named "java.js" then put that snippet in and it will load everything as it does now?
 
0
•••
yup
 
0
•••
kinda, you have a folder called whatever you want we'll use "javascript" for example, then you have in there a file called "java.js" for example then in the like where it points to it you have the path to the .js file

in my example it would be
src="/javascript/java.js">

does that make more sense??

yea yea you take out all your java that you have in that page and paste it into the .js file.
 
0
•••
Dynadot โ€” .com TransferDynadot โ€” .com Transfer
Appraise.net
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomainEasy โ€” Payment Flexibility
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back