Adding HTML windows
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Adding HTML windows
i want to build a web browser for my web tv software i build the windows edition with browser bob but even though it carrys mac styles it can not make files. How do i have html frames inside a single window enabling the software to be used as a kind of web browser. Or is there a way i can convert my old browser bob project files so i can continue to use your software from there
-
- VIP Livecode Opensource Backer
- Posts: 1236
- Joined: Sat Apr 08, 2006 1:10 pm
- Location: Zurich
- Contact:
I am not sure if I understand what you want, but I guess you want to show a fully rendered html-page on the mac and on windows?
In that case you need altBrowser
If you just want to parse a subset of html, then RunRev can do it:
In that case you need altBrowser
If you just want to parse a subset of html, then RunRev can do it:
Code: Select all
--try this:
put url "http://google.com" into field 1
--or this:
set the htmltext of field 1 to url "http://google.com"
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
I think it would be possible to make your own frames using the fields
you need. You would have to pre-process your html document in Rev
first to find the frames information, then based on what you find, add
the amount of fields you need.
When reading the html document, assign the data for each frame to
the respective field for each frame.
Are the frames always going to be the same? If so, then it should be
even much easier. The fields can be hard coded instead of dynamically
producing them.
I haven't done anything like this in Rev, but if you need help actually
putting the idea to code, let me know, I'll try to help you out with the
code.
-Garrett
you need. You would have to pre-process your html document in Rev
first to find the frames information, then based on what you find, add
the amount of fields you need.
When reading the html document, assign the data for each frame to
the respective field for each frame.
Are the frames always going to be the same? If so, then it should be
even much easier. The fields can be hard coded instead of dynamically
producing them.
I haven't done anything like this in Rev, but if you need help actually
putting the idea to code, let me know, I'll try to help you out with the
code.
-Garrett