flash/javascript banner won't validate

This is a discussion on "flash/javascript banner won't validate" within the Starting Out section. This forum, and the thread "flash/javascript banner won't validate are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Starting Out

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jul 9th, 2007, 03:03
Junior Member
Join Date: Mar 2007
Location: Wilts, UK
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Question flash/javascript banner won't validate

Hi, another problem.

The charity website I'm working on has an affiliate link and they have 'flash banners' that can be copied & pasted into websites. But I can't make it validate, I tried changing the stuff in the tags to lowercase but it still had loads of errors. I know absolutely nothing about flash or javascript (are they the same?) This is the code

<SCRIPT LANGUAGE="JavaScript" SRC="http://b1.perfb.com/cfujs.php?CID=2&PURL=buy.at/northwiltsholidayclub&clr=eeee00&txtclr=cc0000"></SCRIPT>


What can I do to make it validate?
Thanks.
Reply With Quote

  #2 (permalink)  
Old Jul 9th, 2007, 12:29
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: flash/javascript banner won't validate

A link to the site would help.
Reply With Quote
  #3 (permalink)  
Old Jul 9th, 2007, 15:07
Junior Member
Join Date: Mar 2007
Location: Wilts, UK
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Re: flash/javascript banner won't validate

I haven't got it on the site because it wouldn't validate, but it's at http://www.northwiltsholidayclub.org.uk/. The doctype is xhtml strict.
Reply With Quote
  #4 (permalink)  
Old Jul 9th, 2007, 15:14
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: flash/javascript banner won't validate

4. Differences with HTML 4
Quote:
4.2. Element and attribute names must be in lower case

XHTML documents must use lower case for all HTML element and attribute names. This difference is necessary because XML is case-sensitive e.g. <li> and <LI> are different tags.
Reply With Quote
  #5 (permalink)  
Old Jul 27th, 2007, 12:49
Junior Member
Join Date: Mar 2007
Location: Wilts, UK
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Re: flash/javascript banner won't validate

I tried changing all the tags to lower case but there were stilll problems, this area of the code seemed to be a particular problem:

2&PURL

I know that '&' can be a problem and there are caps here that I can't change, or can I?
Reply With Quote
  #6 (permalink)  
Old Jul 27th, 2007, 13:13
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: flash/javascript banner won't validate

& should be changed to &amp;

http://www.htmlhelp.com/reference/ht...es/latin1.html
Reply With Quote
  #7 (permalink)  
Old Aug 6th, 2007, 23:06
Junior Member
Join Date: Jul 2007
Location: Los Angeles
Age: 31
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Re: flash/javascript banner won't validate

You also need this as your HTML tag:

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
Reply With Quote
  #8 (permalink)  
Old Aug 7th, 2007, 23:47
Junior Member
Join Date: Mar 2007
Location: Wilts, UK
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Re: flash/javascript banner won't validate

Aha I thought there was something missing from the top bit - is this before <head>?
Thanks for the tips.
Reply With Quote
  #9 (permalink)  
Old Aug 7th, 2007, 23:56
Junior Member
Join Date: Jul 2007
Location: Los Angeles
Age: 31
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Re: flash/javascript banner won't validate

Yes, replace the existing <html> with the above
Reply With Quote
Reply

Tags
flash, javascript, validate

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flash Banner Help Please confused Flash & Multimedia Forum 3 Jan 24th, 2008 23:33
Getting flash to validate? newoptical Flash & Multimedia Forum 3 Jun 29th, 2007 21:51
Help editing flash banner koopa Flash & Multimedia Forum 5 Jun 10th, 2007 16:54
Need Flash Banner Designer FrontEndAudio Job Opportunities 0 May 8th, 2007 16:24
Flash banner ... $50 taylor04 Job Opportunities 1 Aug 22nd, 2006 22:52


All times are GMT. The time now is 01:58.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

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