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>
[/code]
Thanks
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
Re: help needed with adding multiple web pages to widget
[QUOTE=isalento;897646]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[/QUOTE]
Hi,
thanks for your reply- could you explain this iframe performance a bit? im relatively new to WRT.
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
Re: help needed with adding multiple web pages to widget
[QUOTE=isalento;897685]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[/QUOTE]
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 ?
Re: help needed with adding multiple web pages to widget
w3schools offers good material about many web technologies.
Please see following page about iframe:
[url]http://www.w3schools.com/tags/tag_iframe.asp[/url]
Br,
Ilkka
Re: help needed with adding multiple web pages to widget
[QUOTE=isalento;897753]w3schools offers good material about many web technologies.
Please see following page about iframe:
[url]http://www.w3schools.com/tags/tag_iframe.asp[/url]
Br,
Ilkka[/QUOTE]
Ah, thank you :)
i managed to get it to work.