Revision: 3861 Author: ksprotte URL: http://bknr.net/trac/changeset/3861
infosystem: added "more info" link to microsite
U trunk/projects/bos/payment-website/infosystem/javascript.js
Modified: trunk/projects/bos/payment-website/infosystem/javascript.js =================================================================== --- trunk/projects/bos/payment-website/infosystem/javascript.js 2008-09-09 09:21:48 UTC (rev 3860) +++ trunk/projects/bos/payment-website/infosystem/javascript.js 2008-09-09 10:05:39 UTC (rev 3861) @@ -908,6 +908,12 @@ document.getElementById("MovieApplet").innerHTML = ''; }
+function show_poi_microsite() { + var the_poi = poi[aktuelles_objekt]; // would be nice as an arg + window.open("/poi-xml/" + the_poi.id + "?lang=" + document.language, + "microsite", "width=820,height=780,scrollbars=yes"); +} + var poi_menu_items; var poi_active_menu_item;
@@ -946,6 +952,7 @@ if (the_poi.movies) { poi_menu_items.push([ msg('Film'), show_poi_movie ]); } + poi_menu_items.push(["more info", show_poi_microsite]);
poi_active_menu_item = msg('Sat-Karte');