This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

manipulating frame url by script
#6
Hi Uwe,

Hmm that is strange as the script should request the actual object values on start..

Try adding this to the custom JS also:
Code:
$(function(){
 if (typeof grp != 'undefined') {
     var LON = grp.getvalue('40/1/15') || 0;
     var LAT = grp.getvalue('40/1/16') || 0;
     var ZOOM = grp.getvalue('40/1/17') || 15;
     $('.position').find('iframe').attr('src', 'http://osmand.net/go.html?lat=' + LAT + '&lon=' + LON + '&z=' + ZOOM);
 }
});
BR,

Erwin
Reply


Messages In This Thread
manipulating frame url by script - by schippi - 04.02.2018, 18:50
RE: manipulating frame url by script - by Erwin van der Zwart - 06.02.2018, 12:10

Forum Jump: