close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Validating a page which contain Google Maps Pro

Thread began 11/04/2010 5:09 pm by Daryl | Last modified 11/05/2010 10:26 am by Jason Byrnes | 1101 views | 5 replies |

DarylBeta Tester

Validating a page which contain Google Maps Pro

I am having a few problems validating a page which contains Google Maps Pro.

Which Doctype am I supposed to be using for this page?

The first issue relates to the balloon created on the map. The address is within a Span, however validation says that it is not

  end tag for element "SPAN" which is not open  



<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;">2a Cricket Hill<br>Finchampstead<br>Berkshire<br>RG40 3TN</span>



The next 4 errors relate to the Google api key.....

  general entity "v" not defined and no default entity  
  reference to entity "v" for which no system identifier could be generated  
  general entity "key" not defined and no default entity  
  reference to entity "key" for which no system identifier could be generated  



Each time different parts of the api key are highlighted

there are more, but I wont go on just yet.

Sign in to reply to this post

Jason ByrnesWebAssist

you can use whatever document type you like, though looking at the span tag code, the br tag does not get closed, so you should probably use 4.01 transitional.

I would need to see the page to idea on the spoan tag issue.



but the other ones are because of using an "&" in the google script url.


the google script tag will look like:

<script type="text/javascript" src="http://maps.google.com/maps?file=api&v=2&key=........




replace the & with the html enitity:

<script type="text/javascript" src="http://maps.google.com/maps?file=api&v=2&key=........
Sign in to reply to this post

DarylBeta Tester

Thanks - I have attached the file as requested

Attached Files
contact_us.zip
wagmp_map_1.zip
Sign in to reply to this post

Jason ByrnesWebAssist

actually a link would be more helpful than the actual file.

Sign in to reply to this post

DarylBeta Tester

Sorry - http://qcrpainters.com/contact_us.php

Sign in to reply to this post

Jason ByrnesWebAssist

the span tag validation is occuring because it is part of a javascript:
infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;">2a Cricket Hill<br />Finchampstead<br />Berkshire<br />RG40 3TN</span>',

the validator does not think this is valid HTML even though it is. This is a false alert.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...