eh eh :)
Of course it's not that easy... in order to assure direct linking +
browser back button support, mobile web ajax framework uses anchors to
identify "screens"
iUI, JQTouch, JQueryMobile, Sencha, ... any of them that provide
transitions between pages do the same.
So you can't use anchors to scroll up or down in a screen with those
frameworks.
I know, that's a bummer...
i'm sure you can scroll using JS since iScroll does it, but i have no
idea how to do so using JQTouch.
R.
Le 18 févr. 11 à 19:19, Mogens Beltoft a écrit :
Hi,
Page jumps are easy!
The structure is:
<a name="top"></a>
<a href="#top">link to top</a>
So, basically what you need to do is to add a name="A" attribute to
the first link you have with a town starting with A. And so on for
B, C etc.
Then your new line with the alphabet needs to be constructed of a
series of <a href="#A">A</a> links, one for each letter.
/Mogens
On 18-02-2011 10:46, [email protected] wrote:
hi,
I have a large list of UK towns, see here:
http://www.mypubspace.com/mobile/index.php#towns
I would like to add an a-z link so that when a user clicks on say 'W'
they are then presented with the towns that begin with 'W'
Can anyone help?
thanks
--
You received this message because you are subscribed to the Google
Groups "iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected]
.
For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en
.
--
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en.