Thanks. I also found that I needed to put the script in the DataSource-Complete event since I was loading my list dynamically.
Thanks. I also found that I needed to put the script in the DataSource-Complete event since I was loading my list dynamically.
the mouse over and onclick effect still does'nt work.. can i know the classes to be added to get the tapped feel
Hello! You can add your own class for component or check the source using Chrome Developer Tools/Firebug - this should help http://docs.appery.io/documentation/a...
The way it is done in actual code is to wrap the child elements of a list item in a hyperlink tag with href="#". Is there any way to accomplish this that way?
If you want wrap inner list item elements with code<a href="#"></a>/code you can use following code:
pre
code
Appery("mobilelist_64").find(".ui-li-static-container").wrap("<a href='#'></a>");
/code
/pre
Where "mobilelist_64" - list name.
Or you could use below code instead of yours:
pre
Appery("mobilelist_64").find(".ui-li-static").removeClass("ui-li-static").addClass("ui-btn")
/pre
hi there ! how you guys doing ?
i've got a item list with an img component inside each item.
the image can be a file among 2 uploaded in the MediaManager.
how do you att'd the fileName to the element ?
i tried several :
this.src = Appery.getImagePath('fileName');
this.attr('src', Appery.getImagePath('fileName');
none of them works. I mean none of them shows the image. any idea ?
thks in advance,
Eric
Hi There, forget about this one. I found how to make it works:
path = Appery.getImagePath('fileName');
return path;
very simple indeed
hv a good Easter wknd!
Eric
Hello Eric,
Yes, this code snippet was used on this forum several times, we glad it worked for you.
Thank you for update.
Happy holidays to you too!