[advanced search]
Results from the most recent live auction are here.
22 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Programming
User Name
Password

Old 01-27-2004, 05:49 AM   · #1
Emilman
New Member
 
Trader Rating: (0)
Join Date: Jan 2004
Posts: 3
NP$: 6.00 (Donate)
Emilman is an unknown quantity at this point
Java Problem

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!


Please register or log-in into NamePros to hide ads
Emilman is offline   Reply With Quote
Old 01-27-2004, 10:35 AM   · #2
Jeanco
RyanPrice.ca - Developer
 
Name: Ryan Price
Trader Rating: (28)
Join Date: Dec 2003
Posts: 1,331
NP$: 34.00 (Donate)
Jeanco is a jewel in the roughJeanco is a jewel in the roughJeanco is a jewel in the rough
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.
__________________
Ryan Price - Webmaster
www.HostDurham.com - For Hosting | www.jeanco.ca - For Webdesign
Jeanco is offline   Reply With Quote
Old 01-27-2004, 10:47 AM   · #3
blouis
NamePros Member
 
Name: Bryan Louis
Location: GB, WI
Trader Rating: (0)
Join Date: Dec 2003
Posts: 69
NP$: 117.00 (Donate)
blouis is an unknown quantity at this point
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
__________________
Bryan Louis
-Xeplin Development-
http://www.xeplindevelopment.com
-Personal-
http://www.bryanlouis.net
blouis is offline   Reply With Quote
Old 01-27-2004, 11:51 AM   · #4
Emilman
New Member
 
Trader Rating: (0)
Join Date: Jan 2004
Posts: 3
NP$: 6.00 (Donate)
Emilman is an unknown quantity at this point
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?
Emilman is offline   Reply With Quote
Old 01-27-2004, 01:21 PM   · #5
Jeanco
RyanPrice.ca - Developer
 
Name: Ryan Price
Trader Rating: (28)
Join Date: Dec 2003
Posts: 1,331
NP$: 34.00 (Donate)
Jeanco is a jewel in the roughJeanco is a jewel in the roughJeanco is a jewel in the rough
yup
__________________
Ryan Price - Webmaster
www.HostDurham.com - For Hosting | www.jeanco.ca - For Webdesign
Jeanco is offline   Reply With Quote
Old 01-27-2004, 01:21 PM   · #6
blouis
NamePros Member
 
Name: Bryan Louis
Location: GB, WI
Trader Rating: (0)
Join Date: Dec 2003
Posts: 69
NP$: 117.00 (Donate)
blouis is an unknown quantity at this point
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.
__________________
Bryan Louis
-Xeplin Development-
http://www.xeplindevelopment.com
-Personal-
http://www.bryanlouis.net
blouis is offline   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Site Sponsors
Pimps/RPG Game Script Hunting Moon Proof is in the Parking
Advertise your business at NamePros
All times are GMT -7. The time now is 10:00 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0