Hi David, Apparently I wasn't escaping all the double quotes. So my json entry looks like thus:
url : "<applet height=420 width=640 code=zoom2dapplet archive=zoom2dapplet.jar codebase=\"http://zoom.design.yorku.ca:8087/obj=delivery,1.0%26cmd=retrieve%26fif=ServerComponents/Code\"><PARAM NAME=URL VALUE=\"http://zoom.design.yorku.ca:8087/fif=CGDHO/alanfleming/a_fleming_001.fpx\"></applet>" and in a different file i've got: properties: { 'url': { valueType: "url" }, is there a way in which i can change valueType to be valueType : "html". Or is there some other predefined item to list a value as a string of code. currently it's attempting to load the value as a url. Thanks. On a side note: JQuery has some interesting JSON plugins, and some tighter wordpress integration is in the works (mostly trying to get Exhibit to display Wordpress's RSS feed). Cheers, WP Derek Derek Kinsman The Idea Company New Media Designer http://www.ideacompany.ca/ http://boring.ambitiouslemon.com/ 1.416.371.5652 David Huynh wrote: > derek | idea company wrote: > >> [snip] >> >> the "ex:href-content".url" will link to the Java Applet. My problem is >> that the whole <applet> code needs to live inside the JSON database >> file. Which looks like thus: >> >> <applet height=420 width=640 >> code=zoom2dapplet >> archive=zoom2dapplet.jar >> >> codebase="http://zoom.design.yorku.ca:8087/obj=delivery,1.0%26cmd=retrieve%26fif=ServerComponents/Code"> >> >> <PARAM NAME=URL >> VALUE="http://zoom.design.yorku.ca:8087/fif=CGDHO/alanfleming/a_fleming_001.fpx"> >> </applet> >> >> When I stick it into the JSON file it just breaks the code. So I'm >> wondering if there is a way to use html as a value in the json file. >> Thanks, cheers. >> >> > Hi Derek-- How did you "stick it into the JSON file" in particular? What > errors did you get? Did you escape all the double quotation marks?... > > David > > _______________________________________________ > General mailing list > [email protected] > http://simile.mit.edu/mailman/listinfo/general > >
_______________________________________________ General mailing list [email protected] http://simile.mit.edu/mailman/listinfo/general
