Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Design Forum > Web Design & Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Web Design & Programming Discussion of web design, and server-side & client-side scripting

Reply
 
LinkBack Thread Tools
Old 04-15-2009, 05:19 AM   #1 (permalink)
rmb
Registered User
 
Join Date: Jul 2008
Posts: 43
OS: Windows XP Pro Service Pack 2


Send a message via Skype™ to rmb
Suprised Errors Validating my XHTML

I have just validated my home page, which came up with 27 errors.

http://www.stereofx.net/index.htm

Most of the errors come from the Flash music player which the code was automatically generated - I don't know anything about Flash yet...

Other errors are XML parsing errors which I have no idea why they are errors.

Any help will be greatly appreciated! Thanks in advance.
rmb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 04-16-2009, 03:03 PM   #2 (permalink)
Design Team Member
 
jamiemac2005's Avatar
 
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,879
OS: Vista, various linux distros


Re: Errors Validating my XHTML

Hey to cut down a few of those errors to start you need to change:

Code:
<link rel="icon" href="http://www.stereofx.net/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
to

Code:
<link rel="icon" href="http://www.stereofx.net/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
and
Code:
<embed src="http://www.junodownload.com/flash/portable/" FlashVars="branding=download&amp;playlist_url=http%3A%2F%2Fwww.junodownload.com%2Fplaylists%2Fdynamic%2Flabel%2FStereo%252BFX%2Fnewest%2F100.xspf&amp;tracks_only=1" width="460" height="280" type="application/x-shockwave-flash" /></embed>
to


Code:
<embed src="http://www.junodownload.com/flash/portable/" flashvars="branding=download&amp;playlist_url=http%3A%2F%2Fwww.junodownload.com%2Fplaylists%2Fdynamic%2Flabel%2FStereo%252BFX%2Fnewest%2F100.xspf&amp;tracks_only=1" width="460" height="280" type="application/x-shockwave-flash" /></embed>
Then go through your page looking for any elements that are unended (like the links). Or any attributes that have uppercase characters in there (like "FlashVars"). And change them.

Do that, re-validate and we'll keep on going =]

Cheers,
Jamey
__________________

Myspace
jamiemac2005 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 04-21-2009, 06:14 AM   #3 (permalink)
rmb
Registered User
 
Join Date: Jul 2008
Posts: 43
OS: Windows XP Pro Service Pack 2


Send a message via Skype™ to rmb
Re: Errors Validating my XHTML

Thanks for your help on fixing some of those errors. I managed to get rid of those particular errors, then when I re-validated I got something like 72 errors. So I decided to re-design my home page, which is now looking like 20 times better, only I have now got 99 errors and a problem with my flash video player which brings me to 2 questions:

1. I have inserted a Flash Video (via dreamweaver's 'insert flash video option) and does not show when I go into my site.

- http://stereofx.net (will show a blank white space)

- screenshot - http://www.stereofx.net/images/screenshot.jpg

The screenshot displays what the page should look like.

I have searched this problem and found a server related problem which does not recognize .flv files - my server host claims the problem is not on their side...

Any idea's what is causing this???

2. Most of the errors when I validate the page come from the javascript (which never came up before). All my pages on my site have that same javascript code which make the buttons work etc. Is there a way I can cut the javascript from all the pages on the site, paste it in to 1 html file and just link it up to all the webpages? - Like CSS?

Thx!
rmb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 04-21-2009, 08:58 AM   #4 (permalink)
Design Team Member
 
jamiemac2005's Avatar
 
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,879
OS: Vista, various linux distros


Re: Errors Validating my XHTML

Hey, the reason your video player is not showing up is because you have not uploaded (to your webserver/host/whatever) the file "Scripts/AC_RunActiveContent.js". Or you've uploaded it to a different place, the way to fix this is upload "Scripts/AC_RunActiveContent.js" to "http://stereofx.net/Scripts/AC_RunActiveContent.js"...

AS for the javascript errors, i can't find the cause myself because dreamweaver's JS is messy. I'll take a look over it when i can. But the way to have one script file across many pages is:
1) move the code between the two script tags into a ".js" ending file.
2) Upload the .js file somewhere
3) change the script tags to:
HTML Code:
<script language="javascript" src="yourscriptfile.js" type="text/javascript"></script>
Cheers,
Jamey
__________________

Myspace
jamiemac2005 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 04-21-2009, 04:19 PM   #5 (permalink)
rmb
Registered User
 
Join Date: Jul 2008
Posts: 43
OS: Windows XP Pro Service Pack 2


Send a message via Skype™ to rmb
Re: Errors Validating my XHTML

I completly missed those script files! Thanks, I owe you one! :)

I'm going to attempt to move the javascript to 1 .js file. You'll hear from me if I go wrong.

Thanks again!

Last edited by rmb; 04-21-2009 at 04:21 PM.
rmb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 04-21-2009, 04:55 PM   #6 (permalink)
Design Team Member
 
jamiemac2005's Avatar
 
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,879
OS: Vista, various linux distros


Re: Errors Validating my XHTML

Good luck =]

Cheers,
Jamey
__________________

Myspace
jamiemac2005 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


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

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




All times are GMT -7. The time now is 09:21 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85