Sorry Marcelo,

I think you sent this to the wrong person.

I was asking about another matter entirely.

It was only posted about an hour ago concerning the getScript function and issues with document.write

Regards



Ian Thomas

On 16/02/2010 13:34, Marcelo wrote:
You need to define var sidebar before attempting to append any
children to it.
Move line 88 to about 28 and get rid of line 89. You don't need that.

Also, it would be good practice not to use the same name as a DOM id
and a variable, so you could change

  <div id="sidebar" ...
to
  <div id="sidebarDiv" ...

and accordingly

  var sidebar = document.getElementById('sidebar');
to
  var sidebar = document.getElementById('sidebarDiv');

This is all basic javascript, and not in the scope of this forum, so I
don't really know why I'm answering. I guess I must be bored.

--
Marcelo - http://maps.forum.nu
--




On Feb 16, 12:59 pm, Ahunter61<[email protected]>  wrote:
link to page  http://www.conneroutdoors.com/hunting/atest.htm
I'm still new to javascript,
I am having a problem with line 70 'sidebar' null or not an object
not sure of a solution

also having problem getting the sidebar click function to work
I think the problem is in line# 107 or 108

Thanks any help would be greatly appreciated

--
You received this message because you are subscribed to the Google Groups "Google 
Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to