This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > June 2004 > Paths not working the same in DW as in IE





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Paths not working the same in DW as in IE
Thomas Scheiderich

2004-06-13, 7:14 pm

I have the following page with 3 images to display:

****************************************************************************
*****************
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<html>
<head>
<title>Intranet</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
<link href="../contour.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"
bordercolor="#000099">
<tr height="100">
<td><table width="100%" cellspacing="0" cellpadding="0" summary="Layout
Table">
<tr>
<td width="496" height="100" ><img
src="/contour/images/Contour_logo_intranet1_1x1.gif" width="496"
height="100" hspace="0" vspace="0"></td>
<td width="100%"><img
src="/contour/images/Contour_logo_intranet1_1x2.gif" width="100%"
height="100" hspace="0" vspace="0"></td>
<td width="129" height="100" ><div align="right"><img
src="/contour/images/Contour_logo_intranet1_1x3.gif" width="129"
height="100" hspace="0" vspace="0"></div></td>
</tr>
</table></td>
</tr>
****************************************************************************
*****************

If I display the above, the images don't display in DW design mode or
Preview in Browser mode. It does work in my IE browser when I start it from
normally.

If I change to <img src="/images/...">, it works in my DW design mode and
Preview mode, but not in my IE browser.

If I change it to <img src="images/..">, it works in IE, but not DW.

The situation is that I have my folders set up as Contour being the root
folder. Under that I have Images and others. Some of the folders are some
such as: On-Line Help, Reports etc. These folders will have the same logos
and I want to put my images in one folder - the one under the Root folder.
If I set it up as I show above, this works for all my pages from IE - no
matter which folders I have the pages in.

It doesn't work in DW, however.

Why not?

Thanks,

Tom.


Murray *TMM*

2004-06-13, 11:14 pm

If contour is the root folder, then it cannot appear in any link path. You
can see that it does in some of your examples.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Thomas Scheiderich" <tfs@deltanet.com> wrote in message
news:10cpkckk8qp264c@corp.supernews.com...
> I have the following page with 3 images to display:
>
>

****************************************************************************
> *****************
> <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
> <html>
> <head>
> <title>Intranet</title>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> <!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
> <link href="../contour.css" rel="stylesheet" type="text/css">
> </head>
> <body>
> <table width="100%" height="100%" border="0" cellpadding="0"

cellspacing="0"
> bordercolor="#000099">
> <tr height="100">
> <td><table width="100%" cellspacing="0" cellpadding="0"

summary="Layout
> Table">
> <tr>
> <td width="496" height="100" ><img
> src="/contour/images/Contour_logo_intranet1_1x1.gif" width="496"
> height="100" hspace="0" vspace="0"></td>
> <td width="100%"><img
> src="/contour/images/Contour_logo_intranet1_1x2.gif" width="100%"
> height="100" hspace="0" vspace="0"></td>
> <td width="129" height="100" ><div align="right"><img
> src="/contour/images/Contour_logo_intranet1_1x3.gif" width="129"
> height="100" hspace="0" vspace="0"></div></td>
> </tr>
> </table></td>
> </tr>
>

****************************************************************************
> *****************
>
> If I display the above, the images don't display in DW design mode or
> Preview in Browser mode. It does work in my IE browser when I start it

from
> normally.
>
> If I change to <img src="/images/...">, it works in my DW design mode and
> Preview mode, but not in my IE browser.
>
> If I change it to <img src="images/..">, it works in IE, but not DW.
>
> The situation is that I have my folders set up as Contour being the root
> folder. Under that I have Images and others. Some of the folders are

some
> such as: On-Line Help, Reports etc. These folders will have the same

logos
> and I want to put my images in one folder - the one under the Root folder.
> If I set it up as I show above, this works for all my pages from IE - no
> matter which folders I have the pages in.
>
> It doesn't work in DW, however.
>
> Why not?
>
> Thanks,
>
> Tom.
>
>



Thomas Scheiderich

2004-06-14, 4:14 am

"Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
news:cailm9$1ud$1@forums.macromedia.com...
> If contour is the root folder, then it cannot appear in any link path.

You
> can see that it does in some of your examples.


You're right.

I had forgotten that my template was in a folder under the root and had
coded the image incorrectly.

Thanks,

Tom.
>
> --
> Murray --- ICQ 71997575
> Team Macromedia Volunteer for Dreamweaver MX
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
> news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
> ANSWERS
> ==================
> http://www.dreamweavermx-templates.com - Template Triage!
> http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
> http://www.dwfaq.com - DW FAQs, Tutorials & Resources
> http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
> ==================
>
> "Thomas Scheiderich" <tfs@deltanet.com> wrote in message
> news:10cpkckk8qp264c@corp.supernews.com...
>

****************************************************************************
> cellspacing="0"
> summary="Layout
>

****************************************************************************
> from
and[color=darkred]
> some
> logos
folder.[color=darkred]
>
>



Murray *TMM*

2004-06-14, 12:15 pm

Are you hand coding these links? Why not let DW manage that for you?

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Thomas Scheiderich" <tfs@deltanet.com> wrote in message
news:10cqavabujpfa73@corp.supernews.com...
> "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
> news:cailm9$1ud$1@forums.macromedia.com...
> You
>
> You're right.
>
> I had forgotten that my template was in a folder under the root and had
> coded the image incorrectly.
>
> Thanks,
>
> Tom.
GET[color=darkred]
>

****************************************************************************
charset=iso-8859-1">[color=darkred]
>

****************************************************************************
it[color=darkred]
> and
root[color=darkred]
> folder.
no[color=darkred]
>
>



Thomas Scheiderich

2004-06-14, 7:15 pm

"Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
news:cajuhf$cta$1@forums.macromedia.com...
> Are you hand coding these links? Why not let DW manage that for you?
>


I am. I just go confused when making a change somewhere and the path got
changed and I couldn't get it to work in both DW and IE. but after getting
your last post, I looked at it and realized that DW would handle the
differences correctly (which it did).

Thanks,

Tom

> --
> Murray --- ICQ 71997575
> Team Macromedia Volunteer for Dreamweaver MX
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
> news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
> ANSWERS
> ==================
> http://www.dreamweavermx-templates.com - Template Triage!
> http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
> http://www.dwfaq.com - DW FAQs, Tutorials & Resources
> http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
> ==================
>
> "Thomas Scheiderich" <tfs@deltanet.com> wrote in message
> news:10cqavabujpfa73@corp.supernews.com...
> GET
>

****************************************************************************
> charset=iso-8859-1">
TemplateEndEditable -->[color=darkred]
>

****************************************************************************
or[color=darkred]
> it
mode[color=darkred]
> root
are[color=darkred]
same[color=darkred]
IE -[color=darkred]
> no
>
>



Murray *TMM*

2004-06-14, 7:15 pm

Yes sir! There's no reason not to use DW's link management methods.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Thomas Scheiderich" <tfs@deltanet.com> wrote in message
news:10crt822pb3qj3d@corp.supernews.com...
> "Murray *TMM*" <forums@HAHAgreat-web-sights.com> wrote in message
> news:cajuhf$cta$1@forums.macromedia.com...
>
> I am. I just go confused when making a change somewhere and the path got
> changed and I couldn't get it to work in both DW and IE. but after

getting
> your last post, I looked at it and realized that DW would handle the
> differences correctly (which it did).
>
> Thanks,
>
> Tom
>
GET[color=darkred]
path.[color=darkred]
had[color=darkred]
TO[color=darkred]
Technotes[color=darkred]
>

****************************************************************************
> TemplateEndEditable -->
>

****************************************************************************
> or
start[color=darkred]
> mode
DW.[color=darkred]
the[color=darkred]
> are
> same
> IE -
>
>



Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews