Thank you, David, that really does the trick. Awesome. Thank you very much. Now I need to to address the zomming/centering issue that mleden mentioned. But that's not your problem, I'll try to figure it out myself. Thanks for the awesome help, guys.
Regards, steff On 11 Aug., 18:28, David Huynh <[email protected]> wrote: > Please try this > 1. give your map view an id > <div id="the-map-view" ... > 2. when you show the map view, get the map to resize > exhibit.getComponent("the-map-view")._map.checkResize(); > > David > > > > steff wrote: > > Thank you David, > > > I changed all links to the current version (in the collapsed-map only, > > though). I cannot tell if this solved the IE 8 issue but it did not > > effect the collapsed start-up issue. > > > Thank you, too, > > steff > > > On 11 Aug., 17:37, David Karger <[email protected]> wrote: > > >> modifying your script links to point at the newest version of exhibit > >> (athttp://api.simile-widgets.org/exhibit/2.2.0/) will probably fix your > >> IE8 problems, and possibly some others. > > >> steff wrote: > > >>> Hi Mark, > > >>> thanks for your answer. > > >>> 1. I didn't even know that IE 8 caused an error, thanks for letting me > >>> know (I'm a Mac user) > >>> 2. As far as I know script-elements do not have to be surrounded by > >>> the <html>-tags. Nevertheless, I pulled it inside but it didn't change > >>> a thing. By the way: I think that's the way Dreamweaver generates > >>> code. > > >>> Thanks anyway. > >>> Regards, > >>> steff > > >>> On 11 Aug., 17:18, mleden <[email protected]> wrote: > > >>>> Hi Steff, > > >>>> Not sure I know exactly the solution, but I see two things that may be > >>>> clues: > >>>> 1. On IE 8, both versions of the page fail with the "JSON data > >>>> file...contains errors..." message. > >>>> 2. Your declaration of "var CollapsibleMap..." is outside the <html> > >>>> tags of the page. I would think that this would need to go somewhere > >>>> towards the bottom of the <head> tag. > > >>>> HTH, > >>>> -Mark > > >>>> On Aug 11, 7:39 am, steff <[email protected]> wrote: > > >>>>> Hi everyone, > > >>>>> I am having a hard time on putting the map view into a (Dreamweaver- > >>>>> generated) spry asset which enables to expand/collapse a div via js/ > >>>>> css. > >>>>> All works fine when the page is loaded with an expanded map view. No > >>>>> problems at all. > > >>>>> But when I set the map to start collapsed it is not displayed properly > >>>>> on expansion. I don't have a clue on this issue. Please feel free to > >>>>> have a look yourself: > > >>>>> Map expanded:http://hci.uni-konstanz.de/studentrepos/ > >>>>> Map > >>>>> collapsed:http://hci.uni-konstanz.de/studentrepos/start_collapsed.html > > >>>>> I'm sure you'll immediatly see what I am trying to explain so > >>>>> pathetically. Sorry for that. > >>>>> To cut to the chase: does anyone have a hint on this? > > >>>>> Thanks in advance, > >>>>> steff --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~----------~----~----~----~------~----~------~--~---
