I don't know how to control the bubble but here are two answers. Warf wrote: > I have been playing with Exhibit (which is awesome BTW), and am > curious about doing a couple different things in the bubble. > > http://www3.telus.net/warfsworld/html/travel/travel_map.html > > 1) I have some pages which have the element "homepage" : in the > travel_map.js file, and some that don't. I currently have them > displaying "Travel Diary" and linking to that url... but want that > element not to display if it doesn't exist in the .js file. > exhibit has an ex:if-exists attribute that addresses this. Eg. <span ex:if-exists=".homepage"><a ex:href-content=".homepage">homepage</a></span> is a span that will only appear (with its insides) if the homepage attributes exists on the item being rendered. > 2) Currently setting a specific bubble size using a div class and > style, but would prefer to have it resize based on content, however > when I let it do that it will show only half the bubble with the image > and data running out of the bubble. > > 3) Can the pop-up bubbles appear in different directions instead of > always above, since it will reposition the map with a large grey area > when selecting locations in the northern regions. > > 4) Where do you control the menu like pop-up that appears when there > is multiple items at the same location? > > 5) Non-Bubble question: How do you not display the little scissor icon > that has RDF/XML...Exhibit JSON? > It can be done, but I recommend against it---it offers a way to let people copy your data, which might be very useful for someone else trying to present some useful information or make a mashup. Removing the scissors doesn't make that impossible, but it does make it less convenient. The scissors themselves are small and unobtrusive; I don't think they will bother anyone with their presence. If, after this commentary, you stil want to remove the scissors, you can try to add ex:showToolbox="false" to the view div. If that doesn't work, try adding this CSS rule div.exhibit-toolboxWidget-popup { display: none; }after you include exhibit-api.js. > > >
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
