How can i create a Scrolling text box in xara WD
Hi
I am trying to create a scrolling text box using XWD. By scrolling text box i dont mean a box full of text that auto scrolls, i mean a box of text that can be scrolled by the user so that the web site itself can remain stationary.
I have applied the <iframe src ="mydoc" width="100%" height="100%" scrolling="auto"> <p>Your browser does not support iframes.</p> </iframe> To the replace with html box.
When published i can clearly see where the text box will be, so i think i got that bit right. However "How in the dickens" does one actually get the text in the damn placeholder????
I do not want the placeholder to 'POP UP', rather to display on a webpage itself.
I have scoured the forum's but so far this does not seem to be covered, unless i have missed it of course!!!!!
I am thinking the answer is probably staring me in the face, but so far cannot see it
Any help gladly received.
Many thanks
Nick
1 Attachment(s)
Re: How can i create a Scrolling text box in xara WD
Hi Nick,
Try the attached .web file.
The first page has an iframe placeholder (the large black rectangle). The code in the placeholder uses the second page as the source of the text.
1 Attachment(s)
Re: How can i create a Scrolling text box in xara WD
If you change scrolling=yes to scrolling=auto, you'll prevent the text from flowing over the bottom.
Also the placeholder needs to be a little more wider (than the page 2 text) to prevent the horizontal scroll bar from appearing, eg; 260pix.
Re: How can i create a Scrolling text box in xara WD
Thanks Steve, I made the place holder a little wider.
For anyone that downloaded, the attachment to my previous post has been updated.
Re: How can i create a Scrolling text box in xara WD
Hi,
Thanks Steve and Bill.
Worked like a charm.
I just could not see how to get the text in the placeholder iFrame, so all is good now.
I absolutely love this product, something i have been waiting for, for years as i guess alot of other people have as well.
I am not a programmer or a coder, i only know very basic html etc, so having a tool as powerful as this without spending hours and hours attempting to make z index's and such like to float images on top of one other is just first rate.
I wonder if you would perhaps take a quick look at a site i am currently working on, and maybe give me your opinion?
www.pixmediauk.com
Once again many thanks to you both.
Kind regards
Nick
Re: How can i create a Scrolling text box in xara WD
Nick the site looks very good to me. I look forward to seeing it completed.
Re: How can i create a Scrolling text box in xara WD
Thank you Bill
I will keep you posted 'excuse the pun'......
Nick
Re: How can i create a Scrolling text box in xara WD
Bill/Steve, is there any way to load a text file into an iframe?
I've tried
Code:
<iframe name=txtScroll src=test.txt transparency=false width=100% height=100% scrolling=yes frameborder=1 marginheight=0 marginwidth=0></iframe>
And it didn't work. Any ideas?
Re: How can i create a Scrolling text box in xara WD
Egg that code is correct provided the 'test.txt' is in the root folder of the site (same folder as index.htm)
But it won't have any font formatting.
You can wrap the text in a font tag though and rename it to test.htm
This is what I've done here.
Variation here
You can also put the test.txt in the index_htm_files folder and change to src=index_htm_files/test/txt
1 Attachment(s)
Re: How can i create a Scrolling text box in xara WD
Steve when viewing your popup iframe example in any version of IE the background and text are both white. The text must be selected to view it.