Are you writing simple :onclick "foobar();" snippets or a full
function? If the latter, this is what I do, for example, with google
maps, and anywhere I want to call Weblocks actions from within
Javascript. It's based on make-action* by Leslie.

Snippet at http://paste.lisp.org/display/82484

Basically, it populates a hash in Javascript, and uses the hash-name
as a parameter to make-action-string-with-args.

The example m-send-location-chooser-js is a JS function called when
the user clicks on a google maps geocoded result link, and it passes
those values (lat, long etc) into CLOS objects.

I am not so familiar with svg files, are you not able to embed them
inside (with-html (:object ..)) etc. ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"weblocks" 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/weblocks?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to