×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Apr 2013
    Posts
    25

    Question how do I navigate to a html file by clicking a button in a table

    hi!
    I have created a table and have set the color of the row to say "x". Now on clicking on the row of the table with colour "X" I want a file X.html to open.I have created X.html in the same folder as the main index.html.But nothing happens on clicking the row. I truied to create a button. still it does not work. Could u kindly help. I have pasted the code below.
    <body>
    <div class="ui-page">
    <!-- header -->
    <div class="ui-header">
    <div class="ui-title inline"><h2>XYZ!!!</h2></div><div class="refresh-icon inline"><a onclick="refreshPageContent();"><img alt="icon" src="s40-theme/images/refresh_40x40.png"/></a></div>
    </div>
    <font size ="8">
    <center>XYZ!!!
    To start click on your favorite colour!!!</center>
    </font>
    <div class="ui-content">
    <table width="250" height="310">
    <tr bgColor="violet" >
    <td>
    <input type="button" onclick="C:\Users\Administrator\WebToolsWorkspace\XYZ!!!\violet.html"></input>
    </td>
    </tr>
    <tr bgColor="indigo">
    <td>
    </td>
    </tr><tr bgColor="blue">
    <td>
    </td>
    </tr>
    </table>
    </div>
    </div>

  2. #2
    Registered User
    Join Date
    Mar 2013
    Location
    United Kingdom
    Posts
    161

    Re: how do I navigate to a html file by clicking a button in a table

    Nokia Web App's don't support multiple HTML pages. You have to include all your pages in seperate div's and use MWL to switch between them.

    Please see a sample app I knocked up before on how to do this - http://db.tt/afpB8VVT

  3. #3
    Registered User
    Join Date
    Apr 2013
    Posts
    25

    Re: how do I navigate to a html file by clicking a button in a table

    THANKS FOR THE HELP. On visiting the link I was able to download a wgt. What is the program that I should open this file with???

  4. #4
    Regular Contributor
    Join Date
    Jun 2010
    Posts
    161

    Re: how do I navigate to a html file by clicking a button in a table

    Import it in Nokia Web Tools.

  5. #5
    Registered User
    Join Date
    Mar 2013
    Location
    United Kingdom
    Posts
    161

    Re: how do I navigate to a html file by clicking a button in a table

    Quote Originally Posted by lorion84 View Post
    Import it in Nokia Web Tools.
    Exactly

Similar Threads

  1. Turn on flashlight by clicking button
    By mind_freak in forum [Archived] Qt Quick
    Replies: 3
    Last Post: 2012-04-10, 04:53
  2. Replies: 7
    Last Post: 2011-12-21, 05:58
  3. Getting message ids by clicking on a button
    By mind_freak in forum [Archived] Qt Mobility Project
    Replies: 2
    Last Post: 2011-10-26, 06:52
  4. Replies: 1
    Last Post: 2008-01-28, 11:04
  5. Replies: 0
    Last Post: 2007-11-30, 05:18

Posting Permissions

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