Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Site Design > Graphics & Design Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-22-2004, 12:49 PM
WebProWorld Member
 

Join Date: Oct 2003
Location: Woodbine Georgia
Posts: 49
gene02 RepRank 0
Default sripting help

1. This page has JavaScript! It doesn't matter for which purposes you use JavaScript, e.g. drop-down menus, put it at the end of HTML Body or place into a separate file, e.g. menu.js. This will move the important content closer to the beginning of this page and improve its keyword prominence.

this is the message I get from my SEO tool I don't know what a menu.js is how do I build one?
__________________
Thanks For Your Time
Gene Crain
http://www.kat28.com
http://www.6thsigmahosting.com
http://www.justwebsitedesign.com
Reply With Quote
  #2 (permalink)  
Old 01-22-2004, 04:29 PM
WebProWorld Member
 

Join Date: Jan 2004
Location: Hollywood, CA
Posts: 88
spice RepRank 0
Default

it's just a text file with a .js extension instead of .txt

So what they're saying is, if you have this on your page:

<script>

function blahblah() {

... whatever ...

</script>

cut that all out of your html pages and place it instead in external .js files, then reference those. it will clean up your pages and make updates to multiple pages dramatically easier.
Reply With Quote
  #3 (permalink)  
Old 01-22-2004, 07:20 PM
WebProWorld Pro
 

Join Date: Jan 2004
Location: Milton Keynes, UK
Posts: 117
DarrenPWS RepRank 0
Default Doing it

To do this, simply create open a new page in Notepad, or whatever you use, and include all of the javascript, but delete the <script language=javascript>and </script> tags from it. Then save it as "Filename.js" .

Once you have done that, simply place the following code into the <head> section...

<script src="location/filename.js" type="text/javascript"></script>

Do this for all of them, it makes life easy!!

Good Luck,

Darren Darkins
Reply With Quote
  #4 (permalink)  
Old 01-22-2004, 07:21 PM
WebProWorld Member
 

Join Date: Oct 2003
Location: Woodbine Georgia
Posts: 49
gene02 RepRank 0
Default spice thank for the reply

but putting the script on the page is what made the message come up. sowhat you are telling me is to put all of my script on text page give it js. extension then place this script backin html? let me know if this is correct because I couldn't fint the correct script to read the js.
__________________
Thanks For Your Time
Gene Crain
http://www.kat28.com
http://www.6thsigmahosting.com
http://www.justwebsitedesign.com
Reply With Quote
  #5 (permalink)  
Old 01-23-2004, 08:53 AM
WebProWorld Member
 

Join Date: Oct 2003
Location: Woodbine Georgia
Posts: 49
gene02 RepRank 0
Default Thanks Darren

that is the ticket it work perfectly
can you hide flash the same way? My next goal is to get flash on side page. Thanks Again Good Job
__________________
Thanks For Your Time
Gene Crain
http://www.kat28.com
http://www.6thsigmahosting.com
http://www.justwebsitedesign.com
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum
Tags: ,



Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0