Page 1 of 1

what href attribute for changing pages

Posted: Thu Jun 13, 2013 7:54 pm
by Jonathan Sloan

I have made a google map with multiple markers and each marker has its own infoWindow.

In the infoWindow I am looking for a way to change to a different page within my project using HTML anchor tag within my JavaScript.

Example:
infowindow = new google.maps.InfoWindow({
content: "a href='http://whatURLgoeshere' buttonDetail"
]);

EDIT: removed some of the html tags so it was readable.


what href attribute for changing pages

Posted: Thu Jun 13, 2013 8:27 pm
by Maryna Brodina

Hello! Use screen name with .htm in the end. For example if screen name is Screen1 then it would be codehref="Screen1.html"/code


what href attribute for changing pages

Posted: Fri Jun 14, 2013 8:37 pm
by Jonathan Sloan

Thanks Marina,
I tried using your suggestion and it sort of works when using Test..
The problem I encounter there is a significant performance hit, it takes quite a while for the page to load and while it does this traversal the screen goes blank.

The glaring issue is once I get the apk on the device or try with the appery.io tester I get errors when clicking on the button with href="pagename.html".

Do you know of a more robust way to complete this task?


what href attribute for changing pages

Posted: Fri Jun 14, 2013 8:44 pm
by Maryna Brodina

Hello! We're aware about performance problem, sorry for inconvenience.
Could you clarify what error did you get?