[Mapbender-users] Overviewmap activating/deactivating

Ronald Woita ronald.woita at rostock.de
Tue Feb 12 04:32:22 EST 2008


Hi Len,

very nice feature !
I'm currently redesigning my Mapbender GUI's, so that your post comes just
at right time .

many thanks
Ronald


knex0001 wrote:
> 
> Not sure if this is the most elegant way to do this, but it works for us.
> You can try it at:
> http://hegis.geog.umn.edu/mapbender_2.4.2/http/frames/login.php?&mb_user_myG
> ui=MIIM%20Green&name=guest&password=hegis
> 
> We created the following GUI elements:
> 
> INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment,
> e_element,e_src, e_attributes, e_left, e_top, e_width, e_height,
> e_z_index,
> e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target,
> e_requires,e_url) VALUES ('MIIM
> Green','overviewFrame',2,1,'OverviewFrame','div','','',303,65,171,141,99,'ba
> ckground-color:#12195D;','  ','div',
> 'mod_hegis.js','"','mapframe1','"','');
> 
> INSERT INTO gui_element (fkey_gui_id, e_id, e_pos, e_public, e_comment,
> e_element,e_src, e_attributes, e_left, e_top, e_width, e_height,
> e_z_index,
> e_more_styles, e_content, e_closetag, e_js_file, e_mb_mod, e_target,
> e_requires,e_url) VALUES ('MIIM
> Green','overviewOpen',2,1,'OverviewOpen','div','','',303,65,15,22,98,'backgr
> ound-color:#12195D;','  ','div',
> 'mod_hegis.js','"','mapframe1','"',''); 
> 
> and this javascript:
> 
> function toggleBox(szDivID, iState) // 1 visible, 0 hidden
> {
>     if(document.layers)	   //NN4+
>     {
>        document.layers[szDivID].visibility = iState ? "show" : "hide";
>     }
>     else if(document.getElementById)	  //gecko(NN6) + IE 5+
>     {
>         var obj = document.getElementById(szDivID);
>         obj.style.visibility = iState ? "visible" : "hidden";
>     }
>     else if(document.all)	// IE 4
>     {
>         document.all[szDivID].style.visibility = iState ? "visible" :
> "hidden";
>     }
> }
> 
> Len
> 
> -----Original Message-----
> From: mapbender_users-bounces at lists.osgeo.org
> [mailto:mapbender_users-bounces at lists.osgeo.org] On Behalf Of Kai Behncke
> Sent: Monday, February 11, 2008 5:00 AM
> To: mapbender_users at lists.osgeo.org
> Subject: [Mapbender-users] Overviewmap activating/deactivating
> 
> Dear list,
> I`m looking for a solution to activate/deactivate the overview-map in
> mapbender. Does anybody have a solution for that or ideas how to programme
> it?
> 
> Thank you very much, Kai
> --
> Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen
> downloaden: http://www.gmx.net/de/go/browser
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
> 
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
> 
> 

-- 
View this message in context: http://www.nabble.com/Overviewmap-activating-deactivating-tp15409301p15429290.html
Sent from the mapbender-users mailing list archive at Nabble.com.



More information about the Mapbender_users mailing list