Log in

View Full Version : Anyone familiar with overLib? Just want 2 text colors



Bubbletin
03-17-2007, 02:11 PM
I'm working with: http://www.bosrup.com/web/overlib/?Features

Trying to produce the following:

This text is one color: making this text another color
And this link is bold and another color.

Could anyone give me an example of how I would go about including 2 or more text/link colors? I tried writing the author with no reply, probably busy with a thousand other emails. I put this in the CSS section as I read items could be altered through CSS inclusion but it all became german for me after that. All the same thank you very much for reading.

Bubbletin
03-18-2007, 11:45 AM
Anyone please? Or perhaps an alternative to using overLIB? :)

Twey
03-18-2007, 12:22 PM
According to that page, you can just use HTML in the string. Not sure what the point of having a link in there would be, though... the user could never click it.

Bubbletin
03-18-2007, 12:39 PM
If you scrolldown to the bottom of the page above you can make a sticky popup allowing people to click popups. And although I can include html it won't allow me to include 2 or more colors, just overall universal 1 color for all text.

jscheuer1
03-18-2007, 03:00 PM
If you can include HTML, you should also be able to include inline style. This will allow you to color and/or do just about anything to the style of individual parts of the included HTML. However, and I have had some experience with an earlier (probably much earlier) version of overLib, when putting style into tags that you put into some syntax that will be used by overLib or any script, quoting can become a little complicated. Sometimes quotes and/or single quotes must be escaped:


<a href=\"some.htm\" style=\"color:red;\">Link text</a>

Sometimes even that isn't good enough and if quotes can be skipped (as they can in the above):


<a href=some.htm style=color:red;>Link text</a>

That will do it.

Or a class or id name may be used and styled in a stylesheet:


<a href=some.htm id=ol_link1 >Link text</a>

Sometimes other things need to be done. There is almost always a way (or several ways) to make it work. If you were to put up an example page of what you are trying to do I might be able to get it to work for you.