473,395 Members | 1,418 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Newbie question about Files

kadghar
1,295 Expert 1GB
Hi, im not good at HTML, actually i dont use it very often, but i was wondering if its posible to save some space by setting a path as a default. i.e:

I have a list of links to archives, lets say:

<a href = "/files/images/mypics/pic1.jpg">Picture1</a><br>
<a href = "/files/images/mypics/pic2.jpg">Picture2</a><br>
<a href = "/files/images/mypics/pic3.jpg">Picture3</a><br>
<a href = "/files/images/mypics/pic4.jpg">Picture4</a><br>

and i want to make the default route "/files/images/mypics/" , so my code will be:
<a href = "pic1.jpg">Picture1</a><br>
<a href = "pic2.jpg">Picture2</a><br>
<a href = "pic3.jpg">Picture3</a><br>
<a href = "pic4.jpg">Picture4</a><br>

any help will be apreciated.
Sep 5 '07 #1
3 1156
drhowarddrfine
7,435 Expert 4TB
Yes, read this. .
Sep 5 '07 #2
kadghar
1,295 Expert 1GB
thanks!!!
that's perfect
Sep 5 '07 #3
kadghar
1,295 Expert 1GB
I have one other question, just like the one above,

Is it posible that instead of havin 1 base URI, i can have 2??

something like
<a href ="path1/Presentation1.ppt"><img src="path2/Numer1.jpg"></a><br>
<a href ="path1/Presentation2.ppt"><img src="path2/Numer2.jpg"></a><br>

so i dont have to write the whole paths each time?
Sep 5 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

13
by: paragpdoke | last post by:
Hello Everyone. Merry Christmas to all ! I'm a JavaScript newbie (and new to thescripts.com too). And I have problems in working with objects in JavaScript. The problem: <a...
2
by: jasonjasonjason | last post by:
Hi. Im A complete newbie with php and know only the very basics and wondered if anyone had the answer to my problem? I have been adding/including files within my php pages like so: <?php...
2
by: Damfino | last post by:
Hi all, Newbie question here wrt defining a class that will work on bits read from a binary file. How would you go about doing it? As an example please look at the structure of my data given...
0
by: Rauf Sarwar | last post by:
Originally posted by dreimer You have to use ODBC/ADO etc to connect to the database. I don't know the exact syntax but you can search in comp.lang.visual.basic NG. Another suggestion.... dump...
8
by: jch | last post by:
Sorry for the newbie question but I'm trying to learn Visual Studio. I've got VS Express 2008 and I'm using visual basic. I'm trying to learn how to deploy a program so I've written a very basic...
33
by: Adam Chapman | last post by:
Hi, Im trying to migrate from programming in Matlab over to C. Im trying to make a simple function to multiply one matrix by the other. I've realised that C can't determine the size of a 2d...
5
by: Albert-jan Roskam | last post by:
Hi, I wrote the program below to merge all xls files in a given directory into one multisheet xls file. It uses xlwt and xlrd. The xls files I use for input are generated by Spss. When I open and...
0
by: Albert-jan Roskam | last post by:
Hi John, Thanks! Using a higher xlrd version did the trick! Regarding your other remarks: -yep, input files with multiple sheets don't work yet. I kinda repressed that ;-) Spss outputs only...
1
by: Stephanie | last post by:
Hi. I am doing a tutorial http://www.15seconds.com/Issue/020319.htm About creating user controls in ASP.NET. As I run through the tutorial, there is a point after which I create a lovely...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.