r1 - 28 Aug 2008 - 19:24:33 - PeterSykoraYou are here: CWiki >  Canyons Web > RenderCanyonZoomTo

Function: RenderCanyonZoomTo

Parameters

Implementation

%STARTINCLUDE%
~~~ <select name="canyon" size="1" onchange="javascript:var koords=document.forms[0].canyon.value.split('-'); document.getElementById('map').contentWindow.zoomTo(koords[0],koords[1], 12);"/><option value="">Canyon auswählen ...</option>  %~~ DBQUERY{"(Typ='Canyon' OR Typ='Abschnitt') AND Land='%land%'" 
~~~ web="Canyons"
~~~ separator="none"
~~~ format="<option value=\"$formfield(Einstiegskoordinate_x)-$formfield(Einstiegskoordinate_y)\">$percntDBCALL{\"Canyons.RenderCanyonName\" name=\"$topic\"}$percnt</option>"
~~~ }%
~~~ </select>
%STOPINCLUDE%

Test

-- PeterSykora - 28 Aug 2008

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
CWiki