var args = { objectType: "iframe",
align: "center",
width: "356",
height: "500",
src: "http://my.api.endpoint?id=",
}
$("a[rel='highslide']").on("click",function(){
var id = $(this).data("id");
var setargs = args;
setargs.src += id;
hs.htmlExpand($(this), setargs );
});
for whatever reason, this just spins and spins and doesn't load my endpoint, or any other src, for that matter.
Anyway, here's the solution: