Results 1 to 9 of 9

Thread: Insert text from a different page?

  1. #1

    Thread Starter
    Hyperactive Member tailz's Avatar
    Join Date
    Jul 2002
    Posts
    306

    Insert text from a different page?

    Hi all, hope everyone had good christmas :-)

    I would like to know if I can stream text into a page from a different page (across different sites).

    I've done it with images, I just wondered if I can be done with text....?

    Cheers

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Insert text from a different page?

    What do you mean? Like including some text from some other page? What do you mean by stream in?

  3. #3

    Thread Starter
    Hyperactive Member tailz's Avatar
    Join Date
    Jul 2002
    Posts
    306

    Re: Insert text from a different page?

    oo delay in replying... I've been drunk for a week now lol. happy new year

    What I mean is, I've currently got a thingy like this:

    <img src="http://www...../blah.aspx">

    and the aspx generates a gif etc. great for certain things but what I want to do is pump html out. I can write text onto blah.aspx which is pretty but not what I want :-)

    Guess it would be like inserting a usercontrol but it needs to be in the html client side as its across sites.

    Does anything I've just hammered in make sense? theres gonna be a simple answer to this I think - "no you cant"

  4. #4
    Frenzied Member MrGTI's Avatar
    Join Date
    Oct 2000
    Location
    Ontario, Canada
    Posts
    1,277

    Question Re: Insert text from a different page?

    Quote Originally Posted by tailz
    ...Does anything I've just hammered in make sense?...
    I've read this thread at least 3 times now, and i'm still having a hard time figuring out what you're trying to do. It think you need a more detailed explanation.
    ~Peter


  5. #5

    Thread Starter
    Hyperactive Member tailz's Avatar
    Join Date
    Jul 2002
    Posts
    306

    Re: Insert text from a different page?

    yea I just read it. my english is pants.

    I want to include html into a webpage but I would like it to come from a different page (across websites). I think its possible using javascript.

    heres (probably a bad) example. if you have an aspx page that produces an output of "qwerty" and nothing else. If you wanted to put the output of that page into your signature on here.... you can do it with images <img src=".../page.aspx"> just wondered if there is anything similar you can do with text...

  6. #6
    Frenzied Member MrGTI's Avatar
    Join Date
    Oct 2000
    Location
    Ontario, Canada
    Posts
    1,277

    Post

    I have never done that (created an image on a page, and accessed it from another page), but why don't you just use the same idea to create an "image" that is really text.

    The same principles should apply i would think.
    ~Peter


  7. #7

    Thread Starter
    Hyperactive Member tailz's Avatar
    Join Date
    Jul 2002
    Posts
    306

    Re: Insert text from a different page?

    For a couple of reasons. One being an image is 10x the download size but I may be able to get round that by playing with diff compressions.... we'll see.

    The other reason being, formatting and displaying text in a image is such a pain in the arse compared to simple html. plus it doesnt do wrapping which would be handy.

    Just wondering if using javascript could allow me to grab the html source off the remote page and insert it...

    However, I may just have to go with the image as I do not have the alternative, it is a solution to my overall problem and im running outta time

    thanks

  8. #8
    Frenzied Member MrGTI's Avatar
    Join Date
    Oct 2000
    Location
    Ontario, Canada
    Posts
    1,277

    Post

    If you leave out the Height and Width on the IMG tag on the page that is calling the image, then it will allow you to change the dimensions of the image and it's text when required.
    ~Peter


  9. #9

    Thread Starter
    Hyperactive Member tailz's Avatar
    Join Date
    Jul 2002
    Posts
    306

    Re: Insert text from a different page?

    yea I'm aware of that, tx. Wont help with wrapping the text though :-)

    thanks for your thoughts

Posting Permissions

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



Click Here to Expand Forum to Full Width