Hi,
No I just worked around it. I have a model refference of the hotspot so I just do:
|
Quellcode
|
1
|
krpano.call('showpopup('+this.model.get('name')+')');
|
So instead of executing the exact contents of the hotspot, I just dupe it, not real DRY but meh. Perhap Ill put the onclick method in the model too.
And if your thinking, that's this model talk, Im using backbone.js, sort of mvc framework for javascript.