Re: ex:name-content not worhing with ie7
You may see the exhibit here: http://www.unifr.ch/dokpe/manuelpret/TableDesMatieres.html and compare the links on the bulleted items with FF and IE. I have made a static page at http://www.unifr.ch/dokpe/manuelpret/test.html with a copy and past from the html seen in Firefox. It shows that this html is indeed correctly executed by IE7 and that things like a name=47/a are missing in the page produced by IE7 executing exhibit scripts. François On Jan 15, 2:24 am, David Huynh dfhu...@alum.mit.edu wrote: No, I didn't--my apologies. Do you have a public sample exhibit where I can see the problem? I do know, however, that IE ignores the name attribute on certain kinds of element, probably DIVs. You could also try to make a simple HTML file with some DIVs having name attributes, and then use Javascript to find out whether those name attributes have been ignored by IE or not. David Francois wrote: I have rebundled with ant Did you test the solution you were proposing ? François On Jan 11, 7:55 pm, David Huynh dfhu...@alum.mit.edu wrote: Did you re-bundle Exhibit (by running ant)? Or did you use bundle=false in the exhibit-api.js URL? David Francois wrote: David, I have downloaded exhibit and put the modification you proposed, rebundled the files, but the problem still persist François On Jan 8, 8:30 pm, David Huynh dfhu...@alum.mit.edu wrote: François, That might well be another exception to be hardwired for dealing with IE. Over the years, IE never stops surprising me. :) If you care to hack it, then the relevant code is in http://static.simile.mit.edu/exhibit/api-2.1.0/scripts/ui/lens.js search for the definition of the function Exhibit.Lens._constructFromLensTemplateNodeLook for the if statement if (templateNode.contentAttributes != null) { Inside the if there's a for loop, inside which there is if (attribute.isStyle) { ... } else if (class == attribute.name) { ... You'd need another case } else if (name == attribute.name) { elmt.name = value; David Francois wrote: Hi I would like to build html links between items from a json file and I got the following code in the html file a ex:name- content=.display/a it works great with FF where the following html is build div class=name a name=47/a spana href=chapitre%202.pdf#page=2spanChamp de la grille lecteur/span/a/span divdiv class=userspanDébutant/span/div/div div class=parentFait partie de: ullia href=#7spanGrille lecteur/span/a/li/ul /div /div but does not seems to work with IE7 (although it's hard to debug since I have not found a selection-view code, as in FF). The file is called from the network (with the file:// protocol) but I may put the whole stuff on the net if necessary. Thanks for any help François --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups SIMILE Widgets group. To post to this group, send email to simile-widgets@googlegroups.com To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~--~~~~--~~--~--~---
Re: Text in javascript
On Jan 15, 4:38 am, David Huynh dfhu...@alum.mit.edu wrote: Marko wrote: Hello, The Working message should already be localized, e.g., it's in http://static.simile.mit.edu/exhibit/api-2.1.0/locales/en/scripts/exh... As for the Failed to derive..., that's more of a debug message for the author of the exhibit, and it should never appear to the exhibit's visitors. I did think about localizing such messages, but then I didn't think that was important enough. Are there other messages that you think should be localized? Have to go through all the javascript for that. Will do that someday. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups SIMILE Widgets group. To post to this group, send email to simile-widgets@googlegroups.com To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~--~~~~--~~--~--~---
Re: displaying the blue ball for events in Exhibit
David, Thanks so much, the below worked just great in a the tabular view, do you if this would work in a facet as well? If you just want to display a colored ball, then try img ex:src-subcontent=ball-{{. phealth}}.png / and then have 3 images on your site called ball-1.png, ball-2.png, and ball-3.png. Here is my facet, but I can't seem to be able to get the syntax correct to make it work? div ex:role=facet ex:expression=src-subcontent=images/ball-{{.phealth}}.png ex:facetLabel=Project Health ex:height=7em/div Any help would be appreciated... thanks Steve On Wed, Jan 14, 2009 at 11:04 PM, David Huynh dfhu...@alum.mit.edu wrote: Here's an example http://simile.mit.edu/axo/Disasters although its HTML source will be hard to read. An icon coder maps a string to an icon URL. In the above example, it maps Earthquake to http://www.americanfamilysafety.com/media/be-ready-library/icons/icon-earthquakes.gif There is some more documentation here http://simile.mit.edu/wiki/Exhibit/2.0/Coders If you just want to display a colored ball, then try img ex:src-subcontent=ball-{{.phealth}}.png / and then have 3 images on your site called ball-1.png, ball-2.png, and ball-3.png. David Stephen Martino wrote: David, I was actually trying to use an icon coder (perhaps I do not understand what one is), but what I wanted to do was the below, and it was suggested that I use an icon coder? I have a value of 1, 2, or 3 that I read it from my json data (.phealth) and I want to display a colored ball based on the value it is set to, can this be done? Does an example of an icon coder exist that I can take a look at? thanks? Steve On Wed, Jan 14, 2009 at 10:24 PM, David Huynh dfhu...@alum.mit.edu mailto:dfhu...@alum.mit.edu wrote: Steve, I think your coder is an icon coder, not a color coder. In any case, the tabular view actually doesn't understand coders of any kind... One way to color-code its rows is to use a rowStyler, e.g., see the HTML source of http://simile.mit.edu/exhibit/examples/presidents/presidents.html You can also use row templates--see http://groups.google.com/group/simile-widgets/browse_thread/thread/c04645e9069decad/9180f9c59e07d7fd David Steve wrote: Any thoughts on why the below is not working and will it work with a Tabular view? On Jan 13, 8:48 am, Steve smartin...@gmail.com mailto:smartin...@gmail.com wrote: Eric, Thanks I started down this road, but can't seem to get it to work...here is my colorcoder div ex:role=coder ex:coderClass=Icon id=health-icons span ex:icon=http://ora253.dce.harvard.edu:7779/~smartino/final/http://ora253.dce.harvard.edu:7779/%7Esmartino/final/ http://ora253.dce.harvard.edu:7779/%7Esmartino/final/ images/StephenMartino.gif1/span span ex:icon=http://ora253.dce.harvard.edu:7779/~smartino/final/http://ora253.dce.harvard.edu:7779/%7Esmartino/final/ http://ora253.dce.harvard.edu:7779/%7Esmartino/final/ images/GlennFull.gif2/span span ex:icon=http://ora253.dce.harvard.edu:7779/~smartino/final/http://ora253.dce.harvard.edu:7779/%7Esmartino/final/ http://ora253.dce.harvard.edu:7779/%7Esmartino/final/ images/JohnBatista.gif3/span /div And here is the View I am trying to implement it in... ex:role=view ex:viewClass=Tabular ex:colorCoder=health-icons ex:phealth=.phealth ex:colorKey=.phealth ex:label=Table ex:columns=.icon, .pstartdate, .penddate, .ppriority, .staffname, .pstatus, .budget, .pdescription, .DetailBio, phealth ex:columnLabels=Photo, Project Start Date, Project End Date, Priority, Project Manager, Project Status, Project Budget, Project Name, Project Administration, Project Health ex:formats=date { mode: medium; show: date } ex:columnFormats=list, date, date, list, list, list, list, list, ,list, list ex:sortColumn=1 ex:sortAscending=true ex:showToolbox=false But I do not see anything changing Can this be used in a Tabular view? thanks Steve On Jan 12, 11:50 am, Eric Pugh ep...@opensourceconnections.com mailto:ep...@opensourceconnections.com wrote: If you are using Exhibit, then look at the iconCoder stuff to pick what image to use. Eric On Jan 11, 2009, at 8:31 AM, Steve wrote: to the group, I remember that the blue.png ball would display for certain events (start and end date
Re: Wibbit Help?
Ruby, you are welcome to use this list as the wibiters do read it. Ruby Q wrote: I'm simply trying to find the right place to ask questions about the Wibbit Exhibit extension for Mediawiki. With the migration from MIT to Google Code, things seem to be scattered about. My thanks to anybody who can direct me to the right place. RQ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups SIMILE Widgets group. To post to this group, send email to simile-widgets@googlegroups.com To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~--~~~~--~~--~--~---
Re: Experimental compact event painter for Timeline
David Huynh wrote: Jon Crump wrote: These collapsed events display no image, just a generic image placeholder. Stefano suggested that their images should be stacked. I'll try that next. Here's a shot at stacking the images of concurrent events: http://people.csail.mit.edu/dfhuynh/misc/compact-painter/index3.html You can hover over an event's label in a stack and its image would pop up to the top of the stack. David --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups SIMILE Widgets group. To post to this group, send email to simile-widgets@googlegroups.com To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~--~~~~--~~--~--~---
Re: Fix for Firefox 3 on Mac wrapping issue on static
Hi Larry, Thanks for the update! I can confirm no discernible problems with bubble painting, though my testing has not been scripted or methodical. Best, Mike On Mon, Jan 12, 2009 at 6:46 PM, Larry Kluger wex...@kluger.com wrote: Hi Mike, There are several changes in the Ajax trunk. The fix for the Mac wrapping is there and is stable. The fix for wrapping when css is changed (eg add a bolding css rule) is there and stable. (There are issues in the issues tracker for the above, I just don't have the issue numbers handy offhand. See the Ajax trunk Changes file.) There is also new code in the Ajax trunk that improves bubble painting speed. It needs to be tested against the current Timeline trunk. It will most probably work, but testing is important. Once the above is done, the Ajax trunk should be pushed as a 2.2 release. Unfortunately I don't have the time right now, I have year-long project that is launching at the end of this week. I do anticipate getting to the above within a month. Sorry for the delays, I appreciate your understanding. Regarding the rate of changes on the Ajax trunk: the changes are few and far between. Quite stable. Of course, that could change, but I don't anticipate it to. So I think you're pretty safe until the release gets pushed. Of course, hopefully, any changes would be improvements. :-) I also appreciate your testing of the trunk Ajax. Can you confirm no problems with bubble painting? Regards, Larry -- *From:* Mike ostermmg.sa...@gmail.com *To:* SIMILE Widgets simile-widgets@googlegroups.com *Sent:* Monday, January 12, 2009 7:38:41 PM *Subject:* Fix for Firefox 3 on Mac wrapping issue on static Hi all, I inadvertently replied to just Larry and wanted to make sure this was out on the list. Reference thread: http://groups.google.com/group/simile-widgets/browse_thread/thread/1ce1aea86663fcf8/ There was talk of making a version of the ajax-api available at http://static.simile.mit.edu, and I've found a few options at: http://static.simile.mit.edu/ajax/ There is one that definitely work for this particuar issue (http:// static.simile.mit.edu/ajax/api-dev/), bit it looks like it may be changed regularly. Am I correct in this assumption? If it will change, is there a chance of cutting another version (i.e. 2.1.1 or something similar) that will not get updated? I'd like to simply update the reference in my code rather than bundling in a static version of the ajax-api. Thank you! Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups SIMILE Widgets group. To post to this group, send email to simile-widgets@googlegroups.com To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~--~~~~--~~--~--~---
Re: ex:name-content not worhing with ie7
François, Please try to load the attached file in various browsers and then click Test. For FF3, IE6, IE8 emulating IE7, I see link [] [] link [abc] [abc] link [def] [def] It seems that the name attributes are set properly. David Francois wrote: You may see the exhibit here: http://www.unifr.ch/dokpe/manuelpret/TableDesMatieres.html and compare the links on the bulleted items with FF and IE. I have made a static page at http://www.unifr.ch/dokpe/manuelpret/test.html with a copy and past from the html seen in Firefox. It shows that this html is indeed correctly executed by IE7 and that things like a name=47/a are missing in the page produced by IE7 executing exhibit scripts. François On Jan 15, 2:24 am, David Huynh dfhu...@alum.mit.edu wrote: No, I didn't--my apologies. Do you have a public sample exhibit where I can see the problem? I do know, however, that IE ignores the name attribute on certain kinds of element, probably DIVs. You could also try to make a simple HTML file with some DIVs having name attributes, and then use Javascript to find out whether those name attributes have been ignored by IE or not. David Francois wrote: I have rebundled with ant Did you test the solution you were proposing ? François On Jan 11, 7:55 pm, David Huynh dfhu...@alum.mit.edu wrote: Did you re-bundle Exhibit (by running ant)? Or did you use bundle=false in the exhibit-api.js URL? David Francois wrote: David, I have downloaded exhibit and put the modification you proposed, rebundled the files, but the problem still persist François On Jan 8, 8:30 pm, David Huynh dfhu...@alum.mit.edu wrote: François, That might well be another exception to be hardwired for dealing with IE. Over the years, IE never stops surprising me. :) If you care to hack it, then the relevant code is in http://static.simile.mit.edu/exhibit/api-2.1.0/scripts/ui/lens.js search for the definition of the function Exhibit.Lens._constructFromLensTemplateNodeLook for the if statement if (templateNode.contentAttributes != null) { Inside the if there's a for loop, inside which there is if (attribute.isStyle) { ... } else if (class == attribute.name) { ... You'd need another case } else if (name == attribute.name) { elmt.name = value; David Francois wrote: Hi I would like to build html links between items from a json file and I got the following code in the html file a ex:name- content=.display/a it works great with FF where the following html is build div class=name a name=47/a spana href=chapitre%202.pdf#page=2spanChamp de la grille lecteur/span/a/span divdiv class=userspanDébutant/span/div/div div class=parentFait partie de: ullia href=#7spanGrille lecteur/span/a/li/ul /div /div but does not seems to work with IE7 (although it's hard to debug since I have not found a selection-view code, as in FF). The file is called from the network (with the file:// protocol) but I may put the whole stuff on the net if necessary. Thanks for any help François --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups SIMILE Widgets group. To post to this group, send email to simile-widgets@googlegroups.com To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~--~~~~--~~--~--~--- Title: Test This is a test: : link Test
Re: Experimental compact event painter for Timeline
Scott Thomson wrote: Very cool David, I really need to look for a good use for that, it is seriously pretty. Well, you can do mashups with data from Freebase.com. There are a lot of pretty images there :-) Here's another example of movies with larger thumbnails: http://people.csail.mit.edu/dfhuynh/misc/compact-painter/index4.html [...] Would it be worth collecting any more custom painters alive in the wild and contributing them into the source base? I'd certainly be happy to contribute my 2 lines in a new TapePainter but I think I only have read access to the CVS. Definitely worth collecting them, although in this case of TapePainter, since the change is so small, it should just probably be a parameter to OriginalEventPainter to either paint the label on top of or below the tape. David --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups SIMILE Widgets group. To post to this group, send email to simile-widgets@googlegroups.com To unsubscribe from this group, send email to simile-widgets+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~--~~~~--~~--~--~---