×

Discussion Board

Results 1 to 7 of 7

Hybrid View

  1. #1
    Registered User
    Join Date
    Jun 2012
    Location
    Hull, United Kingdom
    Posts
    48

    Question help needed with adding multiple web pages to widget

    Hi,
    I am trying to create a widget which loads multiple websites on the same app but where i can simply scroll down to view other websites which are programmed to load.
    Now i managed to get one to load automatically but i have no clue how to allow it to scroll down to reveal more web pages.
    I tried a little idea but it failed.
    Any ideas ?
    My code is the following:

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
    <title>Facebook Touch</title>
    <meta http-equiv="REFRESH" content="1;url=http://touch.facebook.com">
    </head>
    <BODY>
    
    <head>
       <blockquote>   <blockquote>   
    <blockquote>
       </blockquote>
    </blockquote>
       </blockquote>
    
    <meta http-equiv="REFRESH" content="0;url=http://m.facebook.com">
    </HEAD>
    <BODY>
    </BODY>
    </HTML>
    Thanks
    Last edited by allstar12345; 2012-06-24 at 17:30. Reason: bb code fix

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

    Re: help needed with adding multiple web pages to widget

    Hi and welcome to forum!

    Meta refresh causes a browser to do a redirect to different site. After refresh is complete, you will lose the widget context and in fact browser has loaded facebook page.

    As an alternative solution please check iframe performance and functionality in target device.

    Br,
    Ilkka

  3. #3
    Registered User
    Join Date
    Jun 2012
    Location
    Hull, United Kingdom
    Posts
    48

    Re: help needed with adding multiple web pages to widget

    Quote Originally Posted by isalento View Post
    Hi and welcome to forum!

    Meta refresh causes a browser to do a redirect to different site. After refresh is complete, you will lose the widget context and in fact browser has loaded facebook page.

    As an alternative solution please check iframe performance and functionality in target device.

    Br,
    Ilkka
    Hi,
    thanks for your reply- could you explain this iframe performance a bit? im relatively new to WRT.

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

    Re: help needed with adding multiple web pages to widget

    Hi,

    Sorry I was bit vague there. You can use iframes to load and show multiple web sites in your WRT widget.
    However there might be performance issues (memory runs out, scrolling is sluggish etc..), if many heavy (complicated & graphically rich) pages are loaded at same time. In addition there might be problems with scrolling etc.. depending content of the pages.
    That's the reason why I recommend to make sanity check with a real device before proceeding with this approach.

    Br,
    Ilkka

  5. #5
    Registered User
    Join Date
    Jun 2012
    Location
    Hull, United Kingdom
    Posts
    48

    Re: help needed with adding multiple web pages to widget

    Quote Originally Posted by isalento View Post
    Hi,

    Sorry I was bit vague there. You can use iframes to load and show multiple web sites in your WRT widget.
    However there might be performance issues (memory runs out, scrolling is sluggish etc..), if many heavy (complicated & graphically rich) pages are loaded at same time. In addition there might be problems with scrolling etc.. depending content of the pages.
    That's the reason why I recommend to make sanity check with a real device before proceeding with this approach.

    Br,
    Ilkka

    Hi,
    Thanks for the info.
    Im aiming the widget at Belle devices and the pages will be relatively small, can you link me to this iframes code or a guide to writing it ?

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

    Re: help needed with adding multiple web pages to widget

    w3schools offers good material about many web technologies.

    Please see following page about iframe:
    http://www.w3schools.com/tags/tag_iframe.asp

    Br,
    Ilkka

Similar Threads

  1. Opening multiple QML pages from Cpp?
    By _perza in forum [Archived] Qt Quick
    Replies: 1
    Last Post: 2011-10-03, 15:45
  2. Multiple pages in QStackedWidget
    By yannifan in forum Qt
    Replies: 3
    Last Post: 2011-03-14, 14:55
  3. Is it possible to make a mutilpe pages widget?
    By _shuchong in forum Symbian
    Replies: 2
    Last Post: 2009-10-19, 15:52
  4. Adding a listbox to a form 'pages' resource?
    By advocatee in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-07-08, 15:13
  5. Problem of multiple pages
    By chheang in forum Symbian
    Replies: 1
    Last Post: 2002-09-04, 07:25

Posting Permissions

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