1. #1
    Sencha User ksumarine's Avatar
    Join Date
    Feb 2012
    Posts
    16
    Vote Rating
    0
    ksumarine is on a distinguished road

      0  

    Exclamation Answered: <a href> in list items not working?

    Answered: <a href> in list items not working?


    Hi,

    I would like to create a link for addresses within my list items. I have telephone numbers and emails working currently, but links for addresses do not work. Also, I created a "button" (which is just a linked image) to google maps. This doesn't work either. See attached image of a list item...

    Screen Shot 2012-02-15 at 11.42.51 AM.jpg

    I would like this button to open the Maps app on the iPhone. I know Sencha Touch has a map component, but we would like to use the native app for this. Right now I can't tap on the image whatsoever.

    Any suggestions?

  2. I opened up app.js of the list example in beta3 and updated the itemTpl to just show this:

    Code:
    itemTpl: '<div class="contact2"><a href="http://www.sencha.com">Test</a></div>',
    Which shows a link for ever row. I can tap on that link and it will take me to sencha.com

  3. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,754
    Answers
    3462
    Vote Rating
    827
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    I opened up app.js of the list example in beta3 and updated the itemTpl to just show this:

    Code:
    itemTpl: '<div class="contact2"><a href="http://www.sencha.com">Test</a></div>',
    Which shows a link for ever row. I can tap on that link and it will take me to sencha.com
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  4. #3
    Sencha User ksumarine's Avatar
    Join Date
    Feb 2012
    Posts
    16
    Vote Rating
    0
    ksumarine is on a distinguished road

      0  

    Default


    Have you tried it on a device? Specifically and iPhone? When I run it in the browser it will work, but when I compile in Xcode and test in on the phone or in the simulator, it doesn't work.

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."