Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Help! My boss is all over me!
Old 09-21-2007, 10:26 AM Help! My boss is all over me!
Douglife's Avatar
Extreme Talker

Posts: 218
Name: Douglas Montgomery
Location: Florida
Trades: 0
Hey guys, it seems that many people are recieving a "script" error via my pages. I have ran a validation on the page, and it has come up with 22 errors. These errors even though with explanations, are very difficult for me. Also, I don't see any errors that would be keeping people from the page entirely.

This is the URL http://www.wyldpalms.com

Run a validator on it, and please, help me not commit suicide. Thanks again guys!
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Douglife is offline
Reply With Quote
View Public Profile Visit Douglife's homepage!
 
 
Register now for full access!
Old 09-21-2007, 10:43 AM Re: Help! My boss is all over me!
joder's Avatar
Flipotron

Posts: 6,442
Name: James
Location: In the ocean.
Trades: 0
For starters:

1) Why do you have 2 html's
<html xmlns="http://www.w3.org/1999/xhtml">
<html>

Get rid of the second one.
2) Add <head> </head> tags

3) no wonder your boss is mad.
joder is offline
Reply With Quote
View Public Profile
 
Old 09-21-2007, 10:57 AM Re: Help! My boss is all over me!
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
joder's right. There are a number of errors in your code, both from a validation and from a Javascript (your script error) point of view.

<body leftmargin="0" topmargin="0" onLoad=>

onload= what? There should be a function there, or at least some JS code.

I'd strongly suggest that you recode that page from the ground up and externalize both your Javascript and your CSS. It's making your code more confusing to look at when it's all bundled together like that, and it will be much easier to isolate without it all bunched together.

You might also want to open your pages in Firefox as well as IE, and when you look at them in FF, type javascript: into the address bar. A popup window will come up showing you more information on any Javascript and/or CSS errors you're making. It won't be a complete picture, but it will catch more stuff for you.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 09-21-2007, 11:00 AM Re: Help! My boss is all over me!
joder's Avatar
Flipotron

Posts: 6,442
Name: James
Location: In the ocean.
Trades: 0
Your CSS needs to be in a separate document and do your formatting through it.
Add the beginning <head> tag
I see you changed to HTML 1.0 Transitional. If you want transitional go to XHTML 1.0 but I would of course recommend Strict

Take Adam's advice and recode the page.
joder is offline
Reply With Quote
View Public Profile
 
Old 09-21-2007, 11:17 AM Re: Help! My boss is all over me!
Skilled Talker

Posts: 59
Name: Dan
Trades: 0
Did anyone else think this thread would be about sexual harassment in the workplace?
Monkey Do is offline
Reply With Quote
View Public Profile
 
Old 09-21-2007, 11:20 AM Re: Help! My boss is all over me!
Douglife's Avatar
Extreme Talker

Posts: 218
Name: Douglas Montgomery
Location: Florida
Trades: 0
Alright, I've gotten it cleaned up to one error,
  1. Line 348, Column 60: required attribute "ALT" not specified.<area shape="rect" coords="689,83,916,212" href="visit.html"></map>
    The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
    Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
But I can't seem to fix this one. Thanks for the quick responses!
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Douglife is offline
Reply With Quote
View Public Profile Visit Douglife's homepage!
 
Old 09-21-2007, 11:40 AM Re: Help! My boss is all over me!
joder's Avatar
Flipotron

Posts: 6,442
Name: James
Location: In the ocean.
Trades: 0
It gives you the answer. Add alt to the img tag
<img alt="some description" rest of stuff>

EDIT:

Well if you look at line 348, you have stuff there with no tag.

Last edited by joder; 09-21-2007 at 11:42 AM..
joder is offline
Reply With Quote
View Public Profile
 
Old 09-21-2007, 11:45 AM Re: Help! My boss is all over me!
joder's Avatar
Flipotron

Posts: 6,442
Name: James
Location: In the ocean.
Trades: 0
Your code changed on me It is referring to either the map or area tags, both of which can have alt="some description" added to them.
joder is offline
Reply With Quote
View Public Profile
 
Old 09-21-2007, 11:51 AM Re: Help! My boss is all over me!
Douglife's Avatar
Extreme Talker

Posts: 218
Name: Douglas Montgomery
Location: Florida
Trades: 0
Woot! I am going to take some of your advice, and separate the css from the page, I do not have the authority to re-write the code as of yet, but I am pushing for it. ( I don't want to have to work the weekend! ) I am now valid, and I thank you guys so much.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Douglife is offline
Reply With Quote
View Public Profile Visit Douglife's homepage!
 
Old 09-21-2007, 11:54 AM Re: Help! My boss is all over me!
joder's Avatar
Flipotron

Posts: 6,442
Name: James
Location: In the ocean.
Trades: 0
No problem. Good luck!
joder is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Help! My boss is all over me!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.89464 seconds with 12 queries