Has anyone created a simple web browser using runrev?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
magice
Posts: 457
Joined: Wed Mar 18, 2009 12:57 am

Has anyone created a simple web browser using runrev?

Post by magice » Sat Mar 28, 2009 3:35 am

That must seem like an odd question, but the reason i ask, is that i need a field that can contain hyperlinks. I need to be able to change the color of those links based on their status. I need to be able to dynamically update the list of those links. I would like to be able to designate those links as sublinks of other links. At first I was looking into a third party "tree builder" software, however I am more of a student programmer and can't afford to shell out the cash for that software. (I am using the trial version of runrev and am trying to scrounge up the coin to buy a license). after hours of searching for anything with such a tree in it, it occured to me that if some one had written a simple web browser that i could butcher for the code, i could parse my links into an html file and view them with a modified version of such a browser.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Sat Mar 28, 2009 11:02 am

Dear magice,

In the docs, you will find explanations about linkColor, linkHiliteColor and linkVisitedColor.

Best regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

magice
Posts: 457
Joined: Wed Mar 18, 2009 12:57 am

Post by magice » Sat Mar 28, 2009 4:14 pm

Yes, I found those properties, but they appear to effect every link in the text area. I need to be able to change the color of individual links so that there are several different colors within the same text box. In my project, they need to be different colors based on whether the link is complete, incomplete but exists, or does not exist yet.

massung
Posts: 93
Joined: Thu Mar 19, 2009 5:34 pm

Post by massung » Sat Mar 28, 2009 8:37 pm

This is very untested, but I know you can set the color of various objects to empty to it uses no (or the default) color.

May it be possible to use <font color=#rrggbb> tags around your link and set linkColor and the other properties of the field to empty?

Jeff M.

Post Reply