×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    5

    How to call a script during the loading and How to write a formatted text ?

    2 question for 1:
    1) How to call a script function during the loading of a wml page, not after a click or validation... but during the loading?
    2) How to write, in the page displayed by the browser, a wml formatted text generated by a script function?

    Example:
    In the wml file:

    <wml>
    HELLO
    $(message)
    BYE BYE
    </wml>

    I want that, during the loading, a script should be call and this one replace $(message) by <img alt="Test" src="test.wbm" />

  2. #2
    Registered User
    Join Date
    Aug 2006
    Posts
    24

    Re: How to call a script during the loading and How to write a formatted text ?

    hi,


    Use the following in ur body tag

    <event type="onload()>
    <go href="wmls#function()></go>
    </event>

  3. #3
    Registered User
    Join Date
    Sep 2006
    Posts
    5

    Re: How to call a script during the loading and How to write a formatted text ?

    Hi,

    it seems that the event "onload" isn't a valid wml event ...
    An other idea ?

Posting Permissions

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