

|
 |
| Programming > JavaScript > Re: My Very Str... |
|
| << Topic |
< Post |
Post 72 of 173 Topic 35534 of 37156
|
Post > |
Topic >> |
Re: My Very Strange Webhost, SBI! -- Opinions, Please
by Prisoner at War <prisoner_at_war@[EMAIL PROTECTED]
>
May 14, 2008 at 01:46 PM
| On May 14, 3:05 pm, Mark Goodge <use...@[EMAIL PROTECTED]
>
wrote:
>
>
> I think that the OP means "relative to the do***ent root" when he says
> "absolute" - that is, an absolute path as far as the browser is
> concerned (starting with a "/").
Hey, I'm just taking my cue from SBI! tech sup****t, which is just
passing along the message from their "programmers" -- they're the ones
calling it an absolute file path name format. I've adopted the label
on the assumption that they know what they're talking about.
> In this context, "relative" is
> usually taken to mean "relative to the current page URL".
Yeah, it seems that "http://www.my-website.com"
is the "root" and an
absolute path for a file would be "http://www.my-website.com/files/
file.doc" as opposed to "files/file.doc" -- which is relative format,
relative to the do***ent calling for the file.
> In this
> context, the first and last of your examples are "absolute" to the
> browser, as they will work from any page on his site no matter what
> its location in the URL structure. The middle two, by contrast, will
> only work if the page is in the do***ent root itself:
>
> http://www.ego-management.org/image-files/awww4.png
> image-files/awww4.png
> ./image-files/awww4.png
> /image-files/awww4.png
Sorry, can't follow along...all I know is that "absolute" is like
telling someone the full mailing address of a geographical location,
while "relative" is like telling someone "it's down the block on the
corner."
> If that is the case then that also explains his problem. If you're
> using an online CMS - particularly a javascript-based WYSIWYG CMS -
> then you need to make your image paths absolute URLs (ie, relative to
> the do***ent root), as the relative path from the CMS is usually
> different to the relative path from the public location of the page.
But why only the first src attribute; how come the other two can
remain relative, as I'd had them originally??
> If you use a relative URL when creating pages in an online CMS, then
> either the page will work in the CMS but not in the main site, or work
> in the main site but not the CMS. And that's not a "bug" in the CMS,
> it's a normal consequence of using one.
Seems to be a "bug" in the same way Y2K was a bug -- not accounting
for the way people actually do things. I don't know anything about
CMS (only found out about it in this thread!), but surely software
designed to manage content shouldn't require that content to deviate
from standard practices -- and relative path format is standard
practice for addressing a file that's in the same domain!
> Mark
> --
> Miscellaneous remarks athttp://Mark.Goodge.co.uk
> "All this talk of getting old, it's getting me down my love"


|
173 Posts in Topic:
|
Prisoner at War <priso |
2008-05-08 13:54:01 |
|
Ben C <spamspam@[EMAIL |
2008-05-08 16:37:40 |
|
Sherman Pendley <spamt |
2008-05-08 23:57:49 |
|
=?iso-8859-1?Q?Kim_Andr=E |
2008-05-08 23:17:40 |
|
"nobody@[EMAIL PROTE |
2008-05-09 00:33:31 |
|
Jerry Stuckle <jstuckl |
2008-05-08 20:56:03 |
|
Sherman Pendley <spamt |
2008-05-09 00:05:36 |
|
"Richard Cornford&qu |
2008-05-09 07:36:15 |
|
SAZ <saz1958@[EMAIL PR |
2008-05-08 21:20:13 |
|
Prisoner at War <priso |
2008-05-09 06:25:15 |
|
SAZ <saz1958@[EMAIL PR |
2008-05-09 12:17:49 |
|
Prisoner at War <priso |
2008-05-11 09:18:33 |
|
Mark Goodge <usenet@[E |
2008-05-11 21:19:51 |
|
Prisoner at War <priso |
2008-05-09 06:50:28 |
|
Prisoner at War <priso |
2008-05-09 06:59:52 |
|
Prisoner at War <priso |
2008-05-09 07:02:13 |
|
Sherman Pendley <spamt |
2008-05-09 12:27:29 |
|
Sherman Pendley <spamt |
2008-05-09 12:36:53 |
|
Prisoner at War <priso |
2008-05-14 19:29:13 |
|
Mark Goodge <usenet@[E |
2008-05-15 07:13:17 |
|
Andy Dingley <dingbat@ |
2008-05-15 02:56:50 |
|
Andy Dingley <dingbat@ |
2008-05-15 06:38:21 |
|
Prisoner at War <priso |
2008-05-18 21:34:52 |
|
Prisoner at War <priso |
2008-05-09 07:08:52 |
|
Joose Niemi <jooseNOSP |
2008-05-09 18:14:23 |
|
Jim Moe <jmm-list.AXSP |
2008-05-10 12:32:29 |
|
Prisoner at War <priso |
2008-05-09 07:15:08 |
|
Dave <kontos@[EMAIL PR |
2008-05-09 12:53:50 |
|
Prisoner at War <priso |
2008-05-09 07:21:01 |
|
"nobody@[EMAIL PROTE |
2008-05-09 22:57:33 |
|
Jim <j_green71@[EMAIL |
2008-05-09 07:33:49 |
|
Prisoner at War <priso |
2008-05-09 07:34:22 |
|
Jim <j_green71@[EMAIL |
2008-05-09 07:46:03 |
|
Prisoner at War <priso |
2008-05-09 07:47:20 |
|
Prisoner at War <priso |
2008-05-09 08:03:17 |
|
Chaddy2222 <spamloverm |
2008-05-09 08:20:10 |
|
Prisoner at War <priso |
2008-05-09 13:12:25 |
|
Prisoner at War <priso |
2008-05-09 13:14:17 |
|
Sherman Pendley <spamt |
2008-05-09 18:22:15 |
|
Thomas 'PointedEars' Lahn |
2008-05-10 11:31:51 |
|
Sherman Pendley <spamt |
2008-05-10 12:18:58 |
|
Thomas 'PointedEars' Lahn |
2008-05-10 20:26:49 |
|
Sherman Pendley <spamt |
2008-05-11 10:54:54 |
|
Prisoner at War <priso |
2008-05-09 13:25:08 |
|
Prisoner at War <priso |
2008-05-09 13:28:53 |
|
Mark Goodge <usenet@[E |
2008-05-09 22:19:54 |
|
SAZ <saz1958@[EMAIL PR |
2008-05-09 16:41:37 |
|
Prisoner at War <priso |
2008-05-11 15:29:11 |
|
Mark Goodge <usenet@[E |
2008-05-12 07:19:10 |
|
Prisoner at War <priso |
2008-05-09 22:00:25 |
|
Mark Goodge <usenet@[E |
2008-05-10 10:27:22 |
|
Thomas 'PointedEars' Lahn |
2008-05-10 11:33:36 |
|
Sherman Pendley <spamt |
2008-05-10 12:16:22 |
|
Prisoner at War <priso |
2008-05-09 22:27:36 |
|
Mark Goodge <usenet@[E |
2008-05-10 10:17:25 |
|
Prisoner at War <priso |
2008-05-12 14:14:09 |
|
Prisoner at War <priso |
2008-05-10 19:29:37 |
|
Jerry Stuckle <jstuckl |
2008-05-10 22:47:21 |
|
Sherman Pendley <spamt |
2008-05-11 13:21:05 |
|
Jerry Stuckle <jstuckl |
2008-05-11 15:54:52 |
|
Jim Moe <jmm-list.AXSP |
2008-05-10 22:43:59 |
|
Prisoner at War <priso |
2008-05-10 19:55:31 |
|
Sherman Pendley <spamt |
2008-05-11 12:06:56 |
|
Prisoner at War <priso |
2008-05-10 20:08:23 |
|
Prisoner at War <priso |
2008-05-10 20:53:45 |
|
Mark Goodge <usenet@[E |
2008-05-11 08:47:03 |
|
Chaddy2222 <spamloverm |
2008-05-10 23:49:47 |
|
Prisoner at War <priso |
2008-05-11 09:02:13 |
|
Jerry Stuckle <jstuckl |
2008-05-11 15:53:39 |
|
Prisoner at War <priso |
2008-05-11 09:07:19 |
|
Prisoner at War <priso |
2008-05-11 09:13:08 |
|
Prisoner at War <priso |
2008-05-14 13:46:14 |
|
Mark Goodge <usenet@[E |
2008-05-14 22:15:21 |
|
Prisoner at War <priso |
2008-05-11 09:35:34 |
|
Sherman Pendley <spamt |
2008-05-11 16:20:43 |
|
dorayme <doraymeRidThi |
2008-05-12 08:32:29 |
|
Prisoner at War <priso |
2008-05-11 15:49:00 |
|
Sherman Pendley <spamt |
2008-05-11 20:13:13 |
|
Prisoner at War <priso |
2008-05-11 16:17:52 |
|
Jerry Stuckle <jstuckl |
2008-05-12 12:50:24 |
|
Prisoner at War <priso |
2008-05-11 16:21:20 |
|
Jerry Stuckle <jstuckl |
2008-05-12 12:51:50 |
|
Prisoner at War <priso |
2008-05-11 16:29:47 |
|
dorayme <doraymeRidThi |
2008-05-12 10:17:49 |
|
Prisoner at War <priso |
2008-05-11 17:00:39 |
|
Jerry Stuckle <jstuckl |
2008-05-12 12:52:20 |
|
Prisoner at War <priso |
2008-05-11 17:34:22 |
|
Prisoner at War <priso |
2008-05-11 17:41:10 |
|
Sherman Pendley <spamt |
2008-05-12 04:06:33 |
|
Chaddy2222 <spamloverm |
2008-05-12 01:23:28 |
|
Andy Dingley <dingbat@ |
2008-05-12 08:53:02 |
|
Andy Dingley <dingbat@ |
2008-05-12 10:43:20 |
|
Prisoner at War <priso |
2008-05-12 12:12:11 |
|
"Jonathan N. Little& |
2008-05-12 16:14:47 |
|
Prisoner at War <priso |
2008-05-14 19:46:02 |
|
Mark Goodge <usenet@[E |
2008-05-15 07:18:13 |
|
Lasse Reichstein Nielsen |
2008-05-26 07:37:59 |
|
"Rod Speed" < |
2008-05-26 15:55:34 |
|
Prisoner at War <priso |
2008-05-12 12:27:15 |
|
Prisoner at War <priso |
2008-05-12 13:01:05 |
|
Prisoner at War <priso |
2008-05-12 13:06:51 |
|
Prisoner at War <priso |
2008-05-12 13:09:27 |
|
Prisoner at War <priso |
2008-05-12 13:23:27 |
|
Andy Dingley <dingbat@ |
2008-05-12 23:34:51 |
|
Prisoner at War <priso |
2008-05-12 13:33:55 |
|
"Jonathan N. Little& |
2008-05-12 23:41:42 |
|
Prisoner at War <priso |
2008-05-18 21:16:32 |
|
Prisoner at War <priso |
2008-05-12 13:53:24 |
|
Andy Dingley <dingbat@ |
2008-05-12 23:33:30 |
|
Steve Pugh <steve.grum |
2008-05-12 15:18:31 |
|
Prisoner at War <priso |
2008-05-12 16:09:27 |
|
Prisoner at War <priso |
2008-05-12 16:17:04 |
|
Prisoner at War <priso |
2008-05-12 16:23:37 |
|
Chaddy2222 <spamloverm |
2008-05-12 19:07:04 |
|
shawn <javaforhire@[EM |
2008-05-12 19:32:46 |
|
"Andrew Heenan" |
2008-05-13 03:41:56 |
|
Jerry Stuckle <jstuckl |
2008-05-13 11:52:54 |
|
Disco Octopus <disco@[ |
2008-05-12 22:45:08 |
|
Prisoner at War <priso |
2008-05-16 20:30:05 |
|
Disco Octopus <disco@[ |
2008-05-12 22:56:18 |
|
"Jonathan N. Little& |
2008-05-13 10:41:38 |
|
Andy Dingley <dingbat@ |
2008-05-13 03:32:40 |
|
Andy Dingley <dingbat@ |
2008-05-13 03:37:38 |
|
Andy Dingley <dingbat@ |
2008-05-13 06:22:40 |
|
Prisoner at War <priso |
2008-05-13 08:55:21 |
|
Prisoner at War <priso |
2008-05-13 09:01:20 |
|
Prisoner at War <priso |
2008-05-13 09:03:32 |
|
Prisoner at War <priso |
2008-05-13 09:12:30 |
|
Prisoner at War <priso |
2008-05-13 09:27:49 |
|
"Jonathan N. Little& |
2008-05-13 15:11:58 |
|
Mark Goodge <usenet@[E |
2008-05-14 20:05:40 |
|
Prisoner at War <priso |
2008-05-13 09:43:43 |
|
Prisoner at War <priso |
2008-05-13 09:50:26 |
|
Prisoner at War <priso |
2008-05-13 09:58:31 |
|
Prisoner at War <priso |
2008-05-13 10:01:47 |
|
Chaddy2222 <spamloverm |
2008-05-13 10:05:09 |
|
Prisoner at War <priso |
2008-05-13 10:10:26 |
|
Prisoner at War <priso |
2008-05-13 10:21:27 |
|
Prisoner at War <priso |
2008-05-13 10:35:06 |
|
Prisoner at War <priso |
2008-05-13 13:23:58 |
|
Disco Octopus <disco@[ |
2008-05-13 15:09:26 |
|
Chaddy2222 <spamloverm |
2008-05-14 00:04:55 |
|
Andy Dingley <dingbat@ |
2008-05-14 04:59:00 |
|
Andy Dingley <dingbat@ |
2008-05-14 07:06:54 |
|
Prisoner at War <priso |
2008-05-14 13:10:43 |
|
Prisoner at War <priso |
2008-05-14 13:19:05 |
|
Prisoner at War <priso |
2008-05-14 13:33:50 |
|
Prisoner at War <priso |
2008-05-14 14:00:25 |
|
Mark Goodge <usenet@[E |
2008-05-14 22:10:16 |
|
Chaddy2222 <spamloverm |
2008-05-14 23:13:12 |
|
Andy Dingley <dingbat@ |
2008-05-15 03:01:17 |
|
Prisoner at War <priso |
2008-05-16 20:34:04 |
|
Prisoner at War <priso |
2008-05-16 20:36:07 |
|
"Jonathan N. Little& |
2008-05-17 00:14:48 |
|
Prisoner at War <priso |
2008-05-18 20:54:56 |
|
"Jonathan N. Little& |
2008-05-19 11:09:15 |
|
=?iso-8859-1?Q?Kim_Andr=E |
2008-05-21 19:45:46 |
|
Prisoner at War <priso |
2008-05-25 22:18:20 |
|
dorayme <doraymeRidThi |
2008-05-26 17:39:11 |
|
"Jonathan N. Little& |
2008-05-27 09:35:38 |
|
dorayme <doraymeRidThi |
2008-05-28 12:49:02 |
|
"Jonathan N. Little& |
2008-05-27 23:39:49 |
|
dorayme <doraymeRidThi |
2008-05-28 13:51:03 |
|
ad@[EMAIL PROTECTED]
(Ar |
2008-05-26 09:43:19 |
|
ad@[EMAIL PROTECTED]
(Ar |
2008-05-26 09:47:20 |
|
beegee <bgulian@[EMAIL |
2008-05-26 08:08:48 |
|
Prisoner at War <priso |
2008-05-26 12:16:59 |
|
Jerry Stuckle <jstuckl |
2008-05-26 15:37:58 |
|
John Hosking <John@[EM |
2008-05-26 22:11:26 |
|
dorayme <doraymeRidThi |
2008-05-27 10:06:42 |
|
Prisoner at War <priso |
2008-05-26 12:25:59 |
|
"Richard Cornford&qu |
2008-05-27 02:09:39 |
|
Michael Wojcik <mwojci |
2008-05-27 11:08:43 |
|
Post A Reply:

|
|
|
|