SEO | Link Popularity | Search Engine Consulting | SEO Tutorial | SEO Tools | SEO Forum
Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-31-2007, 11:38 AM
melaniejk's Avatar
melaniejk melaniejk is offline
SEO
 
Join Date: Apr 2004
Location: PA, USA
Posts: 360 melaniejk will become famous soon enough
Javascript call file help needed

Hi.
Instead of copy and pasting the same links on many pages someone suggested that I call a javascript file. But, I can't get it to work. I'm not sure what I'm doing wrong. I copied the same way they did it.

On this page:
http://www.countycourthouse.us/AL/baldwincounty.html

I put:
<!-- AL Ancestry -->
<script language="JavaScript" src="http://www.countycourthouse.us/AL/ancestry-al.js">
</script>

But, it doesn't show up at all.


I'd really appreciate your help. Thank you.
__________________
Sincerely,
Melanie
Genealogist for your family history.
Reply With Quote
  #2  
Old 05-31-2007, 02:30 PM
dilligaf's Avatar
dilligaf dilligaf is offline
SEO GUY Moderator
 
Join Date: May 2004
Location: Tampa Bay
Posts: 2,865 dilligaf has a spectacular aura aboutdilligaf has a spectacular aura about
<script type='text/javascript' src='http://www.countycourthouse.us/AL/ancestry-al.js'></script>

Then make sure that you're external file is just the script and not <script></script>
Reply With Quote
  #3  
Old 05-31-2007, 07:10 PM
melaniejk's Avatar
melaniejk melaniejk is offline
SEO
 
Join Date: Apr 2004
Location: PA, USA
Posts: 360 melaniejk will become famous soon enough
Ok, I changed the line to what you suggested. And, there is no <script></script> in the external file. But, it still doesn't show up.
__________________
Sincerely,
Melanie
Genealogist for your family history.
Reply With Quote
  #4  
Old 06-01-2007, 08:48 AM
dilligaf's Avatar
dilligaf dilligaf is offline
SEO GUY Moderator
 
Join Date: May 2004
Location: Tampa Bay
Posts: 2,865 dilligaf has a spectacular aura aboutdilligaf has a spectacular aura about
The only other possibilities that come to mind are the location/name/path to the file or an error in the script itself.

I'm assuming that you've used the script in it's entirety on your page and you've just copied the text (between the script tags) and saved it to a text file named ancestry-al.js within the AL directory.

If so, I'm stumped. What does the script do?
Reply With Quote
  #5  
Old 06-01-2007, 08:26 PM
melaniejk's Avatar
melaniejk melaniejk is offline
SEO
 
Join Date: Apr 2004
Location: PA, USA
Posts: 360 melaniejk will become famous soon enough
Ok, it's fixed now. Apparently, it had to do with a line break.
__________________
Sincerely,
Melanie
Genealogist for your family history.
Reply With Quote
  #6  
Old 06-02-2007, 07:59 AM
dilligaf's Avatar
dilligaf dilligaf is offline
SEO GUY Moderator
 
Join Date: May 2004
Location: Tampa Bay
Posts: 2,865 dilligaf has a spectacular aura aboutdilligaf has a spectacular aura about
Glad you got it sorted and congrats on the success of your site!
Reply With Quote
Reply


Thread Tools
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
Forum Jump


Login/Register
User Name
Password
Remember Me?

Forum Links
Forum Home
SEO Forum
Internet Marketing Forum
Web Design Forum
Web Hosting Forum
Programming Forum
SEO Chat

Quick Links
Forum Home
New Posts
Mark Forums Read
Open Buddy List
User Control Panel
Edit Avatar
Edit Profile
Edit Options
Miscellaneous
Subscribed Threads
My Profile

Search Forums

Advanced Search
All times are GMT -8. The time now is 01:20 PM.


Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.