Excellent this worked, and moved me forward. It allows me to add in hyperlinks (see this image of my .js file: http://screencast.com/t/mqICnBpQQ, and this of my .html file: http://screencast.com/t/dsOMJ7Cg7A)
However, this approach makes it so that all of the different URLs have the same visible text. (see this image: http://screencast.com/t/M5Ummtts3Xp). How do an autoreplace of the HTML code in the href to another field like .label. For example, I tried this (http://screencast.com/t/ UqErW2sV) but it didn't work. -Marc On Jul 21, 12:12 pm, David Karger <[email protected]> wrote: > I suggest using google's method for filling in attributes, instead of > trying to shove a whole blob of html into a field. So if you had a data > item with {..., resource: "http://homestarrunner.com/", ...} > you could arrange for that to appear by crafting a lens that contains > <a ex:href-content=".resource">your anchor text here</a> > > Blueharmony wrote: > > I'm new to Exhibit, but by following the getting started, I was able > > to create functional and very cool applications. However, I must be > > missing something because I can't figure out how to add hyperlinks or > > the html code of embedded FLV files into the exhibits. > > > For example, for an item, I want to have a field called "Resources" > > that shows the name of the resource as a hyperlink to a URL by using > > simple HTML like this: <a href="http://homestarrunner.com">HomeStar > > Runner</a>. When I add this code to the json data file for the item's > > field, the babel inspector tells me it's not going to work, and > > opening the application in a browser just brings back nothing, The > > whole thing errors out. > > > the same kind of thing happens when I try to include the more complex > > HTML code for embedding a flv file. > > > I'm sure what I want to do is possible, I just can't figure it out. > > > Thank you for the help in advance. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
