if I write im1.....im3...im4 getAttribute will not work :(

if I paste  <$image source=" images/products/products_big/418.jpg " />  as 
HTMl  (or textnode) it looks like simple text (not an image)

I think I don`t know something and go in the wrong way..... 



вторник, 10 февраля 2015 г., 22:46:13 UTC+3 пользователь Jeremy Ruston 
написал:

> Hi sini-Kit
>
> > it works for 1-5 images. to make it work for any number of images it is 
> necessary to know the number of attributes "im" how can I count them? 
> and it work only with external images....
>
> One way would be to repeatedly call getAttribute("im" + count) in a loop 
> until you get back undefined.
>
> To work with internal images you'd need to have your widget generate 
> <$image> widgets instead of HTML <img> elements.
>
> Best wishes
>
> Jeremy.
>
>
>
> 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to