×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Jul 2003
    Posts
    3

    'Back'-link: how to do <prev/> in xhtml?

    Hi,
    I have been searching and trying a lot but I cannot find a way to create a Back-Link in XHTML.

    in WML it is:
    <anchor>Back<prev/></anchor>

    in Javascript it is:
    <a href="javascript:history.back()">Back</a>

    How do I do it in XHTML for mobiles?
    Do I have to use the WML-extension <WML:PREV> and if so how do I use it within XHTML code?

    Thanks a lot for your help!
    br,
    Renate

  2. #2
    Registered User
    Join Date
    Aug 2003
    Posts
    12
    The "Back" button is already hardkeyed to a single key press in most XHTML/MP browsers including the Nokia Series 60, so there is no need to provide such a link (in fact, that is not recommended).

    The only time I want to include such functionality is when the user has navigated "deep" down a bunch of uncacheable pages. In that case, it make sense as most users don't know how to use the browser history to go back (and besides, it's too many keypresses).

    Read the "WAP Service Developer's Guide for Nokai Series 60 Phones with XHTML Browser" for more suggestions.

    Take care,

    terry

  3. #3
    Registered User
    Join Date
    Jul 2003
    Posts
    3

    Still no solution for Back-Link

    Hi,
    unfortunately I absolutely have to create this back-link-stuff and I still haven't found a solution (also not in the doc for Nokia Series 60).
    How can I use the WML-Extension WML:PREV inside XHTML Mobile Profile?
    Or is there any other way?

    Thanks a lot,

    Ciao,
    Renate

  4. #4
    Registered User
    Join Date
    Aug 2008
    Posts
    1

    Re: 'Back'-link: how to do <prev/> in xhtml?

    Is there any solution about this issue?

  5. #5
    Registered User
    Join Date
    Apr 2009
    Posts
    1

    Re: 'Back'-link: how to do <prev/> in xhtml?

    "How do I do it in XHTML for mobiles?
    Do I have to use the WML-extension <WML:PREV> and if so how do I use it within XHTML code?"

    Do you find a solution ?

  6. #6
    Registered User
    Join Date
    Mar 2010
    Posts
    1

    Re: 'Back'-link: how to do <prev/> in xhtml?

    is there any body that solving this problem?
    I need history back;

  7. #7
    Registered User
    Join Date
    May 2010
    Posts
    1

    Cool Re: 'Back'-link: how to do <prev/> in xhtml?

    Hi.
    I came across this problem today, scoured the net and forums, and found no solution.
    Then I remembered HTML1 used to have history "go" functions, as used in Lectora. So, sniffing a bit more, the following works in raw XHTML:

    <a onclick="history.go(-1);" href="#">Back</a>

    // where the "#" simply highlights the word as a link.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×