PDA

View Full Version : XML, Style Sheets, TextArea, Images, Hyperlinks, and Text


funkpucker
10-30-2003, 09:40 PM
Okay, here's the deal. I have a text area that imports external XML and is formatted with a StyleSheet. If an XML document has a hyperlink and an Image, when hovering over the hyperlink, the text margin from that point on changes.
So say the Image is 200 pixels wide, is aligned left, and there's a hyperlink 5 lines from the bottom of the document.
When you hover over the hyperlink, a Margin is set for the last 5 lines of text on the left side of the page that is 200 pixels wide (the width of the image).
I tried taking out the CSS for the links, and getting rid of the CSS alltogether, but that didn't work.
Is there any way to fix this, or any other way I could import an image into this textarea along with text and hyperlinks so it can all be scrollable and dynamic?
Or would I have to use Macromedia Director for something like this?

Stimpson
11-03-2003, 08:33 AM
Hey, check out this thread:

http://www.actionscript.org/forums/showthread.php3?s=&threadid=35073&highlight=image+textfield

I think you have to set a fixed height and width for the image in the stylesheet, that way the text gets preformatted in the right place before the image loads.

funkpucker
11-04-2003, 01:19 AM
yeah, i saw that thread already... the height and width is set in the XML with absolute values.
I don't really need help with this anymore, I'm going to use SWF Studio, but if anyone has any ideas, it might be helpfull for other users with this same problem.

Is anyone else having this problem?

hipster
12-23-2003, 05:40 PM
you need to use:
&lt; instead of <
and &gt; instead of > when you're inside of an XML tag already

facklera
11-26-2009, 05:20 AM
Can you embed a hyperlink into a jpeg graphic, to make it a live link? I want to add a hyperlink to a jpeg graphic so if you click it, it takes you to the designated website, How and what program does this?
__________________
external keyword tool (http://www.keywordspy.com/overview/keyword.aspx?q=external%20keyword%20tool) ~ keyworddiscovery.com (http://www.keywordspy.com/overview/domain.aspx?q=keyworddiscovery.com) ~ keycompete.com (http://www.keywordspy.com/overview/domain.aspx?q=keycompete.com) ~ compete.com (http://www.keywordspy.com/overview/domain.aspx?q=compete.com) ~ webmasterworld.com (http://www.keywordspy.com/overview/domain.aspx?q=webmasterworld.com)