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
Printable View
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
What do you mean? Like including some text from some other page? What do you mean by stream in?
oo delay in replying... I've been drunk for a week now lol. happy new year :D
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"
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.Quote:
Originally Posted by tailz
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...
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.
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 :D
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.
yea I'm aware of that, tx. Wont help with wrapping the text though :-)
thanks for your thoughts :thumb: