Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Sep 2003

    how can i replace OnEventOnTimer in XHTML

    Doe's someone knows how can I replace the wap event

    <onevent type="ontimer">
    <go href="#main"/>
    <timer value="10"/>

    To XHTML - I need it for nokia 3650

  2. #2
    Super Contributor
    Join Date
    May 2003

    Have u tried to use example .jsp to make a work around.


  3. #3
    Registered User
    Join Date
    Sep 2003

    Yes indeed, this is a real problem

    incompatibility issue between WML and XHTML MP especially with Nokia browser.

    Without going into details and Nokia promises to support HTTP refresh header (which is not supported right now on Nokia devices), I would say for the time being it can be done by linking the XHTML page to the old WML deck and execute the script and timer onevent there.
    Last edited by yosi1; 2004-01-21 at 10:13.

  4. #4
    Registered User
    Join Date
    Aug 2004

    what do you mean when you say:

    "linking the XHTML page to the old WML deck "

    can you give me a code example of how it can be done?

  5. #5
    Registered User
    Join Date
    Jun 2003

    i too am trying to use the Timer event in XHTML, but i don't think it is supported in XHTML.

    I presume the previous person ('yosi1') means creating a simple hyper link to the old code created in WML.
    ...This defeats the objective and purpose of xhtml really.

    It may be the only way is to embed something like SMIL into the file...(the code below works for HTML, but I can not get it working in XHTML!)


    <!--<?xml version="1.0"?>
    <!DOCTYPE html PUBLIC "-//OPENWAVE//DTD XHTML Mobile 1.0//EN" "http://www.openwave.com/DTD/xhtml-mobile10.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" t="urn:schemas-microsoft-com:time">
    <html xmlns:t="urn:schemas-microsoft-com:time">
    <?import namespace="t" implementation="#default#time2">
    <style>.t {behavior: url(#default#time2)}</style>

    <t:seq repeatCount="indefinite">
    <img class="t" src="1b.bmp" dur="3s"
    width="20" height="10" />
    <img class="t" src="1c.bmp" dur="3s"
    width="30" height="10" />
    <img class="t" src="1d.bmp" dur="3s"
    width="40" height="10" />




    if you manage to get the timer or any kind of animation working in xhtml i would be interested too.



  6. #6
    Super Contributor
    Join Date
    May 2003

    Short comment:
    XHTML doesn't support timer.

    In the other track there is info about XHTML -> WML link

    Last edited by Tumpelo; 2004-09-30 at 04:55.

Posting Permissions

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