Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    Mar 2009
    Location
    Cheltenham, United Kingdom
    Posts
    43

    Post 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
    Last edited by The Nikster; 01 April 2009 at 05:30 PM. Reason: Need to clarify

  2. #2
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default 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.
    Attached Files Attached Files
    Last edited by Soquili; 01 April 2009 at 07:31 PM. Reason: corrected placeholder per Steve's post
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  3. #3

    Default 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.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	overflow.jpg 
Views:	888 
Size:	34.1 KB 
ID:	58544  

  4. #4
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default 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.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  5. #5
    Join Date
    Mar 2009
    Location
    Cheltenham, United Kingdom
    Posts
    43

    Thumbs up 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

  6. #6
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default 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.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  7. #7
    Join Date
    Mar 2009
    Location
    Cheltenham, United Kingdom
    Posts
    43

    Default Re: How can i create a Scrolling text box in xara WD

    Thank you Bill

    I will keep you posted 'excuse the pun'......

    Nick

  8. #8
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,919

    Default 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?
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  9. #9

    Default 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

  10. #10
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default 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.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	IE8-iframe-popup.png 
Views:	797 
Size:	76.6 KB 
ID:	58584  
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •