Google HTML wizadry... how do the do this?
Google HTML wizadry... how do the do this?
Author
Discussion

Landlord

Original Poster:

12,689 posts

288 months

Monday 10th May 2010
quotequote all
Hey,

The following link gives an example of a clever Google driving directions gadet, it's even clever enough to give me the code required to get it in my web site.

http://maps.google.com/help/maps/gadgets/direction...

However, I have a question; When you've entered your start and end address and clicked "Go"; how does it stretch the resultant directions bit so it is all shown? When I put it on my web site, it stays the same height and so you can't see the results.

I hope that makes sense!

Thanks,
Phil.


Landlord

Original Poster:

12,689 posts

288 months

Tuesday 11th May 2010
quotequote all
Bump for the daytime crowd. smile

thatone1967

4,271 posts

222 months

Tuesday 11th May 2010
quotequote all
sorry cannot help.. but it's a very cool feature....

zac510

5,546 posts

237 months

Tuesday 11th May 2010
quotequote all
I had a look in the javascript and it looks like jQuery addon is resizing the div id=dynamic_container.

Good luck smile

Landlord

Original Poster:

12,689 posts

288 months

Tuesday 11th May 2010
quotequote all
zac510 said:
I had a look in the javascript and it looks like jQuery addon is resizing the div id=dynamic_container.

Good luck smile
Err... that makes only slightly less than no sense to me, sorry! I've had a look at the page source and couldn't find dynamic_container or similar.

Any possibility of you holding my hand a little more? I'd appreciate it very much. smile

zac510

5,546 posts

237 months

Tuesday 11th May 2010
quotequote all
hmm ok.. smile

You should look at the rendered html using Firebug instead of the browser's view source.

Then jump back onto Google search and find a basic HTML/jQuery tutorial.

Really I don't code this stuff myself but I have to know a bit about it.

Good luck!

Leithen

14,210 posts

298 months

Tuesday 11th May 2010
quotequote all
Have a look here - ask the question on the forum there and you are likely to get an answer.

Landlord

Original Poster:

12,689 posts

288 months

Tuesday 11th May 2010
quotequote all
Thanks both. Much appreciated. I'll give the forum a go.