Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    May 2013
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Embed document in html. Take only last 100 lines of text (how to?)

    1) Project Details: (be as specific as possible): First, to say I am very new to html. I embedded a notepad file from my computer in to my "site" the file holds around 10,000 lines of text. More lines of text are added daily to the file. I'm wondering how I can make the site only display the last 100 lines of text that are in the notepad file?

    All the code I have for the embedding of the file is this <embed src="file"> basically. So instead of the whole file just the last 100 lines?

    2) Payment method/ details (Paypal, check? Timeline?): I am very new to html just trying understand it. I can not offer any payment. Sorry, hopefully you guys can still help me. Thanks!

  • #2
    Regular Coder hdewantara's Avatar
    Join Date
    Aug 2009
    Location
    Jakarta, Indonesia.
    Posts
    361
    Thanks
    9
    Thanked 53 Times in 52 Posts
    Hello Alex,
    and welcome

    I'm afraid you have to then do it yourself. There's a technology called "ajax" you might want to explore; try to google it.

    Hendra

  • #3
    New Coder
    Join Date
    Jun 2013
    Location
    Rio Rancho
    Posts
    18
    Thanks
    2
    Thanked 0 Times in 0 Posts
    I'm not certain that you can do that with document files, unlike image or sound files, in HTML. But what you could do is copy-paste the lines into the body of your website.


  •  

    Tags for this Thread

    Posting Permissions

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