On 6/10/2011 11:18 PM, DaveG wrote:
The example will not work in PmWiki without some tweaking, but it
shouldn't be
hard.
Thanks, that seems like a workable solution, although I've not yet been
able to find a selector that can get text after the BR.
I have the selector:
$(img).parent('div').contents().filter(function(){ return this.nodeType
== 3 }).text()
Unfortunately I can't yet get it to work in the context:
$('#demo').galleria({
dataConfig: function(img) {
return {
description:
$(img).parent('div').contents().filter(function(){ return this.nodeType
== 3 }).text()
}
}
});
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users