HTML Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsOtherHTML Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread SEO Chat Forums Sponsor:
  #1  
Old May 10th, 2006, 12:58 PM
jwatsonl's Avatar
jwatsonl jwatsonl is offline
SEO at Sea
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Apr 2006
Location: Utah
Posts: 331 jwatsonl User rank is Corporal (100 - 500 Reputation Level)jwatsonl User rank is Corporal (100 - 500 Reputation Level)jwatsonl User rank is Corporal (100 - 500 Reputation Level)jwatsonl User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 3 Days 19 h 51 m 2 sec
Reputation Power: 8
Send a message via AIM to jwatsonl Send a message via Yahoo to jwatsonl
External javascript

Hey, I could use a little help here. I am trying to put all my javascript on a separate page. The google adsense and search box for example. I am using the <script language="JavaScript" type="text/JavaScript" src="*.js"> command but cannot get it to work.
I know that having java on the page can hinder SEO so this is very important to me.. please help.

Josh
www.academylaw.com

Reply With Quote
  #2  
Old May 10th, 2006, 10:27 PM
gcnason gcnason is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Posts: 62 gcnason User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 h 28 m 52 sec
Reputation Power: 4
Quote:
Originally Posted by jwatsonl
Hey, I could use a little help here. I am trying to put all my javascript on a separate page. The google adsense and search box for example. I am using the <script language="JavaScript" type="text/JavaScript" src="*.js"> command but cannot get it to work.
I know that having java on the page can hinder SEO so this is very important to me.. please help.

Josh
www.academylaw.com

Sounds like it should work, are you closing the tag too?

<script language="JavaScript" src="includes/nav.js" TYPE="text/javascript"></script>

Javascript doesn't necessarilly hinder SEO, the bots will just ignore it, but it's preferred to keep Javascripts in an external file to keep your actual body copy as high in the html code as possible, not buried under umpteen lines of code. It's better to have your keywords on line 10 of the HTML file than line 110 under 100 lines of JavaScript.

So, maybe post your html and javascript files so we can maybe see why they aren't working.

Reply With Quote
  #3  
Old May 10th, 2006, 10:47 PM
brandall brandall is offline
Contributing User
SEO Chat Regular (2000 - 2499 posts)
 
Join Date: Aug 2004
Location: Bay Area, CA
Posts: 2,350 brandall User rank is Sergeant Major (2000 - 5000 Reputation Level)brandall User rank is Sergeant Major (2000 - 5000 Reputation Level)brandall User rank is Sergeant Major (2000 - 5000 Reputation Level)brandall User rank is Sergeant Major (2000 - 5000 Reputation Level)brandall User rank is Sergeant Major (2000 - 5000 Reputation Level)brandall User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Weeks 3 Days 5 h 59 m 33 sec
Reputation Power: 46
Your code is a mess. That is probably why your JS is not loading. This is how your home page code begins:

Code:
<head>
	<title>Credit Report Repair - Academy Law - Bad Credit Repair</title>
	<meta name="description" content="Credit Report Repair with Academy. Our law firm can fix your credit. Full warranty.">
	<meta name="keywords" content="credit repair,credit report repair,credit repair services,credit report repair services,credit repair service,credit repair company,repair bad credit,legal credit repair,credit repair help">

	<meta name="robots" content="index,follow">
<META NAME="ColdFusionMXEdition" CONTENT="ColdFusion DevNet Edition - Not for Production Use."></head>
<div align="center">
	<table border="0" cellpadding="0" cellspacing="0"> 
		<tr> 
  			<td colspan="2" valign="top">
				<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head>
<body


You need to start with the DOCTYPE and then <html>. Then you have your first <body> tag nested in your second <head> tag plus several additional <body> and </body> tags through the document.

Whatever you are using to code your pages isn't working. It looks like you pasted several pages, each built in a WYSIWYG editor together into one page. Generally not a good idea.

Run your code through a html validator, fix the errors and then the JS call you describe above will work fine. Just make sure the scr reference is correct.
__________________

"Live never to be ashamed of what is written about you. Even if what is written is not true" -- Richard Bach

Yahoo Store SEO

Reply With Quote
  #4  
Old May 15th, 2006, 04:33 PM
jwatsonl's Avatar
jwatsonl jwatsonl is offline
SEO at Sea
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Apr 2006
Location: Utah
Posts: 331 jwatsonl User rank is Corporal (100 - 500 Reputation Level)jwatsonl User rank is Corporal (100 - 500 Reputation Level)jwatsonl User rank is Corporal (100 - 500 Reputation Level)jwatsonl User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 3 Days 19 h 51 m 2 sec
Reputation Power: 8
Send a message via AIM to jwatsonl Send a message via Yahoo to jwatsonl
thanks

Thank you both, I will work on this and post my results. Thanks.

Reply With Quote
  #5  
Old November 4th, 2009, 09:27 AM
tag44's Avatar
tag44 tag44 is offline
Contributing User
Click here for more information
 
Join Date: Mar 2009
Location: Miami, FL
Posts: 189 tag44 User rank is Private First Class (20 - 50 Reputation Level)tag44 User rank is Private First Class (20 - 50 Reputation Level)  Folding Points: 131881 Folding Title: Super Ultimate Folder - Level 1Folding Points: 131881 Folding Title: Super Ultimate Folder - Level 1Folding Points: 131881 Folding Title: Super Ultimate Folder - Level 1Folding Points: 131881 Folding Title: Super Ultimate Folder - Level 1Folding Points: 131881 Folding Title: Super Ultimate Folder - Level 1Folding Points: 131881 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 2 Days 8 h 25 m 47 sec
Warnings Level: 5
Reputation Power: 1
Quote:
Originally Posted by immomiedume
Hey group, what's the buzz word tonight?Somone here want to talk about the news?What's a good topic here to disucss?I'm a newbie here so just want to say hola.


Are you trying to spam this forum by consistently posting unnecessary things here.

Reply With Quote
  #6  
Old November 4th, 2009, 11:32 AM
barlow1984 barlow1984 is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Sep 2009
Location: Leek, UK
Posts: 151 barlow1984 User rank is Sergeant (500 - 2000 Reputation Level)barlow1984 User rank is Sergeant (500 - 2000 Reputation Level)barlow1984 User rank is Sergeant (500 - 2000 Reputation Level)barlow1984 User rank is Sergeant (500 - 2000 Reputation Level)barlow1984 User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 9 h 3 m 26 sec
Reputation Power: 10
Send a message via MSN to barlow1984 Send a message via Skype to barlow1984
seems all his posts have now been deleted, you must have upset him or a mod get there first

Reply With Quote
  #7  
Old November 6th, 2009, 05:05 AM
edosauyi edosauyi is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Nov 2009
Posts: 52 edosauyi Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 8 h 17 sec
Reputation Power: 0
Quote:
Originally Posted by jwatsonl
Hey, I could use a little help here. I am trying to put all my javascript on a separate page. The google adsense and search box for example. I am using the <script language="JavaScript" type="text/JavaScript" src="*.js"> command but cannot get it to work.
I know that having java on the page can hinder SEO so this is very important to me.. please help.

Josh
www.academylaw.com
I had the same problem with one of my first website, you should check if those scripts (i mean that of adsense and search) have not been modified.

Reply With Quote
Reply

Viewing: SEO Chat ForumsOtherHTML Coding > External javascript


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek