I want to put a Google Earth Street View link on my page but I'm not sure about the best way to do it. I have copied the HTML code from Google Earth that allows you to embed the link (with street photo already active) and it works fine.
But I don't want the link to be active at first. I want the user to see a simple text message link like this:
Google Earth Street View
which when clicked will activate the Google Earth embedded link.
I'm thinking that I want to somehow trap the on_click() for the original text message, then set a flag (maybe a Request object variable?) and refresh the page so that now when it checks the flag it will display the Google Earth link. Does this sound like the best way to do it?
If so, can you recommend how I would create that text link that traps the click? After I have trapped it, what do I do? How would I refresh the page so that the embedded link would show?
