Advice on geobrowser module development
Hi there,
I'm developing the geobrowser module. http://drupal.org/project/geobrowser - check out a working version at http://mapping.uvic.ca/?q=geobrowser
I would like some advice on the node info pop-up viewer. Right now it is an iframe - I decided on the iframe because I wanted a fully interactive node-view where users can edit nodes etc. right in the iframe.
However, I would like to let admin's customize the display of this iframe so it is different from the rest of the site: turning off display of blocks, shortening the top block - generally making the display sparser so it can all fit in the smaller iframe.
I've done this before by hacking the theme and adding javascript:
if ( top.location.href!= window.location.href ) {
documment.getElementById('thisblockandthatblock').style.display = 'none';
...
}
So! I'm looking for advice on what a better non-hackish approach would be... Is there any way my module can add another section to the block-visibility pages? What about on the fly theme changes? Any suggestion on how to preserve this across clicks within the iframe without overkill on javascript?
Hints, suggestions, full-working-code-solutions (j/k!) would be much appreciated!
Cheers,
Patrick Hayes

jQuerry or CSS position
You cando it with CSS position, and create the frame with jQuerry. Its a combination of techknowledgies which wont be hard to put together if you know what your doing. I am sure you can figure it out. For me, I am just triing to get your module to work.
custom display
Hello Patrick!
Really great work. It's a little bit frustrating setting things up for geobrowser and I still don't know why I have to use the voting api and fivestar. But, hey, I'm using it. Thank's a lot!
If you like to look (it's in german) http://www.fewo-in-bamberg.de/karte
As I use the garland theme without sidebars and no ads I haven't noticed the small window or any problems with it. It just works great right from the start. But I see your point. Lets but it together. Perhaps it's possible that you can switch to another theme for your iframe that the admin can select and set up the way he likes? Would be a simple and effective solution if it's a solution.
Ralf
Your Solution
Hi Patrick,
I see you solved this issue on the UVic site. How did you do it?
Looking for a solution for here:
http://freire.education.mcgill.ca/geobrowser
thx,
david