ANN: Conditional Comments Snippets Extension

I used to be a regular at these forums. Years back I migrated from Windows to Linux and thus ended up migrating from Dreamweaver to Geany. At a recent contract job I was forced to use Windows and Dreamweaver out of which was born this utility extension.
http://ranjandatta.com/dw-cc-snippets/RDCCSnippets0.4.0.mxp
what is does
Contitional Comments Snippets by Ranjan Datta
Internet Explorer Contitional Comments Snippets, a right click away:
        -Insert Empty CC
        -Insert Conditional Comments for IE less than 7
        -Insert Conditional Comments for IE 7
        -Insert Conditional Comments for IE 8
        -Insert Conditional Comments for IE 9
        -Insert Conditional Commented body tag
how to use
Right-Click (Command-Click on Mac) and choose the Coding Snippets flyout
All Snippets are meant to be used in Code View
license
Released under MIT license http://www.opensource.org/licenses/mit-license.html
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies....
source code
The source is at http://ranjandatta.com/dw-cc-snippets/

"Necessity, who is the mother of invention."
   ~ Plato 
Thanks for sharing.  :-)
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media  Specialists
http://alt-web.com/
http://twitter.com/altweb

Similar Messages

  • Conditional Comments Greyed out in Dreamweaver

    It seems you cannot make conditonal comments in DW or your script within that comment is not read.
    The code below is from a template I am using. The script tags are grey just like the comments.
    DW makes the conditional comment uselss and my website crashes in IE. Can someone tell me if there is a way to get around this so the script will work?
    <!-- The below script Makes IE understand the new html5 tags are there and applies our CSS to it -->
    <!--[if IE]>
      <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    How are people supposed to create websites if DW won't allow the html5shiv script to be read?
    I know I'm not the only one. I've seen a few postings about this on the net, but with no real answers to the problem.
    Thanks!

    Thanks everyone!
    Here is my page code. I stripped out most of the Lorem Ipsum.
    This is from a free template that I am adapting.
    I'm not that good at html, but I can't see how my changes to the body could have caused this.
    Maybe some change in the style sheets?
    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="utf-8">
    <title>Kings of Kustoms</title>
    <!-- The below script Makes IE understand the new html5 tags are there and applies our CSS to it -->
    <!--[if IE]>
      <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link rel="stylesheet" media="screen" type="text/css" href="css/reset.css" />
    <link rel="stylesheet" media="screen" type="text/css" href="css/style.css" />
    <script src="http://code.jquery.com/jquery-latest.min.js"></script>
    <script src="js/slides.min.jquery.js"></script>
    <script>
    $(function(){
      $('#slides').slides({
       preload: true,
       preloadImage: 'img/loading.gif',
       play: 5000,
       pause: 2500,
       hoverPause: true
    </script>
    </head>
    <body>
    <header>
        <hgroup>
            <h1 class="pageTitle">Welcome to Kings of Kustoms!</h1>
            <h2>Tag line goes here</h2>
      </hgroup>
        <nav>
            <ul>
                <li><a href="#">Home</a></li>
                <li><a href="#">Example 1</a></li>
                <li><a href="#">Example 2</a></li>
                <li><a href="#">Example 3</a></li>
            </ul>
        </nav>
    </header>
    <aside id="promotion">
        <div id="slides">
            <div class="slides_container">
                <a href="#" title="Wilhelm Klingspor Gotisch" target="_blank"><img src="img/slide-1.jpg" width="918" height="240" alt="Slide 1"></a>
                <a href="#" title="Quentin caps" target="_blank"><img src="img/slide-2.jpg" width="918" height="240" alt="Slide 2"></a>
                <a href="#" title="Engravers" target="_blank"><img src="img/slide-3.jpg" width="918" height="240" alt="Slide 3"></a>
                <a href="#" title="Bello Pro" target="_blank"><img src="img/slide-4.jpg" width="918" height="240" alt="Slide 4"></a>
            </div>
            <a href="#" class="prev"><img src="img/arrow-prev.gif" width="20" height="43" alt="Arrow Prev"></a>
            <a href="#" class="next"><img src="img/arrow-next.gif" width="20" height="43" alt="Arrow Next"></a>
        </div>
    </aside>
    <aside id="belowSlide"><p>Kings of Kustoms introduces customers to ...<br><br>
    </p>
    </aside>
    <aside><img src="img/carsLineup.jpg" width="918" height="91"></aside>
    <article>
      <h1><a href="#">The Video Goes Here...</a></h1>
        <p>Integer vitae.</p>
        <h2>Curabitur fermentum</h2>
        <p>Ut et vel.</p>
        <h3>Donec mattis</h3>
        <p>Etiam porttitornunc. </p>
    </article>
    <aside id="right">
        <section>
        <img src="img/logoMain.jpg" width="220" height="285"> </section>
        <section>
    <img src="img/producedByMed.jpg" width="220" height="285">
        </section>
    </aside>
    <footer>
      <p>2010 Grids are neat | almost <a href="http://validator.w3.org/check?uri=http://www.webdezign.co.uk/blog/html5-examples/2col-slid e/">valid HTML5</a> and <a href="http://jigsaw.w3.org/css-validator/validator?uri=www.webdezign.co.uk/blog/html5-examples/2 col-slide/">valid <abbr title="Cascading Style Sheet">CSS</abbr>3</a> design by <a href="http://www.webdezign.co.uk" title="web design london">Webdezign</a> and <a href="http://www.slidesjs.com/">Slides</a></p>
    </footer>
    </body>
    </html>

  • Using conditional comments for IE7

    I'm working on my first try at applying a conditional comment. My page looks ok in browser lab for all browsers except IE7, which appears to need a change in left padding on a particular div. My main css for that div looks like this:
    #div {
    padding-top: 192px;
    padding-left: 138px;
    height: 38px;
    width: 120px;
    position: relative;
    I've adding the following after the start of the div tag in the HTML code:
    <!--[if IE 7]>
    <style-type=text.css>
    #div {padding-left:100px;}
    </style>
    <![endif]-->
    As I understand it, the main css instructions should still be in effect, only the left padding will change. But when I view the page in browser lab, the condition comment has no effect. What am I missing?

    Hi
    downloading a pdf thru php
    The two simplest ways -
    1.     Just including the link to the file will open the file in the browser allowing the user to save the file as required.
    2.     zip the pdf file and include a link on the page, as it is a zip file the browser will start the download dialogue.
    Zipping a file is relatively simple and most os's include this as standard, on windows select the file then right-click and go to 'sent to' then select 'compressed 'zipped' folder'.
    PZ

  • Adding Bottom Margin Pixels for IE Conditional Comment - JQuery Slide Show

    My JQuery slide shows looks great on all browsers except IE...the div below the slide show with written text is covered by the slide images when I go live with it in IE only.  I realize the soluion is to add a conditional comment for IE by comanding 300px to the bottom margin of the div#.  I've created a separate .css file (ie.css) and created a duplicate #div rule.  In my source code, I've added:
    <!--[if IE ]>  <link href="css/ie.css" rel="stylesheet" type="text/css">  <![endif]-->  (yes, the new css file is located within a "css" folder on the root.)
    Now, so that only IE takes the command off of my new "ie.css" file and not the other browsers, what should I have for the margin rule?  I've tried the follwing and a billion other variations with no luck.
    <!--[if IE]>
    #LayoutDiv18 {
         margin-bottom: 300px;
    <![endif]-->
    Where am I going wrong here?
    BIG Thanks
    site ref: www.thethinman1934.com/thethinman

    Chris Wessling wrote:
    <!--[if IE ]>  <link href="css/ie.css" rel="stylesheet" type="text/css">  <![endif]-->  (yes, the new css file is located within a "css" folder on the root.)
    I might be punchy, but I can't find
    http://www.thethinman1934.com/css/ie.css
    Nor can I find a link to it

  • Template problem - Can't adjust file path in conditional comments

    Hi everyone,
    I've used the template feature in dreamweaver to create a
    site. The site contains conditional comments to feed a separate
    stylesheet to internet explorer browsers. The css files are stored
    in a css directory that sits in the main site directory. Some of
    the web pages are located in the main site folder and others are
    nested within subdirectories. Since all pages in the site need to
    reference the css file located in the css directory, the file path
    in the conditional comments within the template will have to be
    different depending on where the subpages exist. I tried putting
    the conditional comments within an editable region in the template
    so I could change the file path as needed in the pages themselves
    but because dreamweaver adds template comments like this:
    <!-- InstanceBeginEditable name="head" -->
    <!--[if lt IE 7]>
    <link href="../css/win_ie.css" rel="stylesheet"
    type="text/css" />
    <![endif]-->
    <!-- InstanceEndEditable -->
    ...the browser isn't rendering the code.
    Can someone tell me how I can get around this problem?
    Appreciate any help.

    Make your links root relative. Links within Conditional
    comments will not
    be managed by Dreamweaver ever, since it sees them as HTML
    comments.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "gwhPoster" <[email protected]> wrote in
    message
    news:ftqe1p$qpj$[email protected]..
    > Hi everyone,
    >
    > I've used the template feature in dreamweaver to create
    a site. The site
    > contains conditional comments to feed a separate
    stylesheet to internet
    > explorer browsers. The css files are stored in a css
    directory that sits
    > in the
    > main site directory. Some of the web pages are located
    in the main site
    > folder
    > and others are nested within subdirectories. Since all
    pages in the site
    > need
    > to reference the css file located in the css directory,
    the file path in
    > the
    > conditional comments within the template will have to be
    different
    > depending on
    > where the subpages exist. I tried putting the
    conditional comments within
    > an
    > editable region in the template so I could change the
    file path as needed
    > in
    > the pages themselves but because dreamweaver adds
    template comments like
    > this:
    >
    > <!-- InstanceBeginEditable name="head" -->
    > <!--[if lt IE 7]>
    > <link href="../css/win_ie.css" rel="stylesheet"
    type="text/css" />
    > <![endif]-->
    > <!-- InstanceEndEditable -->
    >
    > ...the browser isn't rendering the code.
    >
    > Can someone tell me how I can get around this problem?
    >
    > Appreciate any help.
    >
    >
    >

  • How to make a region mandatory based on some conditions using CO Extension?

    Dear All,
    I want to make Attachments region in a seeded page mandatory, based on some conditions. I am able to make fields mandatory using CO Extension, but i am not able to make the attachments region mandatory. Please help.
    Thanks
    Raj

    Raj,
    I have not tried but check if you could get the rowcount which shows how many attachment are upload or not. Then by checking this throw exception if the rowcount is o.
    Thanks
    --Anil
    http://oracleanil.blogspot.com/

  • Conditional formatting and extensibility in Power View for SharePoint 2013 on-premises

    Good day,
    Is there a way we could apply conditional formatting in table objects, specifically at cell level (green, yellow and red) to a Power View dashboard in SharePoint 2013?
    If not, is there a way to extend Power View to support these requirements. I know that SSRS and PowerPivot provide a wide range of customization tools, unfortunately so far the only customization capabilities that I've found in Power View are themes , fonts
    and backgrounds but nothing that could allow this level of formatting. What are the available options, only SSRS and PowerPivot?
    Thanks in advance for your help,
    Marcelo Estrada MCP-MCTS-MCITP-MCSA-MCSE

    Hi Marcelo,
    As you know, generally themes , fonts and backgrounds are supportted in power view, more details information:Format Power View reports
    Currently, there is no way to extend Power View to support these requirements. I recommend you to submit
    an wish at https://connect.microsoft.com/SQLServer/
    If the suggestion mentioned by customers for many times, the product team may consider to add the feature in the next SQL Server version. Your feedback is valuable for us to improve our products and increase the level of service
    provided.
    Thanks for your understanding.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • ANN: DeforceCSS 1.3 (Extension to fix GoLive 9 CSS behavior)

    Oliver Michalak (with a small contribution from me) has created a new extension to fix the annoying auto-generated CSS created by editing objects in Layout view in GoLive 9.
    http://golive.werk01.de/DeforceCSS/
    Background: GoLive moves some attributes (like width or height) away from their objects and creates CSS rules instead. For example instead of <img width="200" ...> it will create a rule like .dsR1 { width:200px } and <img class="dsR1" ...>. This happens automatically, for example when you resize an image or modify the values in the inspector.
    With DeforceCSS installed, the attributes are restored to the appropriate objects and the auto-generated CSS code is removed whenever you save the page or switch to Source mode.
    After installation, you will find a DeforceCSS menu under the Advanced menu in GoLive which allows you to enable or disable the CSS correction as well as to process the entire site to clean up the HTML.
    Hopefully this helps some of you GoLive 9 users who are struggling with the auto-generated CSS issue.

    Well done, and thank you!

  • ANN: AIR Components panel Extension

    Hi there, after a long time of absence in the Dreamweaver
    area, I'm happy to
    announce that my latest extension, the AIR Components panel
    for Dreamweaver
    has been approved by Macromedia and is available for download
    at the
    Exchange.
    http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1260 018
    The AIR Component Panel Extension for Dreamweaver parses the
    contents of the
    AIR Aliases and Code Hints to provide a tree view of the AIR
    Class library
    and drag and drop support via the component panel in Dynamic
    Documents for
    the following Server Models: ASP_Js, ASP_Vbs, ASP.NET_Csharp,
    ASP.NET_VB,
    JSP, PHP_MySQL, PHP_ADODB and HTML
    This first version provides basic support for drag-drop
    insertion of AIR
    aliases and codehints, I'm planning to add more features in
    future versions
    such as popping up codeHints automatically after inserting an
    Alias and
    Dialogs for configuring the inserted code. I would love to
    hear from you
    about your Bugs, and feature requests.
    Note that the extension depends on the codehints installed by
    the AIR
    Extension for Dreamweaver Beta from Adobe, if the codehints
    are not
    available only the first level of AIRAliases will be shown.
    regards
    Joris van Lier

    Thanks Andres for reporting this issue, it seems that the
    extension somehow
    goes into an infinite loop while extracting the CodeHints,
    I'll investigate
    and try to fix it.
    Joris
    "Andres Cayon" <[email protected]> wrote in message
    news:[email protected]...
    > I'm having problems with the URLRequest class:
    > When you try to expand it, DW hangs for a while until
    this message
    > appears:
    > "A script in C:\Program Files\Adobe\Adobe Dreamweaver
    > CS3\Configuration\Components\Common\AIR\AIR.js has been
    running for a long
    > time. Do you want to continue?
    >
    > If you click 'yes', the same message is shown again
    after a few seconds;
    > if you click 'no' then a new message is displayed:
    >
    > "While executing getComponentChildren on AIR.htm, a
    JavaScript error
    > ocurred"
    >
    > Thanks!
    > Andres Cayon
    > Spain Adobe Dreamweaver User Group
    >
    http://www.dwug.es
    > ----------------------
    >
    >
    > "Joris van Lier" <[email protected]>
    escribió en el mensaje de noticias
    > news:[email protected]...
    >> You can put it in the forum so it's searchable,
    >> if you're talking about closing the last document
    and getting an error,
    >> I've already submitted v 1.0.2 to the exchange that
    should fix that.
    >>
    >> However, I think I'd better re-implement it as a
    floating panel, the
    >> current AIR beta extension only provides Packaging,
    code-hints and
    >> colors support, until the final version is released
    I have no idea about
    >> the way AIR will be integrated in Dreamweaver. It
    would seem logical to
    >> create a "server model", that's why I used the
    Components API, but
    >> behaviors are also possible.
    >>
    >> Joris
    >>
    >> "Andres Cayon" <[email protected]> wrote
    in message
    >> news:[email protected]...
    >>> Aaaah, got it 8-)
    >>> Document relative ones. It works like a charm
    with absolute ones 8-)
    >>>
    >>> Also, I found another problem (sorry, but I
    can't stop playing with the
    >>> panel): Do you prefer to receive it privately?
    >>>
    >>> --
    >>> Andres Cayon
    >>> Spain Adobe Dreamweaver User Group
    >>>
    http://www.dwug.es
    >>> ----------------------
    >>>
    >>>
    >>> "Joris van Lier" <[email protected]>
    escribió en el mensaje de
    >>> noticias
    news:[email protected]...
    >>>> Thanks Andres, I'll look into it , are your
    using document relative or
    >>>> absolute paths?
    >>>>
    >>>> "Andres Cayon" <[email protected]>
    wrote in message
    >>>> news:[email protected]...
    >>>>> Hi Joris:
    >>>>> The panel looks great!
    >>>>> Just a feature request so far:
    >>>>> I've noticed that the panel has problems
    if the js file is not in the
    >>>>> same folder than the current document.
    It would be perfect if the
    >>>>> panel were able to search for the path
    included in the src attribute.
    >>>>>
    >>>>> Anyway, a real time saver: Just the
    ability to see the whole tree at a
    >>>>> glance is fantastic!!
    >>>>> --
    >>>>> Andres Cayon
    >>>>> Spain Adobe Dreamweaver User Group
    >>>>>
    http://www.dwug.es
    >>>>> ----------------------
    >>>>>
    >>>>>
    >>>>> "Joris van Lier"
    <[email protected]> escribió en el mensaje de
    >>>>> noticias
    news:[email protected]...
    >>>>>> Hi there, after a long time of
    absence in the Dreamweaver area, I'm
    >>>>>> happy to announce that my latest
    extension, the AIR Components panel
    >>>>>> for Dreamweaver has been approved by
    Macromedia and is available for
    >>>>>> download at the Exchange.
    >>>>>>
    >>>>>>
    http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1260 018
    >>>>>>
    >>>>>> The AIR Component Panel Extension
    for Dreamweaver parses the contents
    >>>>>> of the AIR Aliases and Code Hints to
    provide a tree view of the AIR
    >>>>>> Class library and drag and drop
    support via the component panel in
    >>>>>> Dynamic Documents for the following
    Server Models: ASP_Js, ASP_Vbs,
    >>>>>> ASP.NET_Csharp, ASP.NET_VB, JSP,
    PHP_MySQL, PHP_ADODB and HTML
    >>>>>>
    >>>>>> This first version provides basic
    support for drag-drop insertion of
    >>>>>> AIR aliases and codehints, I'm
    planning to add more features in
    >>>>>> future versions such as popping up
    codeHints automatically after
    >>>>>> inserting an Alias and Dialogs for
    configuring the inserted code. I
    >>>>>> would love to hear from you about
    your Bugs, and feature requests.
    >>>>>>
    >>>>>> Note that the extension depends on
    the codehints installed by the AIR
    >>>>>> Extension for Dreamweaver Beta from
    Adobe, if the codehints are not
    >>>>>> available only the first level of
    AIRAliases will be shown.
    >>>>>>
    >>>>>> regards
    >>>>>>
    >>>>>> Joris van Lier
    >>>>>
    >>>
    >

  • ANN: New articles, papers, extensions and tips

    Just to let you all know that we have a lot of new info on the Oracle JDeveloper section of OTN:
    http://otn.oracle.com/products/jdev
    Including:
    Using MYSQL with JDeveloper Tip on the tips and trick page
    Building Swing applications with JDeveloper 10g technical paper
    Extending Oracle E-Business Suite with JDeveloper
    A new Mapviewer Extension to JDeveloper
    To get the latest news sent to you - use your RSS reader and point it to the JDeveloper News RSS feed:
    http://otn.oracle.com/products/jdev/jdeveloper_news.xml

    There is also a new developers poll.
    The results of the last poll
    How do You test your application:
    JUnit 42.3%
    IDE's debugging tools 27.8%
    Commercial Testing Tools 4.1%
    I Don't need to test 25.7%
    Total 1189 votes.

  • Non-printing Snippets

    Help,
    I am using RoboHelp HTML version 7.02.001
    My problem is that my Snippets are visible in the work area and in the chm when compiled, however, when I generate a Word (or PDF) file from the topic they are nowhere to be seen!
    This is quite a problem as I have used Snippets extensively to synchronise the contents of a German and English help proj

    Hi Leon,
    I do actually use conditional tags and snippets quite a lot in our
    documentation so I am familiar with the "Print" and "Online" tags. I don't
    know about RH8, but RH7 does not allow you to set a a conditional tag to a
    Snippet at all.
    I just created a blank topic and inserted the snippet which is not being
    printed, same result. I then created a new snippet and inserted it into the
    same topic, it printed! Curiously, if you double-click on the new snippet
    placeholder, it opens for editing however, doing the same to the rogue
    snippet placeholder, it does absolutely nothing however, it will open if you
    select Edit Snippet. The answer may be a corrupt snippet but it shows no
    other evidence of problems other than it will not print.
    Regards
    Steve

  • The list of extensions for InDesign now have a yellow triangle warning symbol in front of a good many of the extensions and when moused over i get one of two messages:  "Extensions may not function properly because it does not meet the dependency conditio

    The list of extensions for InDesign now have a yellow triangle warning symbol in front of a good many of the extensions and when moused over i get one of two messages:
    "Extensions may not function properly because it does not meet the dependency condition."
    OR
    Extension Status is not consistent with extension set configuration."
    The reason I opened the Extension Manager in the first place was to check to see if I had installed a third party extension.  And I was presented with these warning symbols.  I haven't added anything, I haven't done anything that would cause this.
    Does anyone know how to fix this???
    I am running OSX 10.9.5; Indesign CS6 version 8.0.2 And Adobe Extension Manager version  6.0.8.28.
    Thanks in advance!
    Nina

    Many InDesign pre-installed extensions (Those extensions you have immediately after InDesign installation) define dependency rules in their mxi files. Dependency means that one extension works well only if one or more other extensions are installed and enabled. If this condition is not met, the yellow triangle warning will be shown.
    You can select an extension with warning, click "Advanced" tag page in the lower right panel. You will see "This extension has dependency on: <extension name> ...". Check whether every extensions listed here are available and enabled. If not, enable them. Repeat these steps for all the extensions which have warning.

  • IPhoto Comments and Spotlight

    I am trying to find my photos using spotlight by searching for the comments I have made, but they do not appear in spotlight. I have tried re-indexing my iPhoto files, but that did not seem to do any good. Any ideas? Thanks.

    Spotlight is notoriously bad at finding items inside the iPhoto database file. I suggest you use iPhoto, which is great at that. In the lower right corner is a search area. Type your comment there and iPhoto will pull up all the photos with that comment, plus everything with the same word(s) in its title or roll name. Or create a Smart Album with the condition "Comments includes" and type the word(s) you are trying to find.
    Were you trying to access them from the Finder for use outside of iPhoto? If so, you should know that it is strongly advised that you do not tamper with the items in the iPhoto Library folder from the Finder, because damage to your database can result. Select the photos you need from within iPhoto, then you can Export them to a desktop folder for use outside of the application. (Ex: to upload to a website, attach to email, or copy to disc for a photo developer.) When finished you can delete the exports, as your files remain safe in the Library folder.

  • How to comment/uncomment section of XML file with JAXP?

    Hi,
    I need to periodically under some condition, comment or uncomment a section of my XML file. I want to know is there a way that I can do it with JAXP?
    I am using JDK 1.5
    Thanks,

    Hi Sachi,
    >>Now I have to pupulate flat file where 1st row of the file should always be field names.
    Duplicate the target node and map you field names to the first instance and the mapping logic to the next instance
    eg:
    Suppose your target structure is:
    -root
    -->Details
    >FName
    >LName
    Do a Mapping like this:
    -root
    -->Details
    ><FName>FName </FName>
    ><LName>LName </LName>
    -->Details (use mapping logic hereafter)
    ><FName>
    ><LName>
    Regards
    Suraj

  • HTML 5 Comment Syntax

    I'm looking for a way to add comments to HTML 5, meaning text that is not executed but is there to help understand the programming. In CSS I see /* comment */  used for that purpose. In HTML, I see comments, but it's not clear how they are flagged as comments.
    For example, I've seen <!-- comment-->, but that syntax also seems to be used for conditional statements that are executed, as in <!--[if gt IE 8]><!-->. That looks like it's written as a comment, but obviously it's meant to be executed. I think.  I just want to be able to safely add comments to the HTML code, but I need help with the syntax. THanks!

    Comments are ignored.  Scripts inside comments won't execute.
    IE Conditional Comments are hacks.  They always begin with an IF statement which only IE browsers see. 
    <!--[if lt IE 9]>
    Why did MS do this?  To mitigate the fact that IE browsers are not standards compliant.  Instead of fixing the problem like they should have done a decade ago, MS decided to make a window so developers could workaround the serious shortcomings in these inferior browsers.  Nice, huh? 
    IE10 promises to be standards compliant thus won't need any hacks.  Cross your fingers.
    Nancy O.

Maybe you are looking for

  • Vendor ageing report

    Hi all, i have to prepare vendor ageing report.In that there is one exception that is if "no. of overdue days > 7 " color should be red.But here no. of overdue days can be calculated with the following formula as shown below. no. of overdue days = qu

  • Speakers and microphone are not working

    suddenly, speakers, headphones and the microphone are not working... i tried updating the driver but it didn't work and when i try to test it through propertise i get an error message " failed to play test tone" what should i do? product: dv6-1350us

  • Why can't I make a disk Image??

    getting Leopard tomorrow. system working great. plan to do an "upgrade installation". backed up all my files (106GB) to an external HDD. so I think I'm ready.... question is - why can't I make a disk image of my "Macintish HD"? it starts to create th

  • Enterprise Manager Host Credentials Problem on Windows Vista

    I have similar problem as discribed here before, but the difference is, that I am using Windows Vista and I have tried "Log as a batch job" and "Log as a service" privilleges. It does not help. I have Oracle Personal Edition 10.2.0.3 on Windows Vista

  • One Sender system and two receivers system(Sync) . Pls help

    Hello All, Help required to make one scenario in XI. Currently there is one interface (XI is not used) that is already in place. CRM sender system DM and ERP Receiver systems. CRM RFC call DM RFC directly and same CRM RFC call ERP RFC directly. Resul