How to prevent the insertion of rollover code when using a template

Hi there
I am designing a site in Dreamweaver using templates. These templates use rollover images. The code that DW uses for the rollover I have abstracted out into a separate javascript file, which is linked to in the header. Further, I am using window.onload() to call the preloader instead of the <body> onload event. All this works fine.
The problem is that every time I make a change to the template, DW re-inserts the rollover code into the head of the HTML file, and reinserts the preloader code into the <body> tag.
Now, I have found a solution to the <body> tag problem by changing the preload flag from 1 to 0 in the link created; it seems that DW uses this flag as in indication of whether to insert the onload code into the boday tag.  So that part is fixed.
But I can't find any way to keep DW from inserting the unecessary and redundant rollover code into the head of the generated HTML files.  Is there a way I can prevent this from happening?
...Mike  

Just don't externalize your js until the very last step before publishing.
You can let the dev team know about this here -
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

Similar Messages

  • [svn:fx-trunk] 10545: Make DataGrid smarter about when and how to calculate the modulefactory for its renderers when using embedded fonts

    Revision: 10545
    Author:   [email protected]
    Date:     2009-09-23 13:33:21 -0700 (Wed, 23 Sep 2009)
    Log Message:
    Make DataGrid smarter about when and how to calculate the modulefactory for its renderers when using embedded fonts
    QE Notes: 2 Mustella tests fail:
    components/DataGrid/DataGrid_HaloSkin/Properties/datagrid_properties_columns_halo datagrid_properties_columns_increase0to1_halo
    components/DataGrid/DataGrid_SparkSkin/Properties/datagrid_properties_columns datagrid_properties_columns_increase0to1
    These fixes get us to measure the embedded fonts correctly when going from 0 columns to a set of columns so rowHeight will be different (and better) in those scenarios
    Doc Notes: None
    Bugs: SDK-15241
    Reviewer: Darrell
    API Change: No
    Is noteworthy for integration: No
    tests: checkintests mustella/browser/DataGrid
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-15241
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridBase .as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColu mn.as

    Hi Matthias,
    Sorry, if this reply seems like a products plug (which it is), but this is really how we solve this software engineering challenge at JKI...
    At JKI, we create VI Packages (which are basically installers for LabVIEW instrument drivers and toolkits) of our reusable code (using the package building capabilities of VIPM Professional).  We keep a VI Package Configuration file (that includes a copy of the actual packages) in each of our project folders (and check it into source code control just as we do for all our project files).  We also use VIPM Enterprise to distribute new VI Packages over the network.
    Also, as others have mentioned, we use the JKI TortoiseSVN Tool to make it easy to use TortoiseSVN directly from LabVIEW.
    Please feel free to contact JKI if you have any specific questions about these products.
    Thanks,
    -Jim 

  • How to retain the java applet generated code when back button is pressed!!

    I've a jsp page in which i've wirtten the code which specifies the word which i write in the text box, then through the applet i'm showing the word which is written in the text box. It means my applet is running and it show the words which i've written in the text box. Now when i click on submit it goes to the next page and when i click on browser's back button then except the applet generated code everyone retains its values. Is there any way to find it out when it encounter the back button click then applet should be restarted. so in this way without writing the whole application form and in the applet generated code i can submit it again.
    My question is how do i reatin the applet generated code when a click button is being pressed (b'coz for the textbox, textareas everything retains it)
    any suggestions or guidance are most welcome.
    thanks in advance....

    you don't need to navigate explicitly. Just clear the back stack till your specific page and say goback. below is the  code you can use.
     protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e)
                        e.cancel=true;
                    RemoveBackStackTillSpecificPage("page2.xaml");
                    GoBack();
    public static void RemoveBackStackTillSpecificPage(string pageName)
    PhoneApplicationFrame frame = Application.Current.RootVisual as PhoneApplicationFrame;
    var previousPage = frame.BackStack.FirstOrDefault();
    if (previousPage != null && previousPage.Source != null)
                    while (!previousPage.Source.ToString().Contains(pageName))
                        frame.RemoveBackEntry();
                        previousPage = frame.BackStack.FirstOrDefault();
            public static void GoBack()
                PhoneApplicationFrame frame = Application.Current.RootVisual as PhoneApplicationFrame;
                LastPageUri = frame.Source;
                frame.GoBack();
    Please mark this as answer if this answers your question
    Purushothama V S

  • How to get the addition DML Error information when using PL/SQL?

    Given the following statements:
    drop table bob;
    create table bob
    col1 number(6,2),
    col2 number(6,2) not null
    insert into bob(col1, col2) values (123.12, null);
    insert into bob(col1, col2) values (123.12, 12345.12);
    commit;
    I get different behavior from Oracle error messages.
    Here is the sample output:
    Table dropped.
    Table created.
    insert into bob(col1, col2) values (123.12, null)
    ERROR at line 1:
    ORA-01400: cannot insert NULL into ("BOB"."COL2")
    insert into bob(col1, col2) values (123.12, 12345.12)
    ERROR at line 1:
    ORA-01438: value larger than specified precision allows for this column
    Commit complete.
    Note that in the first error (1400) the generated error message contains the name of the problematic column ("BOB"."COL2"). Also note that in the regurgitated statement the error pointer (*) is at the far left. In this case, the regurgitated statement is of no use to me because the error message identifies the culprit column.
    However, in the second error (1438) the generated error message is very generic and does NOT indicate the problematic column. In addition, in this case the error pointer (*) of the regurgitated statement has moved to point to the troublesome column. In this case, I must use BOTH the error message and the regurgitated statement to completely understand the problem.
    This difference in how error messages are constructed causes difficulty within PL/SQL. If PL/SQL happens to generate a 1400 error message, then simply capturing the error message and giving it to the user provides enough information for him/her to solve the problem. However, if a 1438 error is generated then the resulting error message has insufficient information for the user to pursue the problem.
    So my question is, within PL/SQL do you know how to get your hands on Oracle's regurgitated statements so that they can be presented to the user to assisted him/her in problem resolution?
    Thanks.

    I don't think it's that easy. Notice that if you put the insert into an actual pl/sql block, you don't get the correct column pointer anymore.
    BEGIN insert into bob(col1, col2) values (123.12, 12345.12); END;
    ERROR at line 1:
    ORA-01438: value larger than specified precision allows for this column
    ORA-06512: at line 1
    Richard

  • How to set the margin of a jtextfield when using standard lineborder

    Hi,
    I want to give my jtextfield a custom inset. The problem is that I also use a lineborder which controls the inset, thus when I try to the setMargin method, it doesn't work.
    Can anyone tell me how to do this?
    Much thanks
    Hugo Hendriks

    hello,
    try to use a compoundborder and add the lineborder and an emptyborder to it. by setting the emptyborders insets you can control the jtextpanes insets.
    i hope that one works =)
    bye

  • How to format the output of Today() ⨍(x)  when used in a formula

    This table should explain what I'm asking to do. Have the Wed, Nov 2, 2011 applied to a date when I use the Today() function. Without the workaround of refernencing another cell to pickup formatting like I do in the final row.
    Formula
    Cell Format
    Result
    =CONCATENATE("Today is ",TODAY())"
    Date: Mon,Jan 5, 2009 Time: None
    Today is 02/11/2011
    =TODAY()
    Date: Mon,Jan 5, 2009 Time: None
    Wed, Nov 2, 2011
    = CONCATENATE("Today is ",C3)
    Date: Mon,Jan 5, 2009 Time: None
    Today is Wed, Nov 2, 2011

    Hi Barry
    I just discover this thread.
    The main problem here is that as we aren't allowed to define the format used by TODAY() in the described formula, we have to use a formula which is localization dependant which is really annoying.
    For my own use, I will just use two columns :
    In the first one the formula would be :
    =IF(MID(""&1/2,2,1)=".","Nous sommes le","Today is")
    In the second one it would be :
    =TODAY()
    The vertical border between the two columns is set to white.
    But I think that the most efficient answer would be that Apple give us the ability to pass a parameter to TODAY() and/or NOW().
    This parameter would define the format which would remain the current one when the parameter is omitted.
    Yvan KOENIG (VALLAURIS, France)  07 /11 /2011 17:38:15
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • How to prevent the logo from cutting off when making a pdf from a powerpoint presentation.

    The descender of the "g" cuts off a bit on the pdf, although it's fine on the ppt doc. Any suggestions on how to correct this? Thanks.

    Might be better to post this in the Acrobat or Indesign forums.

  • How to prevent the printed page from displaying when printing to pdf

    I have Acrobat 7.0 Pro running on XP Pro. Immediately after I print an Excel, Word or text file to pdf, the pdf output automatically opens on my screen. Is there a way to turn this off? Thanks!

    Turn off the viewing option in printer properties.

  • How do I prevent the volume from increasing automatically when using headphones?

    When I listen to music on iTunes or Pandora (on Chrome browser) through the Apple earbuds, or the Samsung ones that come with Galaxy phones, the volume starts increasing on its own after a short while. Sometimes it takes 5 minutes for this to happen, other times 45 minutes. I'll be alerted that the volume is in
    I have a MacBook Pro (Retina, 15-inch, Mid 2014) running an 2.5 GHz Intel Core i7 with 16 GB of RAM (Standard Configuration) on OSX Yosemite 10.10.3

    OGELTHORPE,
    Thank you for the suggestion. I tried resetting the NVRAM, but the issue persists. I'll keep a close watch on what I'm doing when it happens to see if I can pinpoint the cause.
    Thanks!

  • How to prevent large blank spaces on webpage when using Slide Behaviors?

    I searched the forums for similar problems with applying the Slide Behaviour to elements through the DW CS5 interface and found a useful post titled "Problem with Applying Spry "Slide Effect" so now my slide effects works the way I want, except instead of sliding out a caption after clicking on an image, I slide out a list of text items when clicking on a section of text.  This works, but there is a large gap when the webpage first loads. How can I remove/prevent this large white space from appearing?
    <!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">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Testing Document</title>
    <!--<script type="text/javascript" src="../SpryAssets/SpryEffects.js"></script>-->
    <script src="SpryAssets/SpryEffects.js" type="text/javascript"></script>
    <script type="text/javascript">
    function MM_effectSlide(targetElement, duration, from, to, toggle)
              Spry.Effect.DoSlide(targetElement, {duration: duration, from: from, to: to, toggle: toggle});
    </script>
    </head>
    <body>
    <p> </p>
    <p> </p>
    <style type="text/css">
    #LOdiv{ visibility: hidden;}
    #Countries{ visibility: hidden;}
    </style>
    <p> </p>
    <p> </p>
    <div id="ListOne" onclick="MM_effectSlide('LOdiv', 1000, '0%', '100%', true)">
    <p><strong>Drop Down List One            + show      </strong></p>
    </div>
        <div id="LOdiv">
        <div>
          -  Item A<br/>
          -  Item B<br />
          -  Item C<br />
          -  Item D<br />
          -  Item E<br />
          -  Item F<br />
          -  Item G<br />
          -  Item H<br />
          -  Item I</div>
    </div>
    </div>
    <div id="ListTwo" onclick="MM_effectSlide('Countries', 1000, '0%', '100%', true)">
    <p><strong >List Two            + show </strong></p>
    </div>
    <div id="Countries">
              <div>
                   -  USA<br/>
          -  Germany<br />
          -  France<br />
          -  Italy<br />
          -  Japan<br />
          -  China<br />  
      </div>
    </div>
    <span style=' width:990px; height:21px'><img width=990 height=21
    src="image386.gif">
    </span>
    </body>
    </html>

    The link to the html code can be found at:
    https://docs.google.com/leaf?id=0B_S-KEeOr-KhNzQwYzQ5MWQtNTVhYy00OTg1LWJjYTQtODIzOWUwM2ExM 2Yx&hl=en_US
    but it needs to access the link SpryAssets/SpryEffects.js   (from DW)
    When you open it in a browser you will see a large gap between the two lines:
    "Drop Down List One  +show"  and
    "Drop Down List Two + show"
    clicking the mouse on "Drop Down List One  +show" causes a hidden element to drop down. re-clicking causes it to shrink, and thus removing the large blank space between. I  don't know how to initially present the two lines without the large initial blank gap between them.
    I tried previewing in  Chrome, Firefox, and IE - all look the same.
    Thanks.

  • How to prevent creation of view object rows when using browser refresh butt

    HI i have the following problem:
    I have a creation form using a partial submition. The problem is that if i have entered some value by using autosubmit , this value will be setted as attribute in the ViewObject . After that if i click refresh button of the browser then the new Row of the view object will be created and i will have a pending row with setted attribute. So if execute commit then the both rows will be tried to commit. How can i prevent this?
    Krasi

    Hi,
    If i've understood you have a invokeAction that create a new row, right? If yes put on condition that it invokeAction won't invoke if is a postback.
    Let me know if i miss understand your doubt.
    Best Regards

  • Help! The new Pages. I can't copy an entire page or rearrange the pages. In the new formatt also when I insert a new page when using a template it doesn't give me the formatting and guides.  Can anyone help.

    I can't copy an entire page or rearrange the pages. I use this feature a lot, particularly at this time of year. Can't seen to rmove the header and footer markers either.
    Can anyone help or do I need to revert back to pages 09?
    If I do re-install 09 will I be able to open the files that where converted to the new version?
    I don't like this new one. Many of the graphics features have been removed.  Not impressed at all. Very frustrated.
    The business card templates and others behave strangly.  If I insert a page it's blank only. I don't get the guides.  I was in the middle of a design project and had to start again from scratch as it threw everything out of alignment  and I can't copy an entire page. When I use select all, group then copy when I pasted it on the new page it overlayed all the cards in the top two segments.  Frustrating !  I ended up  saving my first page under a different name that was the only way to copy the page then I had to work between three documents instead of one.
    I went in today to last years Christmas tag file and the same issues I can't copy a page. I can't rearrange the pages.
    Simple features like colour choice and transperency for shapes are gone. I want to use my colour choices not someone else.
    Sorry, I am ranting.
    For now all I need is to be able to copy and switch pages around in one document.
    Please Help! I am about to start pulling my hair out in frustration.

        Yes, I am using 09 with out issues.  Just have to remember to use "open with 09" or open pages 09 first then my document.
      I create some amazing cards and posters with 09 that when on a PC I would have to use both Word and Publisher to create.  Flipping back and forth. 
      Apple if you're  listening please, give us back our layout options and even add a few more design options like beveled and 3D text.

  • How to lower the brightness of my iMac, when used as external display for my MacBook Pro?

    The keyboard brightness controlls of the iMac do not work. The keyboard brightness controlls of the MacBook only controll the MacBook. Same goes for the display set up of the MacBook, I can change the MacBooks brightness there but not the one of the secondary screen.
    I am working in a pretty dark room and that iMac 27 is at full bightness. Gives me a headache. Please help.
    Thanks

    Right, it shoulld work if Mid 2011 & up, might it be a bad TB cable?
    Here's how it's supposed to work...
    http://support.apple.com/kb/HT3924
    The mid 2011s & up need Thunderbolt...
    http://support.apple.com/kb/TS3775

  • How to prevent the code viewing of jsp files

    hello friends
    How to prevent the code viewing on directly opening .jsp files at the server side
    Thanks in advance

    hello friends
    How to prevent the code viewing on directly opening
    .jsp files at the server side
    Thanks in advanceWhat exactly do you mean by code viewing? If by that you mean you don't want all the folders to show in the directory create a index.jsp file that has all the links to the pages you want to show
    If you mean something else please clarify

  • How to prevent the transaction code

    Hi
    I want to remove the common transaction code like /n,/o and /nex for particular user.
    Is there any SAP standard role availble or how to prevent the authurization for the above client independed
    transaction code.
    Regards,
    Jayakumar

    Hi,
    I want to know why you need to restrict these features when there is no harm.
    These are not transactions. They are extra features in SAP.
    /nT-code --- takes you to the new T-code by ending the previous T-code.
    /oT-code -
    creates a new session with the given T-code.
    /nex -
    ends the session.
    Rgds
    Suman

Maybe you are looking for

  • Notes added to contact on iPhone don't make it to computer

    Hi all, If I create a new contact on my iPhone, and add a note field, any notes I put there will show upon the contact's card in my Address Book the very next time I sync. Any notes I add to the contact on the computer sync over to the phone no probl

  • USB Device Not Recognized when direct to computer, works through hub

    I have a rather bizarre problem (which I've already written about on Tom's Hardware) regarding my Samsung Galaxy S III phone and my ThinkPad T440p. At first I thought it was just a driver issue, but now it seems to be more hardware-related. As I expl

  • GarageBand - missing loops

    I just started a new song and looked for the drum track loops. They seem to have disappeared. They used to be there. All I see now are a few real instrument loops. Software loops are not displayed in the loop browser. I removed the loop filter as sug

  • Allocation script error

    We need to allocate $100 from Selling, Distribution etc. (Lvl 0 members of Function dim) into Product-Channel combination, say in 40% and 60% for Jan. The users input these percentages in data forms, which can vary for each month. The $100 is in Sell

  • New Address Book contacts insert leading space into Notes field

    When I create a new contact from scratch in Address Book (4.1) the Notes field at the bottom contains leading spaces / tabs. (I can't tell which). This means that information I type in at the bottom looks unusually formatted. This behaviour (I seem t