[mapguide-users] New Tab Like Properties and Layers

Jamo adam.jamison at portbris.com.au
Thu Feb 12 16:31:07 EST 2009

I've been asked to add a new tab to the default viewer (a search tab).

I would like to know if anyone else has been able to complete such a task, I
was thinking of doing something like the following.

I would like it to function in the same manner as the properties tab, as in
be able to slide it up and down and open and shut using the little arrows
button on the right.

I keep getting argument not valid error...

If this is possible is it also possible to add javascript functions to
handle the various drag / minimise /maximise funtions at the same time?

function createNewTab()
var InfoDiv = parent.document.getElementById('InfoDiv');
var divToAdd = document.createElement('div');
divToAdd.setAttribute('id', 'myNewDiv');
divToAdd.innerHTML = 'some Text';



Any help wold be great :)

I would like to do this without having to edit the ajaxmappane.tmpl or any
of the default files, I would rather do it on an onLoad event so as though
other applications can still use the default layout.


View this message in context: http://n2.nabble.com/New-Tab-Like-Properties-and-Layers-tp2318026p2318026.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

More information about the mapguide-users mailing list