×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Oct 2009
    Posts
    2

    Is it possible to make a mutilpe pages widget?

    Hi,

    i am new to WRT widget. now i want to make a widget with several modules. can i integrate several pages into a widget? each page indicate one module.

    Thanks.

  2. #2
    Nokia Developer Expert
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: Is it possible to make a mutilpe pages widget?

    Hello,

    You can wrap your content, that should be placed in a different pages, in <div> -tags. Then you can use JavaScript to modify CSS properties of those elements. (DOM manipulation)

    For example:
    Code:
    //HTML page
    <body>
    <div id="page1">First page</div>
    <div id="page2">Second page</div>
    </body>
    
    //Java Scirpt file
    document.getElementById("page1").style.display = "none";  //hide the first page
    document.getElementById("page2").style.display = "block"; //show the second page
    For more info:
    http://library.forum.nokia.com/topic...91EDF47AA.html
    http://library.forum.nokia.com/topic...F534C712C.html

    Br,
    Ilkka

  3. #3
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: Is it possible to make a mutilpe pages widget?

    Check out also this Forum Nokia Wiki article for examples of custom screen transitions in WRT widgets:

    http://wiki.forum.nokia.com/index.ph...untime_widgets

    Pit

Similar Threads

  1. Widget - make a call
    By shankx in forum Symbian
    Replies: 3
    Last Post: 2009-03-23, 08:22
  2. Failed to update file .RSC
    By Jayakumar in forum Symbian Tools & SDKs
    Replies: 32
    Last Post: 2007-10-26, 10:33
  3. Debug launched file
    By robUx4 in forum Symbian Tools & SDKs
    Replies: 4
    Last Post: 2007-10-18, 12:23
  4. Urgent! Cannot compile OggPlay on Carbide/SDK
    By Wickyorama in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2007-04-22, 18:24

Posting Permissions

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