Dreamweaver CS4 Auto-Indent Ruined

Auto-indenting in CS3 was great. When you hit the
enter/return key in dreamweaver, the type cursor was taken to the
next line, tabbed into the same depth as the previous line. In
Dreamweaver CS4 however, Adobe has tried to make it more
intelligent (when it didn't need to be), and as a result have
ruined the auto-indent feature.
When coding in javascript, dreamweaver cs4's auto-indent
functionality is unpredictable and 9 times out of 10, isn't as you
expected. This is incredibly annoying. It seems the problem occurs
when coding an anonymous javascript function within parenthesis (a
common/required jQuery practice). Dreamweaver, trying to be all
intelligent indents the next line of code to where the previous
line ended. Example...
Edit: Stupid forum has no way to display tabs, therefore I can't
demonstrate what dreamweaver is doing to my code, another great
piece of work by Adobe.
Does anyone know how to disable the auto-indent intelligence
in CS4 and make it how it use to be in CS3? I'm bubbling with
absolute frustration at the moment as I just want to code, but
can't without getting even more agitated.
Thanks

I was having a problem with the auto-indenting in CS3 while coding javascript and I found a solution. The best way to fix it would be to edit the properties file with the number you prefer, but I don't know where that file is. However, if you follow these steps it will automatically update it for you. It's strange the way it works but hey, whatever.
Note: I'm only sure this works in CS3, can't be sure about CS4.
1. Use the icton that's next to the refresh circle to turn auto-indenting off. (The icon fades from yellow to white and looks like a bullet list. It's on the same row as the code, split, design buttons.)
2. Find a line in your javascript, such as $('a').click( funtion(){, and hit enter to go to the next line.
3. Tab over to where the indent SHOULD be (in your opinion).
4. Turn auto-indent back on using that same icon in step 1.
That's it. If you delete your new line then hit enter again your cursor should tab to the place you last left it. Dreamweaver seems to update it's calculations and now seems to get it right.
Hope this helps. Thanks.

Similar Messages

  • Dreamweaver CS4 auto close not functioning properly

    Hey everyone,
    A friend just gave me a trial version of Dreamweaver and I've been testing it out. However I found it odd that some tags auto-close and some don't. An example of this is when I put the <b> tag it auto-closes, but when I type in a <div> tag it doesn't. I already changed the preferences so tags are closed after the opening tags ">". Just wondering if there is another preference I need to change or a bug in the software.
    Any help would be appreciated.
    Thanks in advance,
    GK

    kbarre wrote:
    Auto Sync is functioning as expected, unless I choose Auto Tone first.
    If I choose Auto Tone first, a small portion of the selected images will be updated, but most will not.
    Lightroom's handling of auto-tone leaves something to be desired - I have a lot of experience with it, trying to make reliable develop-setting plugins which include auto-toning. Those plugins have a bewildering amount of logic - something like this: initiate auto-toning, check back to see if it has properly settled, issue the auto-toning again if it never seems to be properly settling... - usually it works out after a while, but even sometimes it never does, and generates an error: can't get auto-toning to settle across all photos.
    The point of all this is that there are bugs in Lr's handling of auto-toning, as you are growing aware.
    Try this:
    * do the auto-toning, then let it percolate for a while.
    * then visit each photo at 1:1 (to force Lr to finalize settings...), and confirm auto-toning has settled...
    Then try auto-syncing that preset (make sure process versions are all the same, and preset does NOT include auto-toning - I would leave process version OUT of your presets).
    Better?
    I don't expect this is a workflow you'll want to do all the time, but as a test it might help shed some light on the problem.
    Rob

  • Auto indent is not working in Dreamweaver

    Hi,
    I'm using Dreamweaver CS5 on Windows 7 and the auto indent in the Code pane is not working. All settings are at default after installation. The Indent option in Code Format in the Preferences is checked and set to 2 Spaces. Auto Indent is also checked in View > Code View Option.
    Steps to reproduce the problem:
    File > New with Blank Page, Page Type > HTML, Layout > None or any.
    The default code is not indented, pressing Enter to create a new line in the code, and typing any tag, for example <p> in a new line after <body> doesn't have any auto indent and all new lines are left aligned.
    Do you have auto indent? If yes, what is different from what I described?
    Your feedback is greatly appreciated.

    Thanks Nancy, but this didn't make any difference.
    Just to be clear, I'm new to Dreamweaver and my expectation is if I have for example:
    <body>
    then press the Enter key and type
    <p>
    after completing the <p> I expect Dreamweaver to recognize it as a tag that logically should be indented and add the indent automatically, making it like this:
    <body>
        <p>
    Is my expectation wrong?. This is how auto indent works in other programing environments like Microsoft Visual Studio when coding in C++.
    If I make the indent manually before typing <p> , for example adding a few spaces then the next line is on the same level keeping the indent. Is this what Dreamweaver considers as auto indent? May be I had higher expectations but then what is this 2 Spaces or Tabs in the Preferences?

  • Auto indenting in dreamweaver cs6

    why the code dont auto indent in dreamweaver i use the latest cs6, as an example the table code below it
    should indent the tr tag some spaces more than the parent table tag but it dont i need to do it manually so am i missing something ?
    <table>
    <tr>
    <td>15</td>
    <td>15</td>
    <td>30</td>
    </tr>
    <tr>
    <td>45</td>
    <td>60</td>
    <td>45</td>
    </tr>
    <tr>
    <td>60</td>
    <td>90</td>
    <td>90</td>
    </tr>
    </table>

    With CS5 is the same, non of these settings have worked, but go to:
    C:\Program Files (x86)\Adobe\Adobe Dreamweaver CS5\configuration\Commands\TableCommands.js
    and 39-41 lines add some spaces bofere <
    var tableCells='  <'+'TD>' + theNBSP + '<'+'/TD>\n';
    var tableScopeRowCells='  <'+'TH>' + theNBSP + '<'+'/TH>\n';
    var tableScopeColCells='  <'+'TH>' + theNBSP + '<'+'/TH>\n';
    this have worked, but if you try to insert new row <td> is not indented:
    <table cellspacing="0" cellpadding="0">
    <tr>
      <th> </th>
      <th> </th>
    </tr>
    <tr>
      <td> </td>
      <td> </td>
    </tr>
    <tr>
    <td>new row</td>
    <td>not indented</td>
    </tr>
    </table>
    and didnt have found how to fix insert new row (below or above same is not indented).

  • Auto Indent

    Hello,
    Dreamweaver CS4 has a nice auto-indent feature that helps you
    write code. It works great with braces but works terribly awful
    with braces! when I use curly brackets it indents the code up to
    the beginning of the previous line in a new one, but with the
    parenthesis it indents it up to the last letter of the previous
    line in a new line. I rather it happens the same as with braces,
    any idea how this may work out? in CS3 it worked fine but not for
    javascript when you edited it in a .JS document, now everything is
    plagued with this problem in CS4, even .PHP files :(
    this is an example:
    current:
    $(document).ready(
    desired:
    $(document).ready(
    Thanks in advance, I fear it won't be possible to fix, but
    adobe people should be aware that this behaviour of the code indent
    is just plain weird because many libraries in both PHP and
    JavaScript use parenthesis and you may want to indent the code you
    put inside them but not how DreamWeaver does now.

    >>It works great with braces but works terribly awful
    with braces!
    Uh-Huh...
    Walt
    "rene.olivo" <[email protected]> wrote in
    message
    news:gmkdbk$gc4$[email protected]..
    > Hello,
    >
    > Dreamweaver CS4 has a nice auto-indent feature that
    helps you write code.
    > It
    > works great with braces but works terribly awful with
    braces! when I use
    > curly
    > brackets it indents the code up to the beginning of the
    previous line in a
    > new
    > one, but with the parenthesis it indents it up to the
    last letter of the
    > previous line in a new line. I rather it happens the
    same as with braces,
    > any
    > idea how this may work out? in CS3 it worked fine but
    not for javascript
    > when
    > you edited it in a .JS document, now everything is
    plagued with this
    > problem in
    > CS4, even .PHP files :(
    >
    > this is an example:
    >
    > current:
    >
    > $(document).ready(
    > ________________________...
    > ________________________);
    >
    > desired:
    >
    >
    > $(document).ready(
    > ___...
    > );
    >
    >
    > Thanks in advance, I fear it won't be possible to fix,
    but adobe people
    > should
    > be aware that this behaviour of the code indent is just
    plain weird
    > because
    > many libraries in both PHP and JavaScript use
    parenthesis and you may want
    > to
    > indent the code you put inside them but not how
    DreamWeaver does now.
    >

  • How to Make Dreamweaver CS4/Flash CS4 Website Function on all Latest Mobile Devices

    Hello!
    I am trying to add code into my Dreamweaver CS4 file and/or Flash CS4 file in order to have the website I have created work across all of the latest mobile devices as well as traditional online systems. My flash file has a transparent stage, and my dreamweaver file has a full-screen background image. I have reviewed various tutorials and articles available online, and some advocate simply adding code, which does not seem to be working for me, while others suggest having a similar separate site created solely for mobile devices. If this is the best option, I don't know how that should be set up. What is the best path to take with this?
    This is the collection of various pieces of code I have tried adding to my files:
      <meta name="viewport" content="width=device-width" user-scalable="yes" initial-scale="1.0" /> <!-- iphone,android -->
       <meta name="HandheldFriendly" content="true" /> <!-- blackberry -->
    </style>
       <param name="allowScriptAccess" value="sameDomain" />
          <param name="allowFullScreen" value="true" />
    <param name="allowScriptAccess" value="sameDomain" />
            <param name="allowFullScreen" value="true" />
            <param name="var params = {          id: "flashID", name: "flashcontent", menu: "false", allowFullScreen: "true", fullScreenOnSelection: "true", scale:"noscale", salign:"middle"};"
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.align = StageAlign.TOP_LEFT;
    //or//
    this.stage.scaleMode = StageScaleMode.NO_SCALE;
    this.stage.align = StageAlign.TOP_LEFT;
    next_btn.width = 133 * .5;
    next_btn.height = 133 * .5;
    //flash//
    next_btn.width = Capabilities.screenDPI * .5;
    next_btn.height = Capabilities.screenDPI * .5;
    //flash//
    this.stage.addEventListener(Event.RESIZE, doLayout);
    //flash://
    <initialWindow>
       <width>320</width>
       <height>480</height>
       <!-- several other properties... -->
    </initialWindow>
    * Convert inches to pixels.
    private function inchesToPixels(inches:Number):uint
       return Math.round(Capabilities.screenDPI * inches);
    var button:Sprite = new Sprite();
    button.x = 20;
    button.y = 20;
    button.graphics.beginFill(0x 003037);
    button.graphics.drawRect(0, 0, this.inchesToPixels(.75),
       this.inchesToPixels(.25));
    button.graphics.endFill();
       this.addChild(button);
    //hard-code title://
    var titleBar:Sprite = new Sprite();
    titleBar.x = 0;
    titleBar.y = 0;
    //stage width determines width of title://
    var titleBar:Sprite = new Sprite();
    titleBar.x = 0;
    titleBar.y = 0;
    titleBar.graphics.beginFill(0x003037);
    titleBar.graphics.drawRect(0, 0, this.stage.stageWidth,
       this.inchesToPixels(.3));
    titleBar.graphics.endFill();
    this.addChild(titleBar);
    //footer://
    var footer:Sprite = new Sprite();
    footer.graphics.beginFill(0x003037);
    footer.graphics.drawRect(0, 0, this.stage.stageWidth,
       this.inchesToPixels(.3));
    footer.graphics.endFill();
    footer.x = 0;
    footer.y = this.stage.stageHeight - footer.height;
    this.addChild(footer);
    * Center one DisplayObject relative to another.
    private function center(foreground:DisplayObject,
       background:DisplayObject):void
          foreground.x = (background.width / 2) -
             (foreground.width / 2);
          foreground.y = (background.height / 2) +
             (foreground.height / 2);
    //cont.//
    var title:SimpleLabel = new SimpleLabel("My Application",
       "bold", 0xffffff, "_sans", this.inchesToPixels(.15));
    this.center(title, titleBar);
    this.addChild(title);
    //override width and height getters
    public override function get width():Number
       return this.textLine.textWidth;
    public override function get height():Number
       return (this.textLine.ascent - 1);
    if (Capabilities.manufacturer == "Android Linux" && Capabilities.screenResolutionY == 1024)
    next_btn.width = 85;
    next_btn.height = 85;
    This is the code for my Dreamweaver CS4 file (without the additional erogenous code attempts):
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <?xml version="1.0" encoding="utf-8"?><!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN"
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>My Website Title and Slogan.</title>
    <style type="text/css">
    <!--
    body {
              background-image: url(bground%20_img3.jpg);
              background-repeat: no-repeat;
    -->
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    </head>
    <body>
    <img src ="image.gif"  width=90% height=auto>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    <meta name="Keywords" content="keywords…" />
    <div align="center"></div>
    <div align="center">
      <p> </p>
      <p>
        <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="900" height="630">
          <param name="movie" value="FlashFile.swf" />
          <param name="quality" value="high" />
          <param name="wmode" value="transparent" />
          <param name="swfversion" value="6.0.65.0" />
          <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
          <!--[if !IE]>-->
          <object type="application/x-shockwave-flash" data="FlashFile.swf" width="900" height="630">
            <!--<![endif]-->
            <param name="quality" value="high" />
            <param name="wmode" value="transparent" />
            <param name="swfversion" value="6.0.65.0" />
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
            <div>
              <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
              <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
            </div>
            <!--[if !IE]>-->
          </object>
          <!--<![endif]-->
        </object>
      </p>
    </div>
    <div align="center"> </div>
    <script type="text/javascript">
    <!--
    swfobject.registerObject("FlashID");
    swfobject.registerObject("FlashID");
    //-->
    </script>
    </body>
    </html>
    I have tried various combinations of the code listed above, but nothing seems to be working. I am not sure as to the positioning of the code, and maybe that is the problem, or maybe it is because this code in not for CS4, or not appropriate for my project. I also do not know what code should be inside the Flash file, nor what should should be inside the Dreamweaver file.
    Thank you in advance for any assistance!

    Hi
    To add to what Gramps has said, Adobe has ceased developing its flash player for ALL mobile devices so do not use Flash for any mobile device.
    Depending on the complexity of your Flash program you may be able to recreate it using Edge, but the code generated by Edge does not work in IE8 or below.
    For details on Edge, see - http://labs.adobe.com/technologies/edge/
    PZ

  • How to Make Flash CS4/Dreamweaver CS4 Website Function on all Latest Mobile Devices

    Hello!
    I am trying to add code into my Dreamweaver CS4 file and/or Flash CS4 file in order to have the website I have created work across all of the latest mobile devices as well as traditional online systems. My flash file has a transparent stage, and my dreamweaver file has a full-screen background image. I have reviewed various tutorials and articles available online, and some advocate simply adding code, which does not seem to be working for me, while others suggest having a similar separate site created solely for mobile devices. If this is the best option, I don't know how that should be set up. What is the best path to take with this?
    This is the collection of various pieces of code I have tried adding to my files:
      <meta name="viewport" content="width=device-width" user-scalable="yes" initial-scale="1.0" /> <!-- iphone,android -->
       <meta name="HandheldFriendly" content="true" /> <!-- blackberry -->
    </style>
       <param name="allowScriptAccess" value="sameDomain" />
          <param name="allowFullScreen" value="true" />
    <param name="allowScriptAccess" value="sameDomain" />
            <param name="allowFullScreen" value="true" />
            <param name="var params = {          id: "flashID", name: "flashcontent", menu: "false", allowFullScreen: "true", fullScreenOnSelection: "true", scale:"noscale", salign:"middle"};"
    stage.scaleMode = StageScaleMode.NO_SCALE;
    stage.align = StageAlign.TOP_LEFT;
    //or//
    this.stage.scaleMode = StageScaleMode.NO_SCALE;
    this.stage.align = StageAlign.TOP_LEFT;
    next_btn.width = 133 * .5;
    next_btn.height = 133 * .5;
    //flash//
    next_btn.width = Capabilities.screenDPI * .5;
    next_btn.height = Capabilities.screenDPI * .5;
    //flash//
    this.stage.addEventListener(Event.RESIZE, doLayout);
    //flash://
    <initialWindow>
       <width>320</width>
       <height>480</height>
       <!-- several other properties... -->
    </initialWindow>
    * Convert inches to pixels.
    private function inchesToPixels(inches:Number):uint
       return Math.round(Capabilities.screenDPI * inches);
    var button:Sprite = new Sprite();
    button.x = 20;
    button.y = 20;
    button.graphics.beginFill(0x 003037);
    button.graphics.drawRect(0, 0, this.inchesToPixels(.75),
       this.inchesToPixels(.25));
    button.graphics.endFill();
       this.addChild(button);
    //hard-code title://
    var titleBar:Sprite = new Sprite();
    titleBar.x = 0;
    titleBar.y = 0;
    //stage width determines width of title://
    var titleBar:Sprite = new Sprite();
    titleBar.x = 0;
    titleBar.y = 0;
    titleBar.graphics.beginFill(0x003037);
    titleBar.graphics.drawRect(0, 0, this.stage.stageWidth,
       this.inchesToPixels(.3));
    titleBar.graphics.endFill();
    this.addChild(titleBar);
    //footer://
    var footer:Sprite = new Sprite();
    footer.graphics.beginFill(0x003037);
    footer.graphics.drawRect(0, 0, this.stage.stageWidth,
       this.inchesToPixels(.3));
    footer.graphics.endFill();
    footer.x = 0;
    footer.y = this.stage.stageHeight - footer.height;
    this.addChild(footer);
    * Center one DisplayObject relative to another.
    private function center(foreground:DisplayObject,
       background:DisplayObject):void
          foreground.x = (background.width / 2) -
             (foreground.width / 2);
          foreground.y = (background.height / 2) +
             (foreground.height / 2);
    //cont.//
    var title:SimpleLabel = new SimpleLabel("My Application",
       "bold", 0xffffff, "_sans", this.inchesToPixels(.15));
    this.center(title, titleBar);
    this.addChild(title);
    //override width and height getters
    public override function get width():Number
       return this.textLine.textWidth;
    public override function get height():Number
       return (this.textLine.ascent - 1);
    if (Capabilities.manufacturer == "Android Linux" && Capabilities.screenResolutionY == 1024)
    next_btn.width = 85;
    next_btn.height = 85;
    This is the code for my Dreamweaver CS4 file (without the additional erogenous code attempts!):
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <?xml version="1.0" encoding="utf-8"?><!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN"
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>My Website Title and Slogan.</title>
    <style type="text/css">
    <!--
    body {
              background-image: url(bground%20_img3.jpg);
              background-repeat: no-repeat;
    -->
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    </head>
    <body>
    <img src ="image.gif"  width=90% height=auto>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    <meta name="Keywords" content="keywords…" />
    <div align="center"></div>
    <div align="center">
      <p> </p>
      <p>
        <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="900" height="630">
          <param name="movie" value="FlashFile.swf" />
          <param name="quality" value="high" />
          <param name="wmode" value="transparent" />
          <param name="swfversion" value="6.0.65.0" />
          <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
          <!--[if !IE]>-->
          <object type="application/x-shockwave-flash" data="FlashFile.swf" width="900" height="630">
            <!--<![endif]-->
            <param name="quality" value="high" />
            <param name="wmode" value="transparent" />
            <param name="swfversion" value="6.0.65.0" />
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
            <div>
              <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
              <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
            </div>
            <!--[if !IE]>-->
          </object>
          <!--<![endif]-->
        </object>
      </p>
    </div>
    <div align="center"> </div>
    <script type="text/javascript">
    <!--
    swfobject.registerObject("FlashID");
    swfobject.registerObject("FlashID");
    //-->
    </script>
    </body>
    </html>
    I have tried various combinations of the code listed above, but nothing seems to be working. I am not sure as to the correct positioning of the code, and maybe that is the problem, or maybe it is because this code in not for CS4, or not appropriate for my project. I also do not know what code should be inside the Flash file, nor what should should be inside the Dreamweaver file.
    Thank you in advance for any assistance!

    There is no simple code to add that will display the same on all mobile devices....
    you do know that the iProducts (iPhone, iPad, etc) don't display Flash at all, right?
    So as a start for "functioning on all latest mobile devices" you should drop any Flash content you have and move on.
    Adninjastrator

  • In dreamweaver CS4, I can't make border for single cell

    Hi folks,
    Having given up trying to make a single cell border in the dreamweaver CS4 template, I reverted to an html page and put in my own header, 2 columns and footer as cells in the html table. I know there's html code for adding borders to single cell, but I can't find it. I hope someone can give me a sample line of html code for giving a cell a border on left side and on right side, including 1px solid color border. Anyone?

    Not sure if this is what you want, at least it will give you an example
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <style>
    body {width: 980px; margin: auto; background: #FEE49A;}
    #header {height: 120px; background: #060;}
    #article {height: 400px; width: 749px; float: right; background: #FFF; border-right: 1px solid #060;}
    #aside {height: 400px; width: 228px;    float: left; border-right: 1px solid #060; border-left: 1px solid #060; background: #CCC;}
    #footer {height: 50px; background: #060; clear: both;}
    </style>
    </head>
    <body>
    <div id="header"></div>
    <div id="aside"></div>
    <div id="article"></div>
    <div id="footer"></div>
    </body>
    </html>
    Gramps

  • Access levels in dreamweaver cs4

    Hi,
    I have been playing around with dreamweaver cs4 using the tutorials and videos i have thanks to you guys.
    I created a simple login mysql database and used the login features within dreamweaver cs4 which was great and so simple.
    I have came across login to a secured site so many times over the past few years pulling down sample asp with access scripts and never getting it right.worked first time no problem.
    however what i do also get asked is access level security for a secured area. i noticed in the login objects properties there was an option "secure page and get access level from database table" however what i want to be able to do is have it so an admin would see all contacts in the database but the individual agents only have access to their own assigned contacts.
    i would be greatful anyone could point me in right direction from within dreamweaver to do this, also not sure how i would setup the table in mysql to reflect this?
    any pointers or help would be greatly appreciated.
    many thanks
    andy

    Not sure if this is what you want, at least it will give you an example
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <style>
    body {width: 980px; margin: auto; background: #FEE49A;}
    #header {height: 120px; background: #060;}
    #article {height: 400px; width: 749px; float: right; background: #FFF; border-right: 1px solid #060;}
    #aside {height: 400px; width: 228px;    float: left; border-right: 1px solid #060; border-left: 1px solid #060; background: #CCC;}
    #footer {height: 50px; background: #060; clear: both;}
    </style>
    </head>
    <body>
    <div id="header"></div>
    <div id="aside"></div>
    <div id="article"></div>
    <div id="footer"></div>
    </body>
    </html>
    Gramps

  • Dreamweaver CS4 SPRY Menu Problems in IE

    I am trying to have a drop-down menu on my site using the SPRY option in Dreamweaver CS4. In all browsers it looks exactly like it should. Unofrtunately in IE it pops out to the side instead of down. Anyone know a fix around this. The site is http://mtltechnologies.com/
    Here is the SPRY CSS.
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 12px;
        cursor: default;
        width: auto;
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
        z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        position: relative;
        text-align: left;
        cursor: pointer;
        width: 154px;
        float: left;
        height: 25px;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        z-index: 1020;
        cursor: default;
        position: absolute;
        left: -1000em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
        left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
        width: 154px;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
        display: block;
        cursor: pointer;
        padding: 5px;
        color: #FFF;
        text-decoration: none;
        background-image: url(../images/button_bg.jpg);
        text-align: center;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
        color: #FFF;
        background-image: url(../images/button_bg_down.jpg);
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
        background-image: url(../images/button_bg.jpg);
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
        background-image: url(../images/button_bg_down.jpg);
        background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
        background-image: url(../images/button_bg_down.jpg);
        background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
        position: absolute;
        z-index: 1010;
        filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
        ul.MenuBarHorizontal li.MenuBarItemIE
            display: inline;
            f\loat: left;
            background: #FFF;
    Anyone know a fix?
    Thanks,

    The code is too long. Let's do it this way, did you change anything on the default css of the SPRY menu?
    just my thought, why don't you remove it from the table? That might be the cause. Try to think of an alternative way like using divs and css.

  • Dreamweaver CS4 attempted to free unallocated memory bug

    Dreamweaver CS4 Mac version 10.0.0.4117 has a fatal bug.  It is trying to free up unallocated memory.  Most likely, it is trying to free the pointer twice, which ended up attempting to free memory that does not belong to it.  This corrupts the system memory, and bring down Snow Leopard, causing the notorious freeze problem in Snow Leopard.
    See the system log, right after Dreamweaver crashed, it corrupted the system memory, causing Safari to freeze right after that:
    Mar 30 14:08:32  Dreamweaver[505]: Dreamweaver(505,0xa0aae4e0) malloc: *** error for object 0x2fac3a90: pointer being freed was not allocated\n*** set a breakpoint in malloc_error_break to debug
    Mar 30 14:08:32  [0x0-0x32032].com.adobe.dreamweaver-10.0[505]: Dreamweaver(505,0xa0aae4e0) malloc: *** error for object 0x2fac3a90: pointer being freed was not allocated
    Mar 30 14:08:32  [0x0-0x32032].com.adobe.dreamweaver-10.0[505]: *** set a breakpoint in malloc_error_break to debug
    Mar 30 14:10:23  Safari[216]: Periodic CFURLCache Insert stats (iters: 1107) - Tx time:0.285461, # of Inserts: 16, # of bytes written: 276255, Did shrink: NO, Size of cache-file: 181460992, Num of Failures: 0
    Here is the log that shows the repeated error:
    Mar 30 15:28:33  [0x0-0x47047].com.adobe.dreamweaver-10.0[887]: objc[887]: Class ApolloPasteboardSource is implemented in both /Applications/Adobe Dreamweaver CS4/Configuration/Flash Player/AuthPlayLib.bundle/Contents/MacOS/AuthPlayLib and /Applications/Adobe Dreamweaver CS4/Adobe Dreamweaver CS4.app/Contents/Frameworks/AdobeOwl.framework/Resources/AuthPlayLib.bundle/Contents/MacO S/AuthPlayLib. One of the two will be used. Which one is undefined.
    Mar 30 15:28:34  /Library/Application Support/FLEXnet Publisher/Service/11.5.0/FNPLicensingService[891]: Started - This service performs licensing functions on behalf of FLEXnet enabled products.
    Mar 30 15:28:57  com.apple.WebKit.PluginAgent[782]: Debugger() was called!
    Mar 30 15:29:33: --- last message repeated 2 times ---
    Mar 30 15:29:33  [0x0-0x47047].com.adobe.dreamweaver-10.0[887]: Dreamweaver(887,0xa0aae4e0) malloc: *** error for object 0x333e5dc0: pointer being freed was not allocated
    Mar 30 15:29:33  [0x0-0x47047].com.adobe.dreamweaver-10.0[887]: *** set a breakpoint in malloc_error_break to debug
    Mar 30 15:29:33  Dreamweaver[887]: Dreamweaver(887,0xa0aae4e0) malloc: *** error for object 0x333e5dc0: pointer being freed was not allocated\n*** set a breakpoint in malloc_error_break to debug
    Mar 30 15:29:57  [0x0-0x49049].com.adobe.dreamweaver-10.0[912]: objc[912]: Class ApolloPasteboardSource is implemented in both /Applications/Adobe Dreamweaver CS4/Configuration/Flash Player/AuthPlayLib.bundle/Contents/MacOS/AuthPlayLib and /Applications/Adobe Dreamweaver CS4/Adobe Dreamweaver CS4.app/Contents/Frameworks/AdobeOwl.framework/Resources/AuthPlayLib.bundle/Contents/MacO S/AuthPlayLib. One of the two will be used. Which one is undefined.
    Mar 30 15:29:58  /Library/Application Support/FLEXnet Publisher/Service/11.5.0/FNPLicensingService[916]: Started - This service performs licensing functions on behalf of FLEXnet enabled products.
    Mar 30 15:30:20  Dreamweaver[912]: Dreamweaver(912,0xa0aae4e0) malloc: *** error for object 0x32bb42f0: pointer being freed was not allocated\n*** set a breakpoint in malloc_error_break to debug
    Mar 30 15:30:20  [0x0-0x49049].com.adobe.dreamweaver-10.0[912]: Dreamweaver(912,0xa0aae4e0) malloc: *** error for object 0x32bb42f0: pointer being freed was not allocated
    Mar 30 15:30:20  [0x0-0x49049].com.adobe.dreamweaver-10.0[912]: *** set a breakpoint in malloc_error_break to debug
    Mar 30 15:30:37  [0x0-0x4a04a].com.adobe.dreamweaver-10.0[942]: objc[942]: Class ApolloPasteboardSource is implemented in both /Applications/Adobe Dreamweaver CS4/Configuration/Flash Player/AuthPlayLib.bundle/Contents/MacOS/AuthPlayLib and /Applications/Adobe Dreamweaver CS4/Adobe Dreamweaver CS4.app/Contents/Frameworks/AdobeOwl.framework/Resources/AuthPlayLib.bundle/Contents/MacO S/AuthPlayLib. One of the two will be used. Which one is undefined.
    Mar 30 15:30:37  /Library/Application Support/FLEXnet Publisher/Service/11.5.0/FNPLicensingService[946]: Started - This service performs licensing functions on behalf of FLEXnet enabled products.
    Mar 30 15:34:58  osascript[1018]: Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types:  dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found.  Did find:\n /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
    Mar 30 15:35:03  com.apple.backupd-auto[1012]: Not starting scheduled Time Machine backup - time machine destination not resolvable.
    Mar 30 15:35:48  osascript[1033]: Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types:  dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found.  Did find:\n /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
    Mar 30 15:35:58  Dreamweaver[942]: Dreamweaver(942,0xa0aae4e0) malloc: *** error for object 0x3332c4b0: pointer being freed was not allocated\n*** set a breakpoint in malloc_error_break to debug
    Mar 30 15:35:58  [0x0-0x4a04a].com.adobe.dreamweaver-10.0[942]: Dreamweaver(942,0xa0aae4e0) malloc: *** error for object 0x3332c4b0: pointer being freed was not allocated
    Mar 30 15:35:58  [0x0-0x4a04a].com.adobe.dreamweaver-10.0[942]: *** set a breakpoint in malloc_error_break to debug

    If you are trying to report a bug, this is not the place for it. This is a user to user Forum. Bug reports go here: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    If you are giving a heads-up to fellow Mac Users, so be it.
    If you are trying to get support to extricate yourself from what looks like a really aggravating problem, go to http://www.adobe.com/support/contact/ and choose your favorite means of conversation with Adobe Support personnel.
    Beth

  • Dreamweaver CS4 adds a tab when we move to new line.

    Dreamweaver CS4 adds a tab when we move to new line. This thing was not in CS3, its not a big problem but it disturbs me, so is there any setting to change it.
    for example,
    Dreamweaver CS3
    .hello{
    Dreamweaver CS4
    .hello{
    Thanks in advance

    If you're referring to the way that Dreamweaver formats CSS, you can change the options in Preferences (open from the Edit menu on Windows, Dreamweaver menu on the Mac). Select the Code Format category, and click the CSS button at the bottom of the panel. You can set your preferences there.
    The way that Dreamweaver handles curly braces is to indent the next line automatically when you press Enter after the opening curly brace. Type your style rules, and press Enter after the last one. When you type a closing curly brace, Dreamweaver CS4 automatically moves it one tab space to the left after you press Enter again.

  • Runtime error in Dreamweaver CS4

    When trying to start to work with Dreamweaver CS4 I get a runtime error
    Afther building a website in in div's and css and saving it I had no problems. Afther closing the computer and starting to work the next morning I got the error. I've restarted my computer, cleaned my registry but still the error appears.
    Does anyone no what to do? Please help.
    It is impossible to work without Dreamweaver.
    John

    I am using Vista so file locations are different. Still, I cannot find any preferences folder or configuration folder that I can rename to recreate. There is no "CreamWeaver" folder in the user profile - even in the hidden parts.
    Anyone have any other ideas?
    Rename the folder to Configuration_old and launch Dreamweaver.  It should create a new Configuration folder with the factory defaults.
    On Vista, it's located at C:\Users\<username>\AppData\Roaming\Adobe\Dreamweaver CS4\en_US\Configuration.
    It's a hidden folder, so you need to enable hidden folders in Windows Explorer.
    Technote: 
    Try step 4 in the following technote: - corrupt cache file:
    http://www.adobe.com/go/tn_19105
    If that doesn't work Try #12 -  deleting your personal configuration folder.
    This information is also available  in the Dreamweaver FAQ

  • Can't see Remote data in Dreamweaver CS4

    I have a site that I have had for years and recently changed from a real old version of Dreamweaver to Dreamweaver CS4.  I had trouble getting my FTP to work so I used an external program to move the files.  The files have been uploaded and the site is active on the Internet so I know there are there.
    When I use Dreamweaver, the only thing I can see is the "/" that represents the root folder.  All the site definitions say that it can connect to my server, it just does not show the files.
    Any ideas?
    Thanks, Fred

    Hi,
    here I'll quote a hint from Nancy O. for DW applications:
    Try toggling Passive and/or Secure FTP on/off.
    Your web host might have changed upload requirements to improve security.
    Another thing to check is your Anti-virus and Firewall settings. If they are too restrictive, DW may not have permission to connect to the remote server.
    Hans-G.

  • Extension Manager CS4 not installing extensions in Dreamweaver CS4

    Just installed CS4 Design Premium. Now i want to install some
    extensions to Dreamweaver.
    When I click on the extension to install it I get a message
    from the Extension Manager saying:
    "This extension can not be installed, it products requires
    Dreamweaver 6 or greater. To install this extension, please try to
    install Dreamweaver CS4 or use Extension Manager CS3 which works
    with Adobe CS3 and earlier products."
    I have even tried to install it by opening the Extension
    Manager from Dreamweaver via the
    Commands menu, with the same results.
    - I have version 2.0.274 of Adobe Extension Manager CS4.
    - I do not see the Dreamweaver icon in Extension Manager's
    product list*
    - I tried to reinstall Dreamweaver
    (which also reinstalled Extension Manager)
    - Easy to forget; I am on a Mac
    - The extensions should be okay, as they install quite nice
    in Dreamweaver CS3
    I tried to look for a
    plist to edit, but as I do not really know what to look for
    this action failed.
    *in the same order i find the icons of Flash CS4, Fireworks
    CS4, Photoshop CS4, Indesign CS4, Illustrator CS4 and Bridge CS4 in
    the products list.

    What extensions are you trying to install?
    Nancy Gill
    Adobe Community Expert
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
    2003)
    Technical Editor: Dreamweaver CS3: The Missing Manual,
    DMX 2004: The Complete Reference, DMX 2004: A Beginner's
    Guide
    Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
    Web Development
    "Digital_Me" <[email protected]> wrote in
    message
    news:ge4vjd$6f3$[email protected]..
    > Just installed CS4 Design Premium. Now i want to install
    some extensions
    > to
    > Dreamweaver.
    >
    > When I click on the extension to install it I get a
    message from the
    > Extension
    > Manager saying:
    "This extension can not be installed, it products
    > requires
    > Dreamweaver 6 or greater. To install this extension,
    please try to install
    > Dreamweaver CS4 or use Extension Manager CS3 which works
    with Adobe CS3
    > and
    > earlier products."
    >
    > I have even tried to install it by opening the Extension
    Manager from
    > Dreamweaver via the
    Commands menu, with the same results.
    >
    > - I have version 2.0.274 of Adobe Extension Manager CS4.
    > - I do not see the Dreamweaver icon in Extension
    Manager's product list*
    > - I tried to reinstall Dreamweaver
    (which also reinstalled Extension
    > Manager)
    > - Easy to forget; I am on a Mac
    > - The extensions should be okay, as they install quite
    nice in Dreamweaver
    > CS3
    >
    > I tried to look for a
    plist to edit, but as I do not really know
    > what
    > to look for this action failed.
    >
    > *in the same order i find the icons of Flash CS4,
    Fireworks CS4,
    > Photoshop
    > CS4, Indesign CS4, Illustrator CS4 and Bridge CS4 in the
    products list.
    >
    >

Maybe you are looking for