Dreamweaver CS5.5 file upload problems with javascript

Hi,
Maybe someone can help me. I have both CS4 and CS5.5 and Lion installed.
When I upload files to the remote server, formatting for all source code (including javascript) is lost. And then any javascript functions on the website do not work. I have the same problem when uploading files with Filezilla.
Another problem - probably related - is that under Firefox javascript of my local website does not work (it works on a fresh start, but only for the first link), while the remote site under Firefox works fine. Safari works both remotely and local.
Now, when I boot the Mac from the Snow Leopard partition, everything works just fine. So it must have to do with Lion.
Does anyone know how to fix this, please?

Hi, thank you for helping.
Line Break is set to CR (Macintosh). I don't know what OS our host server is running. I would assume it is either  Linux or Windows.
On the other user account Line Break was set to LF (Unix), so I switched it on my account as well.
After that the file transferred with the code intact. Just out of curiosity I switched the setting back, and it still works, but only for new files. Also, old files can no longer be deleted.
Firefox hasn't changed. Under the other user the local site works, under my user, the scripts still don't work.
So, I am very confused. I will give Apple a call to see, how I can reset the user preferences and report back.

Similar Messages

  • File Upload- problem with IE

    I am using commons file upload:
    When I do item.getName() I am getting the name of the file(When I use Mozilla Browser).
    But with IE I am getting the full path instead of name of file.
    So this creates the issues while uploading.
    Can any one help me out with this.
    Thanks
    Aniketh

    Just trim off the file path? The java.lang.String API offers useful methods for that.
    Also see http://balusc.blogspot.com/2007/11/multipartfilter.html for an example.

  • File upload: problem with writing uploaded file to server-harddisk

    Hello,
    according to the example in the File upload tutorial, I tried to save an uploaded file to disk, but it didn't work (and also no messages / exceptions were thrown).
    The Javadoc for the function uploadedFile.write(filename) says that if the file should be written in an other directory than the servers' tmp-directory, the server.policy has to be adjusted.
    The following line is already included in my server.policy:
    permission java.io.FilePermission "<<ALL FILES>>", "read,write";
    So I have two questions:
    1) Where can I find the servers' tmp-directory?
    2) How should the sever.policy permission code look like?

    The File Upload tutorial at http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/file_upload.html has you save the uploaded file to disk. It also gives this information:
    The server holds the uploaded file in memory unless it exceeds 4096 bytes, in which case the server holds the file contents in a temporary file. You can change this threshold by modifying the sizeThreshold parameter for the UploadFilter filter entry in the web application's web.xml file. For more information on modifying the web.xml file, see the last section in this tutorial, Doing More: Modifying the Maximum File Upload Size.
    In cases where you want to retain the uploaded file, you have three choices:
    * Write the file to a location of your choosing, as shown in this tutorial.
    * Create an UploadedFile property in a managed bean and set it to the component's value before you exit the page (as in the button's action method).
    * Save the file to a database.
    By default, the File Upload component can handle files up to one megabyte in size. You can change the maximum file size by modifying the maxSize parameter for the UploadFilter filter entry in the application's web.xml file, as described in the last section in this tutorial, Doing More: Modifying the Maximum File Upload Size.

  • Uploading problem with Ebay and Dreamweaver MX

    I am unable to sync websites with Dreamweaver MX 6.01. When I connect to the remote server, it shuts down the program. I have reinstalled the program, but it still does it. Also, when I use Safari, Opera, and Firefox to upload photos on Ebay, the upload process fails completely, and blows me directly into My Ebay, as if I was not on the selling page at all. I have to go to my PC to do the photo uploads. Seems like it may be a related issue, some kind of uploading problem with Rosetta, or something. I am using a Macbook Pro with the 2.0Ghz processor, connected with ethernet cable, and firewall is set to off. Any ideas?

    For E-Bay you might try the following:
    Type the following command in Terminal (while Safari is NOT running):
    defaults write com.apple.Safari IncludeDebugMenu 1
    Then launch Safari, and you will be able to use the new Debug menu.
    If you ever wish to disable it again, just repeat the command with a "0" instead of a "1".
    Under the Debug menu, you'll see the User Agent sub-menu; select Windows MSIE 6.0 from the list and then try connecting to your web site
    Dreamweaver you might need to update your version.
    To Dreamweaver 8.01
    http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=f56452a8

  • Dreamweaver CS5 and xampp problem

    Hi folks,
    i had cs5 trial installed on my last laptop
    running vista 32bit
    with xampp, i could edit wordpress files
    no problem,
    but i just got a new laptop
    now running windows 7 64bit,
    i installed cs5 trial fine and xampp.
    I just went to edit wordpress files for the first time
    and when i go to index.php as soon as i go to
    'discover' i get dreamweaver 'not responding'
    and it doesn't respond.
    Anybody have any ideas?
    Thanks
    Daniel

    Thanks for the reply,
    there was an update for dreamweaver yesterday which fixed my problem,
    i don't know why because the update was for browserlab and dreamweaver compatibility or something like that,
    but it fixed my problem and now the files load instead of the program (not responding)
    so now i'm happy lol.
    Daniel
    Date: Fri, 21 May 2010 15:10:16 -0600
    From: [email protected]
    To: [email protected]
    Subject: dreamweaver CS5 and xampp problem
    Unfortunately I can't help you. But if it's any consolation, you are not alone. I am suffering from same symptom except it happens with any dynamic site I need to work on. And it doesn't matter whether the sites are local or remote.
    I am running Windows 7 64bit as well in both of my machines, desktop (AMD) and laptop (Intel), and this happens on both of them and with any dynamic site, Joomla! for instance.
    >

  • Problem with JavaScript in URL iView

    Hi,
    I am facing a problem with javascript when i am trying to access my application through URL iView. In the javascript window.top is used to access the frames in the window. But the EP is not recognizing it as valid. what exctly the problem and please suggest me a solution.
    Ashok.

    Hi,,
    thanks for the quick reply. But what i asked was different. I will put it in different way. I have deployed a application in Web Application Server and trying to access it through URL iView. My application is pure J2EE application with html,jsp and JS files. In javascript we used window.top property of the java script which is working fine MS IE. The problem is window.top is a IE specific property which is not having any equallent open standerd so EP is throwing a java script error. As I know the only possible solution for this problem is inherating IE rendaring capabilities to iView(i.e iFrame). is there any way to do that?
    Ashok.

  • File upload conflict with BC4JRequestProcessor under 10g

    Hello.
    I'm using file upload in application designed in JDeveloper 9i with STRUTS framework. Request processor is BC4JRequestProcessor. Application uses file upload performed with form derrived from ActionForm with property of interface FormFile. Everything was OK until migration to 10g was performed. Under 10g, the NullPointerException is reported in MultipartUtil class called from BC4JRequestProcessor. Details:java.lang.NullPointerException
    at oracle.jbo.html.struts11.MultipartUtil.populate(MultipartUtil.java:227)
    at oracle.jbo.html.struts11.BC4JRequestProcessor.processPopulate(BC4JRequestProcessor.java:433)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
    ...The problem is, that method "populate" of MultipartUtil class doesn't resolve the MultipartRequestHandler parameter and the names of the parameters (Enumeration names) has than a null value. There is a NullPointerException thrown after an attempt of iteration of this enumeration.
    Any suggestions?
    Thanks.

    just found this thread
    BC4J MultipartRequestHandler is null

  • Help with add file name problem with Photoshop CS4

    Frustrating problem: Help with add file name problem with Photoshop CS4. What happens is this. When I am in PS CS4 or CS3 and run the following script it runs fine. When I am in Bridge and go to tools/photoshop/batch and run the same script it runs until it wants interaction with preference.rulerunits. How do I get it to quit doing this so I can run in batch mode? Any help is appreciated. HLower
    Script follows:
    // this script is another variation of the script addTimeStamp.js that is installed with PS7
    //Check if a document is open
    if ( documents.length > 0 )
    var originalRulerUnits = preferences.rulerUnits;
    preferences.rulerUnits = Units.INCHES;
    try
    var docRef = activeDocument;
    // Create a text layer at the front
    var myLayerRef = docRef.artLayers.add();
    myLayerRef.kind = LayerKind.TEXT;
    myLayerRef.name = "Filename";
    var myTextRef = myLayerRef.textItem;
    //Set your parameters below this line
    //If you wish to show the file extension, change the n to y in the line below, if not use n.
    var ShowExtension = "n";
    // Insert any text to appear before the filename, such as your name and copyright info between the quotes.
    //If you do not want extra text, delete between the quotes (but leave the quotes in).
    var TextBefore = "Lower© ";
    // Insert any text to appear after the filename between the quotes.
    //If you do not want extra text, delete between the quotes (but leave the quotes in).
    var TextAfter = " ";
    // Set font size in Points
    myTextRef.size = 10;
    //Set font - use GetFontName.jsx to get exact name
    myTextRef.font = "Arial";
    //Set text colour in RGB values
    var newColor = new SolidColor();
    newColor.rgb.red = 0;
    newColor.rgb.green = 0;
    newColor.rgb.blue = 0;
    myTextRef.color = newColor;
    // Set the position of the text - percentages from left first, then from top.
    myTextRef.position = new Array( 10, 99);
    // Set the Blend Mode of the Text Layer. The name must be in CAPITALS - ie change NORMAL to DIFFERENCE.
    myLayerRef.blendMode = BlendMode.NORMAL;
    // select opacity in percentage
    myLayerRef.opacity = 100;
    // The following code strips the extension and writes tha text layer. fname = file name only
    di=(docRef.name).indexOf(".");
    fname = (docRef.name).substr(0, di);
    //use extension if set
    if ( ShowExtension == "y" )
    fname = docRef.name
    myTextRef.contents = TextBefore + " " + fname + " " + TextAfter;
    catch( e )
    // An error occurred. Restore ruler units, then propagate the error back
    // to the user
    preferences.rulerUnits = originalRulerUnits;
    throw e;
    // Everything went Ok. Restore ruler units
    preferences.rulerUnits = originalRulerUnits;
    else
    alert( "You must have a document open to add the filename!" );

    you might want to try the scripting forum howard:
    http://www.adobeforums.com/webx?13@@.ef7f2cb

  • Problem with Javascript and opening a new page

    Hi,
    I'm developping a website with Java Server Faces.
    I've a problem with JavaScript.
    I have a table, and each row of that table, has a button, to display more information about that specific row. I want to display this information in a new window. For this I want to use JavaScript.
    The new window, of course, needs some information of the other window, to show the right data.
    The first time I click the 'more-information-button', it works perfectly, but from than on, he keeps showing the same information...
    Here is my jsp-page of the first page (the one with the table):
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page">
        <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <f:view>
             <f:loadBundle basename="languages.MessageBundle" var="bundle"/>
            <html>
                <head>
                    <meta content="no-cache" http-equiv="Cache-Control"/>
                    <meta content="no-cache" http-equiv="Pragma"/>
                    <title>- UCV-Period -</title>
                    <link href="resources/stylesheet.css" rel="stylesheet" type="text/css"/>
                </head>
                <body style="-rave-layout: grid">
                        <h:dataTable binding="#{UcvPeriod.dataTable1}" headerClass="list-header" id="dataTable1" rowClasses="list-row-even,list-row-odd" rows="5"
                            style="left: 24px; top: 168px; position: absolute" value="#{UcvPeriod.dataTable1Model}" var="currentRow">
                            <h:column binding="#{UcvPeriod.column1}" id="column1">
                                <h:outputText binding="#{UcvPeriod.outputUcvPeriod}" id="outputUcvPeriod" value="#{currentRow['UCVPERIOD']}"/>
                                <f:facet name="header">
                                    <h:outputText binding="#{UcvPeriod.outputText2}" id="outputText2" value="#{bundle.ucvPeriod_columnHeader_ucvPeriod}"/>
                                </f:facet>
                            </h:column>
                            <h:column binding="#{UcvPeriod.column11}" id="column11">
                                <h:commandButton action="#{UcvPeriod.btnDetails_action}" binding="#{UcvPeriod.btnDetails}" id="btnDetails" value="+" onclick="window.open('Details.jsp')"/>
                                <f:facet name="header">
                                    <h:outputText binding="#{UcvPeriod.outputText21}" id="outputText21" value=""/>
                                </f:facet>
                            </h:column>
                        </h:dataTable>
                    </h:form>
                </body>
            </html>
        </f:view>
    </jsp:root>Here is my action, when someone clicks on the 'more-information-button':
    public String bthnDetails_action() {
       Object s = outputUcvPeriod.getValue();
       BigDecimal ucvPeriod = (BigDecimal)outputUcvPeriod.getValue();
       this.getSessionBean().setUcvPeriod(new Integer(ucvPeriod.intValue());
       return "detail_ucvperiod";
    }Here is my constructor of the Detailspage.
        public Details() {
             this.txtUcvPeriod.setValue(this.getSessionBean().getUcvPeriod());
        }Here is the navigation part for this part of my faces-config.xml .
    <navigation-rule>
       <from-view-id>/UcvPeriod.jsp</from-view-id>
       <navigation-case>
           <from-outcome>detail_ucvperiod</from-outcome>
           <to-view-id>/UcvPeriod.jsp</to-view-id>
       </navigation-case>
    </navigation-rule>Thx a lot....
    Anneke

    See the tutorial "Sharing Data Between Two Pages" at http://devservices.sun.com/premium/jscreator/standard/learning/tutorials/data_sharing_twopages.html and the FAQ "How can I pass data between pages without creating SessionBean variables in Creator?" at http://devservices.sun.com/premium/jscreator/standard/reference/faqs/technical/javasource/passing_data.html. Since you can open a new window when your button is clicked, the tutorial and FAQ will explain ways to pass your data to the new window.

  • File sharing problems with my Media Player, an A C Ryan

    I have a media player, an A C Ryan, hooked up to my wifi at home and it normally accesses all my hard disks that is plugged and shared on my iMac. I had no problems when the iMac was on Snow Leopard. Under Network/Workgroup in the AC Ryan's menu, I can see and access all the files on the hard disks.
    The moment I upgraded to Lion, all such access was lost. The AC Ryan cannot connect to the hard disks any more via the wifi network. it's as though file sharing has stopped completely. I checked the file sharing settings on the iMac and nothing has changed i.e. the disks were shared as usual. After struggling with many possible solutions and failing (I checked out a lot of forums), I reintalled Snow Leopard and the problems were immediately solved.
    Is there something seriously wrong with Lion's file-sharing? Has this been fixed in 10.7.2? My friend who has a similar setup (his media player is the WD Live) has exactly the same file sharing problem with Lion.
    I would appreciate any feedback. Thanks!

    I believe that NTFS-3G has issues with Lion.
    I use Paragon NTFS and have had no issues at all. I am pretty sure that NTFS-3G will get updated, but you need to check their site to find out when.

  • JSF problems with Javascript

    Hi everyone!!
    The situation is this: I have a datable with one of its columns make an h:commanLink, which has two f:params, its actionListener is a function of a ManagedBean. This is JSF, not MyFaces. In IE, When the link is pressed, it shows a javascript error: " 'elements.idVar' is null or it's not an object ", however in Firefox, it works perfectly. I have been looking for the problem and it have to do with this:
    </form><a href="# onclick="clearFormHiddenParams_formResultado('formResultado');document.forms['formResultado'['formResultado:_idcl'].value='formResultado:dtTablaResultados:0:_id10';document.forms['formResultado']['idVar'].value='37';document.forms['formResultado']['idMun'].value='168'; document.forms['formResultado'].submit(); return false;"><span id="formResultado:dtTablaResultados:0:itColumna3" title="AREA COSECHADA EN CULTIVOS PERMANENTES">1,230</span></a></td>
    </tr>
    <tr class="standardTable_Row2">
    <td><span id="formResultado:dtTablaResultados:1:itColumna1" style="text-align:center;" title="C&oacute;digo Municipio">718</span></td>
    <td><a href="javascript:void(0)" onclick="javascript:window.opener.opener.showLink('SASAIMA')"><span id="formResultado:dtTablaResultados:1:itColumna2_l" title="Municipio">SASAIMA</span></a></td>
    <td><form id="formResultado:dtTablaResultados:1:_id9" method="post" action="/ConsultaEstadisticasGeo/resultadoConsulta.jsf" enctype="application/x-www-form-urlencoded">
    <input type="hidden" name="com.sun.faces.VIEW" id="com.sun.faces.VIEW" value="_id39:_id41" /><input type="hidden" name="formResultado:dtTablaResultados:1:_id9" value="formResultado:dtTablaResultados:1:_id9" /><input type="hidden" name="idVar" /><input type="hidden" name="idMun" /><input type="hidden" name="formResultado:_idcl" />
    <script type="text/javascript">
    <!--
    function clearFormHiddenParams_formResultado_dtTablaResultados_1__id9(curFormName) {
    var curForm = document.forms[curFormName];
    curForm.elements['idVar'].value = null;
    curForm.elements['idMun'].value = null;
    curForm.elements['formResultado:_idcl'].value = null;
    //-->
    </script>
    the way JSF manage the params. The error, acdording to the message shonw by IE is in this line: curForm.elements['idVar'].value = null;
    The code of the JSP is this:
    <h:commandLink     actionListener="#{consultaEstadisticasMB.detalleEstadistica}">
         <f:param name="idVar" value="#{consultaEstadisticasMB.idColumna3}" id="idVar" />
         <f:param name="idMun" value="#{registro[0]}" id="idMun" />
         <h:outputText title="#{consultaEstadisticasMB.columna3}" id="itColumna3" value="#{registro[2]}" />
    </h:commandLink>
    Waht can i do? (Not using MyFaces, because I can�t do that)
    Thanks for your answers!!

    I have run into this same problem with javascript and the colon. I am not sure if the colon is a valid character for a javascript identifier (one would think the RI developers would have checked it out though!?!).
    Anyway, my workaround is to search through the Javascript DOM for the widget you want to obtain a reference to, using part of its id. After all, you know its id, you just can't use it as a javascript reference. In your Javascript code, do something like:
        var inputWidgets = document.getElementsByTagName("input");
        var targetInput;
        for(var i = 0; i < inputWidgets.length; i++)
           var inputId = inputWidgets.id;
    if(inputId.indexOf("yourInputId") != -1)
    targetInput = inputWidgets[i];
    break;
    It's a lot of effort to just get a reference to a form widget....but it works (I pasted in the code and changed it a bit, so it might not work as is, but at least it demonstrates the idea).

  • Webcontrol problems with javascript

    Hello,
    the page I want to navigate making me problems in my webcontrol. The same page works fine if I go there manually with the Internet Explorer. I force webcontrol to use another IE version than default. I changed regedit >
    HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION
    and a new key for my application with value 2af8(11000)
    If I do not force this version the used version in the webcontrol seems to be to old.
    I think that my application does not use the settings of my IE because if I use IE manually it works.
    I used Google and I can not find a property to force the webcontrol to activate javascript - it seems that I have to change this by the "global" settings.
    Edit: I do not exactly know if its javascript. The error is a script error.
    It does not help to suppress this errors - the page is not working correctly

    Hello,
    in the meantime I tried GeckoFX to solve the issue, but I get another problem later so I come back to the native webcontrol. To get help I will translate the error message because I can not attach a screenshot
    "Scripterror
    URL: http://www.transerv2000.de/DesktopModules/SNITNET_Metrix/js/rma_main.js
    Do you want to continue? Yes / No"
    Because I see the .js I think that this is an issue because of javascript.
    If I navigate to this site and do some work I have no problems. This is why I think that the used IE in my webcontrol is having other settings?!
    Please help and thanks alot.
    Edit: If I supress javascript errors, I got not Messagebox but the content dont work - so I really think that it is a problem with javascript. As I said, if I use the IE as application the page works fine.

  • Problem with JavaScript snipet that DreamWeaver is writing

    I am having a problem with code that DreamWeaver (CS3) is
    writing. I'm fairly certain the problem is in a small piece of
    JavaScript that DreamWeaver is composing.
    This is a fairly complex problem, so bear with me.
    First - What I am trying to make happen: When on a page on my
    site (the-oilman.com) I want a link that opens a new window in the
    on-line store at a different site (AMSOIL.com). I need to leave
    both the page on my site open and have this 'store' page open.
    First of all this is working fine, using the 'Open Window'
    'behavior' in DreamWeaver. If someone wants to change windows (or
    tabs) and go back to my page, leaving the 'store' window open also
    - the problem is set up to happen. If from back at my site, you
    click on the same or a different link that goes back to the 'store'
    either on the same page or a different page at AMSOIL.com - the
    'store' window goes to the correct page, but the 'store' window
    does NOT come on top. When they click on a link to go back to the
    'store' I need the 'store' window to come to the top. If they have
    previously put something in the cart, and come back and add
    something else to the cart in the 'store' by coming in from
    different links on my site the 'store' is working correctly because
    I leave it open the whole time.
    snipets of code that DreamWeaver is writing for my site
    (the-oilman.com):
    from the head:
    <script>
    <!--
    CSAct[/*CMP*/ '129AABC1'] = new Array(CSOpenWindow,/*URL*/ '
    http://www.amsoil.com/redirect.cgi?zo=52257&page=store','store',0,0,true,true,true,true,tr ue,true,true);
    CSAct[/*CMP*/ '129AAC63'] = new Array(CSOpenWindow,/*URL*/ '
    http://www.amsoil.com/redirect.cgi?zo=52257&page=store','store',0,0,true,true,true,true,tr ue,true,true);
    CSAct[/*CMP*/ '10D39F40'] = new Array(CSOpenWindow,/*URL*/ '
    http://www.amsoil.com/redirect.cgi?zo=52257&page=storefront/sso','store',0,0,true,true,tru e,true,true,true,true);
    function MM_openBrWindow(theURL,winName,features) { //v2.0
    window.open(theURL,winName,features);
    //-->
    </script>
    code from 2 different links that is using this script:
    <a href="
    http://www.amsoil.com/redirect.cgi?zo=52257&page=storefront/sso"
    target="store" onClick="MM_openBrWindow('#','store','')"
    csclick="10D39F40">Buy Now</a>
    <a href="
    http://www.amsoil.com/redirect.cgi?zo=52257&page=store"
    title="AMSOIL Store at AMSOIL.com" target="store"
    onClick="MM_openBrWindow('http:www.amsoil.com/redirect.cgi?zo=52257&amp;page=store','stor e','')">On
    Line Store</a>
    I believe what I need is a longer javascript. Instead of just
    "window.open" I need an "if" but my javascript knowledge is very,
    very limited.
    I need it to first check that if the window named 'store' is
    open then 'focus' it, or if it is not open to open the window named
    'store'.
    Will this fix my problem? If so, please help me write the
    lines of code to do it.
    If this isn't the solution, what is the problem and the
    solution?
    A separate question but related: if you look in the two
    different links codes, in the function call one of them uses a
    'null' page reference and the other repeats the full link reference
    from the href= . Both seem to work, but which is the correct or the
    preferred syntax. My guess is there are some browsers that this
    will give a problem, but which way is preferred.
    Don Dawson
    mailto:[email protected]

    Create a new page. Try to apply this same behavior to a link
    on that new
    page. Look at the code. Can you reproduce the problem there?
    The code you
    show below has oodles of GL stuff in it. Do you need that GL
    markup?
    What operational sequence did you go through to get this
    behavior call?
    onClick="MM_openBrWindow('#','store','')"
    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
    ==================
    "pad graphics" <[email protected]> wrote in
    message
    news:[email protected]...
    >I am having a problem with code that DreamWeaver (CS3) is
    writing. I'm
    >fairly
    > certain the problem is in a small piece of JavaScript
    that DreamWeaver is
    > composing.
    >
    > This is a fairly complex problem, so bear with me.
    >
    > First - What I am trying to make happen: When on a page
    on my site
    > (the-oilman.com) I want a link that opens a new window
    in the on-line
    > store at
    > a different site (AMSOIL.com). I need to leave both the
    page on my site
    > open
    > and have this 'store' page open. First of all this is
    working fine, using
    > the
    > 'Open Window' 'behavior' in DreamWeaver. If someone
    wants to change
    > windows (or
    > tabs) and go back to my page, leaving the 'store' window
    open also - the
    > problem is set up to happen. If from back at my site,
    you click on the
    > same or
    > a different link that goes back to the 'store' either on
    the same page or
    > a
    > different page at AMSOIL.com - the 'store' window goes
    to the correct
    > page, but
    > the 'store' window does NOT come on top. When they click
    on a link to go
    > back
    > to the 'store' I need the 'store' window to come to the
    top. If they have
    > previously put something in the cart, and come back and
    add something else
    > to
    > the cart in the 'store' by coming in from different
    links on my site the
    > 'store' is working correctly because I leave it open the
    whole time.
    >
    > snipets of code that DreamWeaver is writing for my site
    (the-oilman.com):
    > from the head:
    > <script>
    > <!--
    > CSAct[/*CMP*/ '129AABC1'] = new
    Array(CSOpenWindow,/*URL*/
    > '
    http://www.amsoil.com/redirect.cgi?zo=52257&page=store','store',0,0,true,true,t
    > rue,true,true,true,true);
    > CSAct[/*CMP*/ '129AAC63'] = new
    Array(CSOpenWindow,/*URL*/
    > '
    http://www.amsoil.com/redirect.cgi?zo=52257&page=store','store',0,0,true,true,t
    > rue,true,true,true,true);
    > CSAct[/*CMP*/ '10D39F40'] = new
    Array(CSOpenWindow,/*URL*/
    > '
    http://www.amsoil.com/redirect.cgi?zo=52257&page=storefront/sso','store',0,0,tr
    > ue,true,true,true,true,true,true);
    > /
    > function MM_openBrWindow(theURL,winName,features) {
    //v2.0
    > window.open(theURL,winName,features);
    > }
    > //-->
    > </script>
    >
    > code from 2 different links that is using this script:
    > <a href="
    http://www.amsoil.com/redirect.cgi?zo=52257&page=storefront/sso"
    > target="store" onClick="MM_openBrWindow('#','store','')"
    > csclick="10D39F40">Buy
    > Now</a>
    > <a href="
    http://www.amsoil.com/redirect.cgi?zo=52257&page=store"
    > title="AMSOIL
    > Store at AMSOIL.com" target="store"
    >
    onClick="MM_openBrWindow('http:www.amsoil.com/redirect.cgi?zo=52257&amp;page=sto
    > re','store','')">On Line Store</a>
    >
    > I believe what I need is a longer javascript. Instead of
    just
    > "window.open" I
    > need an "if" but my javascript knowledge is very, very
    limited.
    > I need it to first check that if the window named
    'store' is open then
    > 'focus'
    > it, or if it is not open to open the window named
    'store'.
    > Will this fix my problem? If so, please help me write
    the lines of code to
    > do
    > it.
    > If this isn't the solution, what is the problem and the
    solution?
    >
    > A separate question but related: if you look in the two
    different links
    > codes,
    > in the function call one of them uses a 'null' page
    reference and the
    > other
    > repeats the full link reference from the href= . Both
    seem to work, but
    > which
    > is the correct or the preferred syntax. My guess is
    there are some
    > browsers
    > that this will give a problem, but which way is
    preferred.
    >
    > Don Dawson
    > mailto:[email protected]
    >

  • Problem with Javascript file downloaded

    Hi everyone
    Im totally new to downloading javascript files, and ive made
    a bad mistake when installing.
    I downloaded a javascript file called 'close window' to my
    desktop then installed it using the
    DW extension manager.
    I thought after it would be a good idea to put that file then
    into a javascripts behaviors folder in my program file for DW. Bad
    idea!
    When i loaded up DW8 again, i got lots of error messeges
    (which i can post if its any help) and now i cant use any
    javascripts.
    Ive deinstalled the program and reinstalled the program many
    times. Ive tried deleting all my personal files i created as well,
    the reinstalling DW*
    still the same messeges come up, ive been battling with this
    for 3 hours now, please someone help!!
    thanks

    Try uninstalling using this TechNote:
    Uninstalling Studio 8 applications on Windows
    http://www.adobe.com/go/4e7826b7
    You could also try this TechNote:
    Troubleshooting JavaScript errors in Dreamweaver
    http://www.adobe.com/go/19105
    Hope this helps,
    David Alcala
    Adobe Product Support

  • Premiere Pro CS5: please help problem with importing a file error output "there was an error decompressing audio or video"

    please help problem with importing a file error output "there was an error decompressing audio or video"

    this is related to what adobe program/version?

Maybe you are looking for