Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
Studio 24 #1
Conditional Comments in DW Templates
I've started to use conditional comments these days to help target CSS to IE6
and IE7, however Dreamweaver doesn't appear to understand any relative links
within conditional comments and thus doesn't update them when used in a
template across a site.
For example, if I have:
<!--[if lte IE 6]>
<link href="../assets/css/screen-ie6.css" rel="stylesheet" type="text/css"
media="screen" />
<![endif]-->
In a template, usually in the HTML the relative path to the CSS will update
across pages in the site. But no so if it's in a conditional comment. Instead I
have to use the absolute path "/assets/css/screen-ie6.css" which then stops me
fully testing the site locally on my PC.
Anyone aware of a way around this? Or is it up to Adobe to make an update to
DW so relative paths can be re-written within DW templates (which would be very
nice)...
best wishes,
Simon
Studio 24 Guest
-
Disable Options>Import Comments in Comments Pane
A customer asked me to replace the logic of the Comments>Import Comments menu item. I can easily find and replace this menu item with the name... -
Libraries, Templates, Nested Templates, Repeat Regions,
Hi I have eight categories to display in my site navigation. Each category has at least one (some have two) levels of subcategories. For example... -
Comments in templates for pack()
Vlad Tepes wrote: ^ ^ ^ ^ | | | \ String start String end-Bareword-String start ^... -
"OR" statements allowed in MultipleIf conditional regions in templates?
Does DMX allow the addition of an "OR" condition on a MultipleIf conditional region: Thus displaying the same output for two different conditions? ... -
Three levels of templates with conditional navigation menus
How about trying our product, Nested Templates and Menus? http://www.decloak.com/Products/Dreamweaver/NestedTemplates/ Free 30-day evaluation... -
Murray *ACE* #2
Re: Conditional Comments in DW Templates
> I've started to use conditional comments these days to help target CSS to
This is correct.> IE6
> and IE7, however Dreamweaver doesn't appear to understand any relative
> links
> within conditional comments and thus doesn't update them when used in a
> template across a site.
It is and yes, it would be.> Or is it up to Adobe to make an update to
> DW so relative paths can be re-written within DW templates (which would be
> very
> nice)...
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"Studio 24" <webforumsuser@macromedia.com> wrote in message
news:elu2p0$77$1@forums.macromedia.com...> I've started to use conditional comments these days to help target CSS to
> IE6
> and IE7, however Dreamweaver doesn't appear to understand any relative
> links
> within conditional comments and thus doesn't update them when used in a
> template across a site.
>
> For example, if I have:
>
> <!--[if lte IE 6]>
> <link href="../assets/css/screen-ie6.css" rel="stylesheet"
> type="text/css"
> media="screen" />
> <![endif]-->
>
> In a template, usually in the HTML the relative path to the CSS will
> update
> across pages in the site. But no so if it's in a conditional comment.
> Instead I
> have to use the absolute path "/assets/css/screen-ie6.css" which then
> stops me
> fully testing the site locally on my PC.
>
> Anyone aware of a way around this? Or is it up to Adobe to make an update
> to
> DW so relative paths can be re-written within DW templates (which would be
> very
> nice)...
>
> best wishes,
> Simon
>
Murray *ACE* Guest
-
Studio 24 #3
Re: Conditional Comments in DW Templates
fair enough - do you know if there's anywhere I can ask Adobe for this feature to be added to a future version of DW?...
Studio 24 Guest
-
Murray *ACE* #4
Re: Conditional Comments in DW Templates
I sure do!
[url]http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform[/url]
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"Studio 24" <webforumsuser@macromedia.com> wrote in message
news:elu5b7$372$1@forums.macromedia.com...> fair enough - do you know if there's anywhere I can ask Adobe for this
> feature to be added to a future version of DW?...
Murray *ACE* Guest



Reply With Quote

