You are here: Setting the src location only 1 time in the beginning for ALL graphics?? « HTML « IT news, forums, messages
Setting the src location only 1 time in the beginning for ALL graphics??

Posted by attorneyatlaw on 11/23/43 11:43

Boy... If somebody could help me solve this, I'd certainly appreciate
it.

Long story short, I have a website. I have a TON of graphics.
However, the graphics are stored someplace other than the website (i.e.
similar to when you put an ad on Ebay and store the graphics for your
ad someplace else). So basically I have a ton of html coding with
something like:

src="http://home.att.net/~novice/beginner/homepage/me/pic1.jpg"
src="http://home.att.net/~novice/beginner/homepage/me/pic2.jpg"
src="http://home.att.net/~novice/beginner/homepage/me/pic3.jpg"
src="http://home.att.net/~novice/beginner/homepage/me/pic4.jpg"
src="http://home.att.net/~novice/beginner/homepage/me/pic5.jpg"
src="http://home.att.net/~novice/beginner/homepage/me/pic6.jpg"
src="http://home.att.net/~novice/beginner/homepage/me/pic7.jpg"

Is there a way to add ONE line in the beginning of the html document
telling the computer that ALL graphics will be stored at:
http://home.att.net/~novice/beginner/homepage/me/"

So that my html coding will instead look like this (since it will
already know where ALL of the graphics are stored):
src="pic1.jpg"
src="pic2.jpg"
src="pic3.jpg"
src="pic4.jpg"
src="pic5.jpg"
src="pic6.jpg"
src="pic7.jpg"

I hope you can help.. this would save me a TON of
repetition/typing/confusion. Thanks greatly in advance.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация