Trouble inserting rollover navbar

I'm trying to make a simple navbar with slices that change
the color. So I selected rollover image and have frame 1 in white
text and frame 2 in yellow text. when I export it wants the gif
file to be a htm file. Why? If it exports as an htm file how do you
insert it into another htm page to use as a navbar?

geovino wrote:
> I'm trying to make a simple navbar with slices that
change the color. So I
> selected rollover image and have frame 1 in white text
and frame 2 in yellow
> text. when I export it wants the gif file to be a htm
file. Why?
In order for the image rollovers to work, you need to export
images and
HTML. The behavior that makes the buttons roll over is in the
HTML.
If you are using Dreamweaver as your HTML editor, use the
Insert > Image
Objects > Fireworks HTML feature.
Linda Rathgeber [PVII] **Adobe Community Expert-Fireworks**
http://www.projectseven.com
Fireworks Newsgroup:
news://forums.projectseven.com/fireworks/
CSS Newsgroup: news://forums.projectseven.com/css/
Design Aid Kits:
http://www.webdevbiz.com/pwf/index.cfm

Similar Messages

  • Trouble with rollover image in div

    Hello there,
    I am having some trouble with the following.
    I want to create a rollover image 90 pxl x 90 pxl and put it inside a div 90 pxl x 90 pxl.
    The div is inside other divs and makes up a kind of a table. I checked that all the div and image sizes are the same but when I place the cursor inside the div and select 'insert rollover image', my images are all squashed up and don't appear normal size. Very odd.
    Here is some of my code:
    CSS of div (I want to put my image inside smallBox01a)
    #Header #rightColumn #smallBox01 {
        height: 90px;
        width: 270px;
    #Header #rightColumn #smallBox01 #smallBox01a {
        float: left;
        height: 90px;
        width: 90px;
    HTML
          <div id="smallBox01a"><a href="tobi.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('tobi','','Images/TobiOver.jpg',1)"><img src="Images/TobiOff.jpg" alt="Tobi" name="tobi" width="90" height="90" border="0" id="tobi" /></a></div>
    Poor old Tobi cat's face is all squashed up. Any idea what is going wrong? I don't have any padding within the div either.
    Thanks!
    PS I also should add that when I tried to simply add in one of the Tobi images instead of the rollover image, it appeared perfectly fine within the div. It is only the rollover that is getting vertically squashed up.

    So, I've been playing around with your page in dreamweaver and I put a <div> container around your entire web page and then set the width to 1200px. That contained all the contents so that when you re-size the web page the contents don't colapse.
    Not sure if that's what Murray or Nancy mean and am curious if their is a better way.
    That would work although 1200px is too wide.  Something along the lines of 1000px would be better, since you want the page to display in a maximized browser viewport on a 1024 screen without dropping horizontal scrollbars.  I still use 960px as a maximum width....
    Re the centering of the page: Good question I would like to know how to do it "properly"
    In the CSS body rule I put:  margin-left: 20%;
                                                margin-right: 20%;
    Again, I'm not sure if that's the correct way to center the page, and would like to know a better way.
    It's not the best way to do this, which would be to use a fixed width container (as you have done) and just assign it left/right margin settings of 'auto', e.g.,
    #container { width:960px; margin:0 auto; }
    You can center *any* block element within its container with this method.

  • Trouble inserting Flash in CS5.5

    I just upgraded to CS5.5 and am having trouble inserting a Flash file into Dreamweaver. When I used CS4, I would open the html file that Flash created in the Publish process. I would copy and paste the top part of that file -- the <script> info into the header of my dreamweaver code. Then in the location where I wanted the Flash file to be I would paste the code from the Flash html that started with <!--url's used in the movie--> and ended with </noscript>.
    However, the files I just created in Flash using all the same Publish settings as I used previously (I think!) look completely different. There is nothing like either of these sections that I previously used to insert the Flash code into Dreamweaver. Here is a comparison of the 2 Flash html files so you can see what I'm talking about.
    Flash html in CS4:
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Firestone</title>
    <script language="JavaScript" type="text/javascript">
    <!--
    //v1.7
    // Flash Player Version Detection
    // Detect Client Browser type
    // Copyright 2005-2008 Adobe Systems Incorporated.  All rights reserved.
    var isIE  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
    var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
    var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
    function ControlVersion()
        var version;
        var axo;
        var e;
        // NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry
        try {
            // version will be set for 7.X or greater players
            axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
            version = axo.GetVariable("$version");
        } catch (e) {
        if (!version)
            try {
                // version will be set for 6.X players only
                axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
                // installed player is some revision of 6.0
                // GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,
                // so we have to be careful.
                // default to the first public version
                version = "WIN 6,0,21,0";
                // throws if AllowScripAccess does not exist (introduced in 6.0r47)       
                axo.AllowScriptAccess = "always";
                // safe to call for 6.0r47 or greater
                version = axo.GetVariable("$version");
            } catch (e) {
        if (!version)
            try {
                // version will be set for 4.X or 5.X player
                axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
                version = axo.GetVariable("$version");
            } catch (e) {
        if (!version)
            try {
                // version will be set for 3.X player
                axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
                version = "WIN 3,0,18,0";
            } catch (e) {
        if (!version)
            try {
                // version will be set for 2.X player
                axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
                version = "WIN 2,0,0,11";
            } catch (e) {
                version = -1;
        return version;
    // JavaScript helper required to detect Flash Player PlugIn version information
    function GetSwfVer(){
        // NS/Opera version >= 3 check for Flash plugin in plugin array
        var flashVer = -1;
        if (navigator.plugins != null && navigator.plugins.length > 0) {
            if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
                var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
                var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
                var descArray = flashDescription.split(" ");
                var tempArrayMajor = descArray[2].split(".");           
                var versionMajor = tempArrayMajor[0];
                var versionMinor = tempArrayMajor[1];
                var versionRevision = descArray[3];
                if (versionRevision == "") {
                    versionRevision = descArray[4];
                if (versionRevision[0] == "d") {
                    versionRevision = versionRevision.substring(1);
                } else if (versionRevision[0] == "r") {
                    versionRevision = versionRevision.substring(1);
                    if (versionRevision.indexOf("d") > 0) {
                        versionRevision = versionRevision.substring(0, versionRevision.indexOf("d"));
                var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
        // MSN/WebTV 2.6 supports Flash 4
        else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
        // WebTV 2.5 supports Flash 3
        else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
        // older WebTV supports Flash 2
        else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
        else if ( isIE && isWin && !isOpera ) {
            flashVer = ControlVersion();
        return flashVer;
    // When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available
    function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)
        versionStr = GetSwfVer();
        if (versionStr == -1 ) {
            return false;
        } else if (versionStr != 0) {
            if(isIE && isWin && !isOpera) {
                // Given "WIN 2,0,0,11"
                tempArray         = versionStr.split(" ");     // ["WIN", "2,0,0,11"]
                tempString        = tempArray[1];            // "2,0,0,11"
                versionArray      = tempString.split(",");    // ['2', '0', '0', '11']
            } else {
                versionArray      = versionStr.split(".");
            var versionMajor      = versionArray[0];
            var versionMinor      = versionArray[1];
            var versionRevision   = versionArray[2];
                // is the major.revision >= requested major.revision AND the minor version >= requested minor
            if (versionMajor > parseFloat(reqMajorVer)) {
                return true;
            } else if (versionMajor == parseFloat(reqMajorVer)) {
                if (versionMinor > parseFloat(reqMinorVer))
                    return true;
                else if (versionMinor == parseFloat(reqMinorVer)) {
                    if (versionRevision >= parseFloat(reqRevision))
                        return true;
            return false;
    function AC_AddExtension(src, ext)
      if (src.indexOf('?') != -1)
        return src.replace(/\?/, ext+'?');
      else
        return src + ext;
    function AC_Generateobj(objAttrs, params, embedAttrs)
      var str = '';
      if (isIE && isWin && !isOpera)
        str += '<object ';
        for (var i in objAttrs)
          str += i + '="' + objAttrs[i] + '" ';
        str += '>';
        for (var i in params)
          str += '<param name="' + i + '" value="' + params[i] + '" /> ';
        str += '</object>';
      else
        str += '<embed ';
        for (var i in embedAttrs)
          str += i + '="' + embedAttrs[i] + '" ';
        str += '> </embed>';
      document.write(str);
    function AC_FL_RunContent(){
      var ret =
        AC_GetArgs
        (  arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
         , "application/x-shockwave-flash"
      AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
    function AC_SW_RunContent(){
      var ret =
        AC_GetArgs
        (  arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
         , null
      AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
    function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
      var ret = new Object();
      ret.embedAttrs = new Object();
      ret.params = new Object();
      ret.objAttrs = new Object();
      for (var i=0; i < args.length; i=i+2){
        var currArg = args[i].toLowerCase();   
        switch (currArg){   
          case "classid":
            break;
          case "pluginspage":
            ret.embedAttrs[args[i]] = args[i+1];
            break;
          case "src":
          case "movie":   
            args[i+1] = AC_AddExtension(args[i+1], ext);
            ret.embedAttrs["src"] = args[i+1];
            ret.params[srcParamName] = args[i+1];
            break;
          case "onafterupdate":
          case "onbeforeupdate":
          case "onblur":
          case "oncellchange":
          case "onclick":
          case "ondblclick":
          case "ondrag":
          case "ondragend":
          case "ondragenter":
          case "ondragleave":
          case "ondragover":
          case "ondrop":
          case "onfinish":
          case "onfocus":
          case "onhelp":
          case "onmousedown":
          case "onmouseup":
          case "onmouseover":
          case "onmousemove":
          case "onmouseout":
          case "onkeypress":
          case "onkeydown":
          case "onkeyup":
          case "onload":
          case "onlosecapture":
          case "onpropertychange":
          case "onreadystatechange":
          case "onrowsdelete":
          case "onrowenter":
          case "onrowexit":
          case "onrowsinserted":
          case "onstart":
          case "onscroll":
          case "onbeforeeditfocus":
          case "onactivate":
          case "onbeforedeactivate":
          case "ondeactivate":
          case "type":
          case "codebase":
          case "id":
            ret.objAttrs[args[i]] = args[i+1];
            break;
          case "width":
          case "height":
          case "align":
          case "vspace":
          case "hspace":
          case "class":
          case "title":
          case "accesskey":
          case "name":
          case "tabindex":
            ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
            break;
          default:
            ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
      ret.objAttrs["classid"] = classid;
      if (mimeType) ret.embedAttrs["type"] = mimeType;
      return ret;
    // -->
    </script>
    </head>
    <body bgcolor="#c9aad0">
    <!--url's used in the movie-->
    <!--text used in the movie-->
    <!-- saved from url=(0013)about:internet -->
    <script language="JavaScript" type="text/javascript">
        AC_FL_RunContent(
            'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
            'width', '175',
            'height', '66',
            'src', 'Firestone',
            'quality', 'high',
            'pluginspage', 'http://www.adobe.com/go/getflashplayer',
            'align', 'middle',
            'play', 'true',
            'loop', 'true',
            'scale', 'showall',
            'wmode', 'transparent',
            'devicefont', 'false',
            'id', 'Firestone',
            'bgcolor', '#c9aad0',
            'name', 'Firestone',
            'menu', 'true',
            'allowFullScreen', 'false',
            'allowScriptAccess','sameDomain',
            'movie', 'Firestone',
            'salign', ''
            ); //end AC code
    </script>
    <noscript>
        <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="175" height="66" id="Firestone" align="middle">
        <param name="allowScriptAccess" value="sameDomain" />
        <param name="allowFullScreen" value="false" />
        <param name="movie" value="Firestone.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#c9aad0" />    <embed src="Firestone.swf" quality="high" wmode="transparent" bgcolor="#c9aad0" width="175" height="66" name="Firestone" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
        </object>
    </noscript>
    </body>
    </html>
    FLASH html (different video) in CS5.5:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
        <head>
            <title>AfrWomen</title>
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
            <style type="text/css" media="screen">
            html, body { height:100%; background-color: #000000;}
            body { margin:0; padding:0; overflow:hidden; }
            #flashContent { width:100%; height:100%; }
            </style>
        </head>
        <body>
            <div id="flashContent">
                <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="200" height="54" id="AfrWomen" align="middle">
                    <param name="movie" value="AfrWomen.swf" />
                    <param name="quality" value="high" />
                    <param name="bgcolor" value="#000000" />
                    <param name="play" value="true" />
                    <param name="loop" value="true" />
                    <param name="wmode" value="transparent" />
                    <param name="scale" value="showall" />
                    <param name="menu" value="true" />
                    <param name="devicefont" value="false" />
                    <param name="salign" value="" />
                    <param name="allowScriptAccess" value="sameDomain" />
                    <!--[if !IE]>-->
                    <object type="application/x-shockwave-flash" data="AfrWomen.swf" width="200" height="54">
                        <param name="movie" value="AfrWomen.swf" />
                        <param name="quality" value="high" />
                        <param name="bgcolor" value="#000000" />
                        <param name="play" value="true" />
                        <param name="loop" value="true" />
                        <param name="wmode" value="transparent" />
                        <param name="scale" value="showall" />
                        <param name="menu" value="true" />
                        <param name="devicefont" value="false" />
                        <param name="salign" value="" />
                        <param name="allowScriptAccess" value="sameDomain" />
                    <!--<![endif]-->
                        <a href="http://www.adobe.com/go/getflash">
                            <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
                        </a>
                    <!--[if !IE]>-->
                    </object>
                    <!--<![endif]-->
                </object>
            </div>
        </body>
    </html>
    HELP!!!!!

    OK, firstly, you can open the site an Dreamweeaver CS 4 and insert your flash video, but with CS 5.5 Adobe decided that Flash support should be something they should deprecate. And there is good reason.
    Mobile devices don't handle Flash very well. iPhones and iPads simply won't play it and many of the Android devices make a video into a slide show with sound.
    With CS 5.5 though, you can make an HTML5 document that understands the <video> tag. This will allow you to directly embed a video into a website without needing any plugin. There is a complete explanation and tutorial here:
    Webmonkey: Embed Video in your web page using HTML5
    From the article, here's the source:
    <video width="560" height="340" controls>
      <source src="path/to/myvideo.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'>
    <source src="path/to/myvideo.ogv" type='video/ogg; codecs="theora, vorbis"'>
    </video>
    That's it! You can add additional stuff, like an image placeholder and so on, but really, you're looking at four lines of code here. Now, with the Flash stuff, Adobe, which supported Flash, wrote all of the code for you. While that was easy, it was a lot more complicated and, of course, clients on your site had to have the Flash plugin to see the video.
    Your doctype declatation is XHTML 1.0 strict. You will need to change your doctype to HTML5 thusly:
    <!DOCTYPE html>
    <html lang="en">
    Then after your head tag, declare your character set:
    <meta charset="UTF-8">
    Lastly, you will need to make sure that your server understands the ogg Theora MIME type. Download your .,htaccess file from your remote server and add the following lines to the end of that file:
    AddType audio/ogg .oga
    AddType video/ogg .ogv
    AddType application/ogg .ogg
    AddHandler application-ogg .ogg .ogv .oga
    You may also be able to add these MIME types from your server's control panel.
    Then, you're finished with Flash—forever.

  • Having trouble inserting a logo into my video

    I am having difficulty inserting a logo into my video. Whenever, I am successful, and I go to play the video, the logo moves out of place. I deleted all of the effects but am still having trouble with it.

    We have no idea what the problem is or how you applied the logo from that brief description!

  • Trouble inserting USB plug

    I am having trouble with one of the usb ports on my macbook; when I try to insert the plug from any device, the plug goes in about half way and then seems to get stuck. With the plug only in half way; the device isn't recognized. I haven't tried to apply more force without knowing more. Is it likely something is bent in the port, blocking the plug; is this an easy/hard fix, will I damage the port if I try to "force it" a bit, or have I pretty much lost one of my usb ports. I appreciate any advice.

    If you look into the port, do you see anything? If you want to, shut down the computer, and remove the battery then use a small object--like a toothpick--and poke around in the port to see if that gets blocked by anything. Otherwise, you'll have to bring it to a store and have a Genius take a look.
    ~Lyssa

  • How do I prevent DW from inserting rollover code in a template update?

    Hi there
    I have looked through the help and searched online, and found
    only one reference this question, and it was never answered.
    I have a template, and in the non-editable region of the
    header, I have a link to a .js file containing the javascript
    rollover effect code.
    However, when I update the html files based on this template,
    DW inserts the rollover code into a <script> in the head of
    the html file, which is redundant and bloats the file.
    I can't find a way to disable this behaviour.
    Can anyone give me any guidance?
    ...Mike

    > I can't find a way to disable this behaviour.
    There isn't. Sorry. It is a known bug in DW.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    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
    ==================
    "Photos for Life" <[email protected]> wrote
    in message
    news:f4a0t0$o6n$[email protected]..
    > Hi there
    >
    > I have looked through the help and searched online, and
    found only one
    > reference this question, and it was never answered.
    >
    > I have a template, and in the non-editable region of the
    header, I have a
    > link
    > to a .js file containing the javascript rollover effect
    code.
    >
    > However, when I update the html files based on this
    template, DW inserts
    > the
    > rollover code into a <script> in the head of the
    html file, which is
    > redundant
    > and bloats the file.
    >
    > I can't find a way to disable this behaviour.
    >
    > Can anyone give me any guidance?
    >
    > ...Mike
    >

  • Trouble inserting photos

    Try as I may, I can't get photos that have been taken with an iphone held vertically to insert with the proper orientation - they go in rotated.  Photos taken with the phone held horizontally go in fine.  Any suggestions?

    Here is an online editor you can use.  Go to Image > Rotate Canvas
    http://pixlr.com/editor/
    Nancy O.

  • Trouble inserting text into JEditorPane

    Hello.
    I am trying to use a URL Connection and the read method to produce an HTML page in a JEditorPane.
         purlRec is a data record that contains information relating to the URL in question.
         pis is an input stream create from the URLConnection.getInputStream() method
    private void loadFromURL(UrlRecord purlRec, InputStream pis ) {
    URL url;
    String tmpStr = (String)purlRec.getUrlName();
    String baseUrl = (String)purlRec.getUrlName();
    setContentType("text/html");
    try {
    HTMLDocument doc = (HTMLDocument)getDocument();
    doc.setBase(new URL(baseUrl));
    this.read(is,doc);
    repaint();
    catch (Exception e) {
    System.err.println("Couldn't create URL: " + tmpStr);
    System.out.println("error:"+e.getMessage());
    I get the following when I execute the code. Am I not using this correctly or is there something I am missing? I am using the read from input stream so that I can connnect to url that require authentication. I know that the URL connection works because I am able to write the output of the stream to a text file in a test function.
    Couldn't create URL: http://www.google.com
    java.lang.RuntimeException: Must insert new content into body element-
         at javax.swing.text.html.HTMLDocument$HTMLReader.generateEndsSpecsForMidInsert(HTMLDocument.java:1878)
         at javax.swing.text.html.HTMLDocument$HTMLReader.<init>(HTMLDocument.java:1854)
         at javax.swing.text.html.HTMLDocument$HTMLReader.<init>(HTMLDocument.java:1729)
         at javax.swing.text.html.HTMLDocument$HTMLReader.<init>(HTMLDocument.java:1724)
         at javax.swing.text.html.HTMLDocument.getReader(HTMLDocument.java:125)
         at javax.swing.text.html.HTMLEditorKit.read(HTMLEditorKit.java:228)
         at javax.swing.JEditorPane.read(JEditorPane.java:504)
         at javax.swing.JEditorPane.read(JEditorPane.java:478)
         at com.UrlChecker.panels.HTML.EditorPane._$34246(EditorPane.java:105)
         at com.UrlChecker.panels.HTML.EditorPane.changeUrls(EditorPane.java:142)
         at com.UrlChecker.demo.UrlChecker.changeHtml(UrlChecker.java:131)
         at com.UrlChecker.panels.Report.URLTabView.mouseClicked(URLTabView.java:91)
         at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:208)
         at java.awt.Component.processMouseEvent(Component.java:5096)
         at java.awt.Component.processEvent(Component.java:4890)
         at java.awt.Container.processEvent(Container.java:1566)
         at java.awt.Component.dispatchEventImpl(Component.java:3598)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java:3439)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3174)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
         at java.awt.Container.dispatchEventImpl(Container.java:1609)
         at java.awt.Window.dispatchEventImpl(Window.java:1585)
         at java.awt.Component.dispatchEvent(Component.java:3439)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    error:Must insert new content into body element-
    Thank you

    I tried using this, but I get an UNAUTHORIZED Status code (401) indicating request requires HTTP authentication. ( HttpServletResponse error code ). This is why the encoded authentication is used. It works when I try to just read from the url using an InputStream but not when I try passing the same InputStream to the JEditorPane.
    Any Idea of how to use JEditorPane.read(InputStream in , Object desc) or why it would work in one instance and not in the other?
    Thanks

  • MX2004 Keeps Inserting Rollover Code

    I have CS4 and won't make the switch in the middle of a project. I've been using DW for many, many years and know that it has a mind of its own. At this point I'm pretty frustrated because even though I have declared an external javascript file containing the rollover code the pages keep adding the same code when the template is updated. Itss driving me crazy and bloats the code.
    Here's the template head:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>A Web Site</title>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta name="resource-type" content="document">
    <meta name="revisit-after" content="3 Days">
    <meta name="rank" content="1">
    <meta name="robots" content="index,follow">
    <meta name="distribution" content="Global">
    <meta name="rating" content="Safe For Kids">
    <link href="../images/styles.css" rel="stylesheet" type="text/css">
    <SCRIPT type="text/javascript" src="../js/menu.js"></SCRIPT>  <<<<<<< NOTE THE CALL
    </head>
    <body>
    I've done this for years. The template calls the javascript whether needed on the page or not. Here's a page that calls the code and it is adding the rollover code.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html><!-- InstanceBegin template="/Templates/secondary.dwt.php" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>A Web Site</title>
    <!-- InstanceEndEditable -->
    <!-- InstanceBeginEditable name="head" -->
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //-->
    </script>
    <!-- InstanceEndEditable -->
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta name="resource-type" content="document">
    <meta name="revisit-after" content="3 Days">
    <meta name="rank" content="1">
    <meta name="robots" content="index,follow">
    <meta name="distribution" content="Global">
    <meta name="rating" content="Safe For Kids">
    <link href="images/styles.css" rel="stylesheet" type="text/css">
    <SCRIPT type="text/javascript" src="js/menu.js"></SCRIPT>
    </head>
    <body onLoad="MM_preloadImages('images/menu/streaming_b2_over.gif','images/menu/streaming_b3_ov er.gif','images/menu/streaming_b4_over.gif','images/menu/streaming_b5_over.gif')">

    Nope. I didn't touch the rollover code. I just cut and pasted the menu system into the new document based on the template. BUT then it failed again and I realized that it did so after adding <script> tags for tool tips. So, I created a new document from the template and cut and pasted the menu code back in and saved the document. Once again any changes to the template are updating and without adding the rollover code back in. I don't know what MX is thinking but I wish that it would stop trying to think for me  I have C4 in the box and just haven't made the switch. This is not the time to learn new stuff.

  • HELP - Trouble inserting

    Why does dreamweaver close when trying to insert items such as images, swf etc.
    When i try to insert things such as images or swf files in dreamweaver cs6, the program just closes. I go insert > image (click on it) and it just closes. No crash information etc (windows 7).
    I tried reopening dreamweaver and trying to insert image, but closes again.
    I tried restarting the computer and opeing dreamweaver to insert image, but closes.
    Any suggestions?

    Which version of DW?
    Are you working with Valid HTML Code?
         Code Validation Tools
         CSS - http://jigsaw.w3.org/css-validator/
         HTML - http://validator.w3.org/
    Does this happen in all sites/pages or just one?
    What happens if you make a new page -- File > New > Blank > HTML > Layout [none] and insert an image?
    Nancy O.

  • Trouble Inserting Titles & Still Images

    I've ground through FAQ, etc. and maybe I'm not searching for the right terms - so any help is appreciated.
    Here's my situation:
    * I've been working with a PP (CC) project cutting a long video into pieces, re-ordering, etc.  All was well;
    * I started to dork around with AE, but got called to another project - so I think I did not save/keep the AE work;
    * When I opened my PP project again I cannot:
    ** Insert (add to sequence) title slides I made in PP;
    ** "same" for a PSD I imported from Photoshop;
    ** Cannot drag new Adjustment Layers, Color Mattes, etc. onto the sequence after creating them
    * But I can:
    ** Add more video clips
    ** Move titles, etc. around
    ** Execute the standard drag and drop video work
    ** Take (for instance) an Adjustment Layer and make it a new sequence - then the new "Adjustment Layer" sequence will fit right in
    I don't understand why my sequence is only accepting other sequences.  93% chance of pilot error on this one - but I have pushed every button I could try!
    I then opened a new project and everything worked as expected - so I don't think it's a SW issue - something is gumming up the project.
    Any help is very appreciated.
    Barring a "fix" I tried to open a new project and import the "old video" which caused the same issues -
    Thanks - Jeff

    Mark - great questions, sorry for not thinking about them when I posted.
    When I drag from my "project panel" (lower left) to sequence I get the "grabby hand" with the slashed circle [sorry I don't know the actual terms].
    When I "open in source monitor" then try to drag the icon appears.
    When I "open in source monitor" then use the "Insert" (",") command something different happens - it opens a "gap" in the sequence, but doesn't insert anything - and I've zoomed in as far as my + key allows.
    Now - here's where I may be clueless - just noticed then when I made V3 track active and hit "insert" it opened a gap in V1 and V2 as well - I assume it's because I have the Toggle Sync Lock activated.
    Also - when I create a new sequence within the same project - everything works as expected.
    Is there something within a sequence that would cause this?
    Thanks for any ideas - I'm baffled, but very new to Premeier Pro.
    Jeff

  • Trouble inserting a widget into my web page

    Hello,
    I am using DW CS3. I got the html code for a widget (in this case a small banner) to insert into my web page. Here is the code:
    <div>Find <a id="flipkey_best_of_property" href="http://www.flipkey.com/pine-mountain-club-vacation-rentals/g1553621/">Pine Mountain Club Vacation Rentals</a> on FlipKey</div><script type="text/javascript" src="http://data.flipkey.com/widgets/jsapi/36780/fhb/7be5/"></script>
    I inserted a Div Tag in my web page to contain the code (Class: Body; ID: apDiv2), and then pasted the code into the Div Tag. Though I was in Design View, the html code still showed as html code, not as the small banner I had hoped for. Can someone steer me in the right direction?
    Note: I took a web design course 3 years ago and created this web page at the time. I haven't done any web design since then, and have forgotten many of the details, but I should remember as soon as someone points out my errors.
    Thanks!

    If it's been 3 years, a refresher course may be in order. 
    Start here:
    HTML & CSS Tutorials - http://w3schools.com/
    APDivs as a primary layout method seldom works well. Here is why:
    http://apptools.com/examples/pagelayout101.php
    Learn CSS positioning in 10 Steps
    http://www.barelyfitz.com/screencast/html-training/css/positioning/
    How to Develop with CSS?  (a must read!!)
    http://phrogz.net/css/HowToDevelopWithCSS.html
    New Dreamweaver CSS Templates for beginners
    http://www.adobe.com/devnet/dreamweaver/articles/dreamweaver_custom_templates.html
    New DW Starter Pages
    http://www.adobe.com/devnet/dreamweaver/articles/introducing_new_css_layouts.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Trouble inserting photos into iMovie

    I am trying to import some photos into iMovie that I copied from a website. When I try to insert them from a file on my desktop, where I saved them, I only get a portion of the photo. I went back to the folder and opened each picture outside of iMovie and they are complete pictures of high resolution. When I insert them, they turn out to be a part of the photo in low resolution. Ideas?

    You might also try dragging the folder into iphoto and see if they will import there. Then access them from within imovie. If iphoto won't see them then you will need to convert them like was already suggested.

  • Help me please haveing trouble inserting fireworks HTML to dreamweaver

    when trying to insert a fireworks html that i exported from
    fireworks mx using the export wizard as soon as i choose the file
    to insert into dreamweaver i get an error message that says
    A script in file C:\Program Files\Macromedia\Dreamweaver
    MX\Configuration\Shared\MM\Scripts\insertFireworksHTML. js has been
    running for a long time. Do you want to continue?
    When i click yes it just comes up with the same message
    multiple times and than after a couple times and than goes back to
    the begging and does not do anything
    I do not know why it is doing this it does this on multiple
    computers that i have tried it on

    You can try this simple fix -
    Quit DW.
    Find this file-
    C:\Documents and Settings\<username>\Application
    Data\Macromedia\Dreamweaver
    8\Configuration\WinFileCache-*.dat
    (these folders are normally hidden - you may have to use
    Explorer > Tools >
    Folder Options to unhide them)
    and delete it.
    Restart DW. Works better?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    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
    ==================
    "homeydog2323" <[email protected]> wrote in
    message
    news:e0sbe3$70c$[email protected]..
    > when trying to insert a fireworks html that i exported
    from fireworks mx
    > using
    > the export wizard as soon as i choose the file to insert
    into dreamweaver
    > i get
    > an error message that says
    >
    > A script in file C:\Program Files\Macromedia\Dreamweaver
    > MX\Configuration\Shared\MM\Scripts\insertFireworksHTML.
    js has been
    > running for
    > a long time. Do you want to continue?
    >
    > When i click yes it just comes up with the same message
    multiple times and
    > than after a couple times and than goes back to the
    begging and does not
    > do
    > anything
    >
    > I do not know why it is doing this it does this on
    multiple computers that
    > i
    > have tried it on
    >

  • Trouble inserting repeating region as right sidebar in template

    Hi,
    my website has a main section and a left sidebar. I want to add a right sidebar of the same size and colour as the left one.
    I've tried interesting an editable repeating region like the adobe help file Dreamweaver / Creating editable regions in templates says
    http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822510a94ae8d65-7ab7a.h tml#WScbb6b82af5544594822510a94ae8d65-7ab6a
    I  can't click the mouse on the top right hand side of the main body, i.e. can't place the cursor there to be able to insert the repeating region where I want to insert it.
    when i do insert the editable region, it places it at the bottom left of my template and I can't move it around to the top right side where I want it.
    website is
    http://www.addcoach4u.com
    using dreamweaver CS3 on a Mac
    Any ideas?

    Thanks Nancy,
    cool site. I like the other designs on his site here too
    http://matthewjamestaylor.com/blog/-website-layouts
    any url for how to import my old design into that new template? ie how to put the top two nav bars that would extend across the page on top of the 3 column layout & add a footer at the bottom of the 3 column layout that goes on the bottom of the 3 column layout?

Maybe you are looking for

  • CS3 Bridge, no files on right click (yes, I set preferences)

    I wrote this in previous thread, but it referred to CS5 so I'm pasting it in a new one. This is for CS3 Bridge. Since I finally uninstalled previous CS version, now when I open up Bridge and right-click PSD image to say, open in AI, my options are on

  • How to execute visibroker corba functions?

    Hello i have application that the api is exposed throw visibroker coraba that mean to execute function throw the web i need to talk cobra is there any layer in jsb that provide me to possibility to talk with visibroker ? thanks

  • Z1 Data not being uploaded to Aggregates operation report(AOR)

    Hi, Iam facing one issue.The downtime entered into the Z1 Notification should upload into the AOR (Aggregate Operations Report).  The downtimes entered in Z1’s for the secondary plant have been transferred to the AOR downtime section, but the downtim

  • Photoshop 5.0 LE

    I was using a photoshop 5.0 LE with Windows XP and was running well. But now i've got a new sistem with Windows 7 and the program is not compactible. What can I do?

  • Can't find movies on sd card from Sony nex-5

    Recently I've recorded some videos while on vacation and a lot of pictures on the same sd card using a Sony NEX-5. When I've got home and tryed to upload it to my iPad (3rd generation) the pictures jumped right out to upload, but, for Some reason I c