Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Having one bit of text displayed many times

Reply
Thread Tools

Having one bit of text displayed many times

 
 
Eric
Guest
Posts: n/a
 
      08-03-2006
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"


 
Reply With Quote
 
 
 
 
Jukka K. Korpela
Guest
Posts: n/a
 
      08-03-2006
Eric <> scripsit:

> 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/des...l#include-file

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
 
Reply With Quote
 
 
 
 
Eric
Guest
Posts: n/a
 
      08-03-2006
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





Jukka K. Korpela <> wrote in message
news:13kAg.1527$.. .
Eric <> scripsit:

> 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/des...l#include-file

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/


 
Reply With Quote
 
PeterMcC
Guest
Posts: n/a
 
      08-03-2006
Eric wrote in
<44d2312e$>

> Jukka K. Korpela <> wrote in message
> news:13kAg.1527$.. .
> Eric <> scripsit:
>
>> 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/des...l#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?

--
PeterMcC
If you feel that any of the above is incorrect,
inappropriate or offensive in any way,
please ignore it and accept my apologies.
 
Reply With Quote
 
Andy Mabbett
Guest
Posts: n/a
 
      08-03-2006
In message <44d2312e$>, Eric <> writes

>I would

[...]
> not ask such bloody useless dumb question


Excellent idea.

--
Andy Mabbett
Say "NO!" to compulsory ID Cards: <http://www.no2id.net/>

Free Our Data: <http://www.freeourdata.org.uk>
 
Reply With Quote
 
Eric
Guest
Posts: n/a
 
      08-03-2006
yes I did <yawn /> <yawn /> <yawn />
That jogged my memory on the frames



PeterMcC <> wrote in message
news:44d23771$0$964$...
Eric wrote in
<44d2312e$>

> Jukka K. Korpela <> wrote in message
> news:13kAg.1527$.. .
> Eric <> scripsit:
>
>> 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/des...l#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?

--
PeterMcC
If you feel that any of the above is incorrect,
inappropriate or offensive in any way,
please ignore it and accept my apologies.


 
Reply With Quote
 
Eric
Guest
Posts: n/a
 
      08-03-2006
I did not want to use frame due to the scrolling, the whole thought of it
looks horrible.




Andy Mabbett <> wrote in message
news:...
In message <44d2312e$>, Eric <> writes

>I would

[...]
> not ask such bloody useless dumb question


Excellent idea.

--
Andy Mabbett
Say "NO!" to compulsory ID Cards: <http://www.no2id.net/>

Free Our Data: <http://www.freeourdata.org.uk>


 
Reply With Quote
 
Jonathan N. Little
Guest
Posts: n/a
 
      08-03-2006
Eric wrote:
> 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") ?>


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
 
Reply With Quote
 
Eric
Guest
Posts: n/a
 
      08-03-2006
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



Jonathan N. Little <> wrote in message
news:55bc8$44d25b76$40cba794$...
Eric wrote:
> 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") ?>


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com


 
Reply With Quote
 
Eric
Guest
Posts: n/a
 
      08-03-2006
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.





Jonathan N. Little <> wrote in message
news:55bc8$44d25b76$40cba794$...
Eric wrote:
> 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") ?>


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the point of having 16 bit colour if a computer monitor can only display 8 bit colour? How do you edit 16 bit colour when you can only see 8 bit? Scotius Digital Photography 6 07-13-2010 03:33 AM
Resticted User on Windows XP Pro 64 bit having to click on Start>Shut Down>Restart 2 times for it to work Ronald R. Dodge, Jr. Windows 64bit 3 06-18-2009 10:42 AM
Japanese Text not displayed on Image Generated by Servlet on winXP, Linux but displayed on Win2000 boney Java 1 12-15-2006 02:24 PM
Datagrid - each item having two headers one displayed by row another by column Krishna ASP .Net 0 07-13-2006 07:36 AM
How many times is too many times? Jules W MCSA 3 08-30-2005 07:33 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57