Having one bit of text displayed many times

E

Eric

Below is the img tag you have a picture "myPic01.jpg" you can display it at
your web site as many times as you like
<img src="images/myPic01.jpg">


But can you do the same thing on a HTML page with a bit of text, without
doing massive copy & paste,
so this way if you wish to change the text you just need to change it once,
not "massive times"
 
J

Jukka K. Korpela

Eric said:
Below is the img tag you have a picture "myPic01.jpg" you can display
it at your web site as many times as you like
<img src="images/myPic01.jpg">

Maybe. It's invalid markup, anyway.
But can you do the same thing on a HTML page with a bit of text,
without doing massive copy & paste,
so this way if you wish to change the text you just need to change it
once, not "massive times"

You're probably trying to ask "how do I include a page in another?" Try
http://www.htmlhelp.com/faq/html/design.html#include-file
 
E

Eric

what is " invalid markup"

I thought I could do it with XML but that only works on Microsoft browser,
so that was a dead loss

and I do not want to do with iframes, otherwise I would of done it by now,
and not ask such bloody useless dumb question





Eric said:
Below is the img tag you have a picture "myPic01.jpg" you can display
it at your web site as many times as you like
<img src="images/myPic01.jpg">

Maybe. It's invalid markup, anyway.
But can you do the same thing on a HTML page with a bit of text,
without doing massive copy & paste,
so this way if you wish to change the text you just need to change it
once, not "massive times"

You're probably trying to ask "how do I include a page in another?" Try
http://www.htmlhelp.com/faq/html/design.html#include-file
 
P

PeterMcC

Eric wrote in
Maybe. It's invalid markup, anyway.


You're probably trying to ask "how do I include a page in another?"
Try http://www.htmlhelp.com/faq/html/design.html#include-file
what is " invalid markup"

I thought I could do it with XML but that only works on Microsoft
browser, so that was a dead loss

and I do not want to do with iframes, otherwise I would of done it by
now, and not ask such bloody useless dumb question

You didn't follow the link, did you?
 
E

Eric

yes I did <yawn /> <yawn /> <yawn />
That jogged my memory on the frames



Eric wrote in
Maybe. It's invalid markup, anyway.


You're probably trying to ask "how do I include a page in another?"
Try http://www.htmlhelp.com/faq/html/design.html#include-file
what is " invalid markup"

I thought I could do it with XML but that only works on Microsoft
browser, so that was a dead loss

and I do not want to do with iframes, otherwise I would of done it by
now, and not ask such bloody useless dumb question

You didn't follow the link, did you?
 
E

Eric

I did not want to use frame due to the scrolling, the whole thought of it
looks horrible.




I would [...]
not ask such bloody useless dumb question

Excellent idea.
 
J

Jonathan N. Little

Eric said:
yes I did <yawn /> <yawn /> <yawn />
That jogged my memory on the frames

1) you are top posting
(strike 1)
2) your replies are more vague than what others have advised you.
(strike 2)
3) your mocking to legitimate information
(strike 3)

The correct solution to your problem is any form of server-side file
inclusion of which is detailed in the previously supplied link, and PHP
includes may be the simplest and most widely supported method.

<?php include_once("myIncludedFile.php") ?>
 
E

Eric

the trouble is php does not work when you put your web site on CDROM for
other computers

Once again that is why I did not use it, once again that is why I asked.

XML seems to be the best option but the dam thing only works with Microsoft
express


you are bottom posting, take your strike one back "dictator" I CAN NOT FIND
A BOTTOM READER THAT OPENS AT THE BOTTOM OF THE PAGE, THAT IS WHY I TOP POST
TO STOP WASTING TOP SCROLLING DOWN



Eric said:
yes I did <yawn /> <yawn /> <yawn />
That jogged my memory on the frames

1) you are top posting
(strike 1)
2) your replies are more vague than what others have advised you.
(strike 2)
3) your mocking to legitimate information
(strike 3)

The correct solution to your problem is any form of server-side file
inclusion of which is detailed in the previously supplied link, and PHP
includes may be the simplest and most widely supported method.

<?php include_once("myIncludedFile.php") ?>
 
E

Eric

I am sorry everyone else I got a bit snooty with the "1) you are top posting
(strike 1)"
bit, and it flowed onto the rest of the reply.





Eric said:
yes I did <yawn /> <yawn /> <yawn />
That jogged my memory on the frames

1) you are top posting
(strike 1)
2) your replies are more vague than what others have advised you.
(strike 2)
3) your mocking to legitimate information
(strike 3)

The correct solution to your problem is any form of server-side file
inclusion of which is detailed in the previously supplied link, and PHP
includes may be the simplest and most widely supported method.

<?php include_once("myIncludedFile.php") ?>
 
B

Beauregard T. Shagnasty

Eric said:
you are bottom posting, take your strike one back "dictator"

open the front cover and begin reading there?
the back cover and end up at the front or do you
chapter one or do you start somewhere near
When reading a book, do you start at
I CAN NOT FIND A BOTTOM READER THAT OPENS AT THE BOTTOM OF THE PAGE,
THAT IS WHY I TOP POST TO STOP WASTING TOP SCROLLING DOWN

Please don't shout.

Most of the folks in these technical groups prefer it the other way.

The reason newsreaders don't default to opening way down there, is
because *proper* quoting and replying should be done inline, as I have
done here.

Yours is quite an old one ...
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
 
J

Jonathan N. Little

Eric said:
the trouble is php does not work when you put your web site on CDROM for
other computers

And where is this thread to provide this tidbit of information?
Once again that is why I did not use it, once again that is why I asked.

Ditto on reference. Oh you must have post in some other thread right?
Hate to bust you bubble bub, but you have neither hired me nor anyone
else in this newsgroup to be your personal help desk. I certainly help
understand your problem if you at least give use complete information on
your problem

XML seems to be the best option but the dam thing only works with Microsoft
express
No idea what you mean here...

you are bottom posting, take your strike one back "dictator" I CAN NOT FIND
A BOTTOM READER THAT OPENS AT THE BOTTOM OF THE PAGE, THAT IS WHY I TOP POST
TO STOP WASTING TOP SCROLLING DOWN

Well if you had a decent newsreader you would probably understand the
therm 'killfile'.
 
N

Neredbojias

I did not want to use frame due to the scrolling, the whole thought of
it looks horrible.

You could use javascript, the innerHTML function, but all relevant elements
would need to be labelled.
 
A

Andy Mabbett

I did not want to use frame due to the scrolling, the whole thought of
it looks horrible.

What are you replying to?

A: Because it messes up the order in which we read text
Q: Why is top posting such a bad thing?
A: Top posters
Q: What's the most annoying thing on usenet?
 
A

Andy Dingley

Eric said:
I CAN NOT FIND
A BOTTOM READER THAT OPENS AT THE BOTTOM OF THE PAGE, THAT IS WHY I TOP POST
TO STOP WASTING TOP SCROLLING DOWN

You are the weakest link. Goodbye!
 
R

Rik

Beauregard said:
open the front cover and begin reading there?
the back cover and end up at the front or do you
chapter one or do you start somewhere near
When reading a book, do you start at


Please don't shout.

Most of the folks in these technical groups prefer it the other way.

Yup, google netiquette.
The reason newsreaders don't default to opening way down there, is
because *proper* quoting and replying should be done inline, as I have
done here.

Yours is quite an old one ...
X-Newsreader: Microsoft Outlook Express 5.00.2615.200

Download & install OE-Quotefix....

Grtz,
 
H

Harlan Messinger

Eric said:
the trouble is php does not work when you put your web site on CDROM for
other computers

Once again that is why I did not use it, once again that is why I asked.

Apparently you're annoyed that the people trying to help you out aren't
psychic and didn't know in advance what you'd considered and rejected,
and why, before posting here.
XML seems to be the best option but the dam thing only works with Microsoft
express

That doesn't even make any sense. XML has nothing to do with repeating a
character string in different places.
you are bottom posting, take your strike one back "dictator" I CAN NOT FIND
A BOTTOM READER THAT OPENS AT THE BOTTOM OF THE PAGE, THAT IS WHY I TOP POST
TO STOP WASTING TOP SCROLLING DOWN

So instead you waste everyone else's time reading message backwards to
figure out what's going in. You really expect everybody to just wait on
you hand and foot, don't you? And anyone who points out why your
behavior is annoying is a "dictator" according to you.
 
P

PeterMcC

Eric wrote in
Eric wrote in



You didn't follow the link, did you?
yes I did <yawn /> <yawn /> <yawn />
That jogged my memory on the frames

I hope you won't mind my saying but, as someone who's seen how things work
around here, you're probably not approaching getting help from the regulars
in the most effective way.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,902
Latest member
Elena68X5

Latest Threads

Top