Jonathan Sloan
Posts: 0
Joined: Tue Jun 04, 2013 3:08 pm

what href attribute for changing pages

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.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

what href attribute for changing pages

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

Jonathan Sloan
Posts: 0
Joined: Tue Jun 04, 2013 3:08 pm

what href attribute for changing pages

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?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

what href attribute for changing pages

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

Return to “Issues”