So, I would create some key/values in a JSON database specifying various
Applet components (.applet-codebase, .applet-param, etc. I'm assuming
some of the other values like height, width, code, archive etc. can be
done in the same way) and then create a lens template to construct the
applet?
JSON:
    {applet-codebase : "http://some.obscure.link/here";,
      applet-param : "http://the.param.link/here";,
      applet-code : "zoom2dapplet"'
      applet-archive : "zoom2dapplet.jar"}

and then create an exhibit lens:

    <div ex:role="exhibit-lens" ex:item-id-content=".id" 
ex:applet-codebase-content=".applet-codebase" 
ex:applet-param-content=".applet-param">
       ...
       <button ex:onclick="makeApplet(this.parentNode)">Show Applet</button>
       ...
    </div>

this is the part that mostly confuses me... what's the difference
between "ex:applet-codebase-content" and "ex:content".  and i'm to
assume that the function makeApplet is not a part of Exhibit :)  and can
this exhibit lens be inserted into the current lens for thumbnail or
detail view? kinda like a sub lens?  Thanks.
Cheers,
+dk

Derek Kinsman
The Idea Company

New Media Designer

http://www.ideacompany.ca/
http://boring.ambitiouslemon.com/
1.416.371.5652



David Huynh wrote:
> We're not supporting such value type at the moment... :-( But that's 
> definitely a good feature to add.
>
> You're talking about lens templates, right? Not the tabular view? If 
> it's OK to add an extra click to the user experience, then you can delay 
> the creation of <applet>
>
>     <div ex:role="exhibit-lens" ex:item-id-content=".id" 
> ex:applet-codebase-content=".applet-codebase" 
> ex:applet-param-content=".applet-param">
>        ...
>        <button ex:onclick="makeApplet(this.parentNode)">Show Applet</button>
>        ...
>     </div>
>
> And then makeApplet will retrieve the various attributes from the given 
> element. I haven't tried that myself before but I hope that works.
> OK, please keep us posted! Thanks!
>
> 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

Reply via email to