Re: Text in scrollbox
I woud agree that using an iframe would be the best choice for inserting this type of content. The placeholder can be made to be the same size as the iframe (if pixels size is used instead of %, either acceptable in the iframe code).
I recommend including the name of the iframe as part of the code as a matter of course.
<iframe name="IFRAME1" src="contentpage.htm" width="100" height="280" frameborder="0" ></iframe>
Scroll bars appear automatically as needed, even without including the scrolling="auto" part of the code.
A name for the iframe helps define them, allows for more than one on a page, and ability to link to the iframe to change the content.
Typical link would look like this: (Example: Show Google home page in iframe)
<A href="http://www.google.com" target="IFRAME1" title="Google search engine">Google</A>
Just type the text for the link on the page, use it as a placeholder and paste in the link code.
When the link is clicked the content of the iframe is changed to view Google home page.
Last edited by samrc; 22 April 2011 at 01:53 PM.
Reason: my bad spelling....
-Samantha
"Try to live your life so that you wouldn't be afraid to sell the family parrot to the town gossip." Will Rogers (1879 - 1935)
Bookmarks