Commenting Out Library Code

When a Library item is inserted into an html document, it automatically adds some commenting out code
<!-- #BeginLibraryItem "/Library/footer.lbi" -->
<!-- #EndLibraryItem -->
but still appears in Design View (which is expected). There are times when I don't want the actual Library item (a footer in this case) to be visible in Design View, and simply applying an html comment doesn't work (I assume because you are basically trying to double comment the code). So the question is: is there another way to temporarily hide a library item from appearing in Design View? The reason I'm asking this (and maybe there is another underlying issue) is because looking in Design View, the footer appears in the middle of hte page, but renders properly when previewing in either Live Mode or previewing in browser.
Design View: the red outline shows where the library item (footer) appears - in the middle of the design view area - worth noting, I work in Split view (with code on top, preview on bottom), so maybe that has something to do with not rendering items properly on screen?
Live View or Browser Preview:
I don't know if this is happening because of CSS styles of possibly some html code or maybe even an underlying issue somewhere else. This is more irritating than anything else. Does anyone have a clue what might be going on?
To add: the only way I am currently able to temporarily hide the footer library item is to open the library item, comment out that code, then update all pages (which is a pain for when I need to go back and forth)...

If this helps, I've uploaded what I think is enough to see what I'm facing.
As an FYI, your page content falls out of the box when end-users increase default text-size in their browsers (Firefox, View >  Zoom > Zoom Text Only), hit Ctrl+++.
See screenshot below where I've highlighted dark text on dark background to be visible:
Height: value in pixels is a restriction in all browsers except IE.  If needed to reveal a background image, use values in ems or the min-height property with Conditional Comments for pre-IE7 browsers.
CSS:
#homeContent {
    position: relative;
    width: 892px;
   min-height:400px;
Conditional Comment:
<!--[if lt IE 7]>
<style type="text/css">
#homeContent {
height: 25em
</style>
<![endif]-->
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media  Specialists 
http://alt-web.com/
http://twitter.com/altweb

Similar Messages

  • Comment out code in Update Rule

    Hello,
    Quick question.
    How do I comment out code in the update rule?  I need to comment out a large amount of code for testing purposes.
    Thanks,
    Sheila

    Hi Sheila
    Go to Update rule code (routine) ->> select the code you want to comment out with mouse ->> then go to top menu Utilities -> Block/Buffer-> Insert Comment *
    This will comment out the code that you had selected.
    Regards
    Pradip
    (don't forget points)

  • Openoffice excel macros are commented out

    Hello,
    I have a problem with  openoffice.org: it comments out macro code from excel worksheets.
    The same macro code worked fine in openoffice in ubuntu, it also worked in excel.
    So far, I was unable to find anyting in google and the forums, so I'm posting this here (my first post!).
    Screenshot:
    Any help or comments are appreciated. Thanks!
    Last edited by fede (2007-07-08 15:06:55)

    Re 'incorporating' - I just meant that your script should open the workbook that contains the macros as well.
    What happens if you restructure like this?  (If it doesn't work, you'll need to say which line it fails on.  It would also be helpful to see the macro - or at least to have an overview of what it is doing.)
    tell application "Microsoft Excel"
    open "Hard Disk:Users:username:Documents:BatchProcess:Optimizer.xlsx"
      tell active workbook
      activate object worksheet "Optimizer.csv"
      end tell
    run VB macro "'Personal Macro Workbook'!HV_PaintChanges"
    end tell

  • [svn:fx-trunk] 10065: Comment out code causing an RTE in SWFLoader.

    Revision: 10065
    Author:   [email protected]
    Date:     2009-09-08 13:14:26 -0700 (Tue, 08 Sep 2009)
    Log Message:
    Comment out code causing an RTE in SWFLoader. Will fix as part of per-module styles feature development.
    QE notes: None.
    Doc notes: None.
    Bugs: SDK-23081
    Reviewer:
    Tests run: checkintests
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-23081
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as

    Hello, first post here..
    I maintain a java based lobby for an opensource RTS
    engine called spring at http://taspring.clan-sy.com
    You can find my lobbys source code at:
    https://taspring.clan-sy.com/svn/spring/trunk/AFLobby/
    Of note being the unitsync.dll/so library used to
    handle mods and maps. Implementing this library in
    pure java is not an option.
    I've dealt with quite a few JNi errors dealing with
    the linux users but we got through them all and it
    all worked great.
    I released a windows installer, and most users can
    run it fine with no issues with JNI, but 2 users seem
    to have problems, despite correctly installing
    everything.Does the JNI code use perl?
    This error message shows several hits on Google for perl related stuff.

  • Commenting out code in TrueCode mode deletes code

    We used RoboHelp X3 and was trying to comment out specific
    sections of a code by moving over to the True Code view and
    commenting them out following the usual HTML standards/conventions.
    However, we found that when we saved the project, generated the
    file, and opened the topic(s) from the source project next time,
    the sections that we had commented out had actually got deleted.
    Could you please help me with this? Is there a specific way to
    comment out code in RoboHelp?

    (I began the earlier reply before I knew what I wanted to
    say).
    Is it possible that when those particular lines are commented
    out, the result is a syntax error in the remaining html or js code?
    Also, consider that html and js code techniques have come a
    long way since X3. Maybe your code is technically correct now, but
    X3 doesn't know it.
    Good luck.
    Harvey

  • Can i comment out lines of code in a .sql script file to be run in SQL PLUS

    Hi All,
    I have commented out part of the script, and when i ran the script (.sql) file in Sql*Plus
    I am getting some errors like
    SP2-0734: unknown command beginning
    how to avoid these errors?
    any help is appreciated
    Thanks
    R.R

    >
    select * from dual; -- me too!Nope, not this one...
    test@ORA10G>
    test@ORA10G> host type c:\test.sql
    select * from dual; -- me too!
    test@ORA10G>
    test@ORA10G> -- doesn't work
    test@ORA10G>
    test@ORA10G> @c:\test.sql
      2
    test@ORA10G>
    test@ORA10G> @c:\test.sql
      2  /
    select * from dual; -- me too!
    ERROR at line 1:
    ORA-00911: invalid character
    test@ORA10G>
    test@ORA10G> -- now this works...
    test@ORA10G> host type c:\test.sql
    select * from dual -- me too!
    test@ORA10G>
    test@ORA10G> @c:\test.sql
    D
    X
    test@ORA10G>
    test@ORA10G> -- and so does this...
    test@ORA10G> host type c:\test.sql
    select * from dual -- me too!
    test@ORA10G>
    test@ORA10G> @c:\test.sql
    D
    X
    test@ORA10G>
    test@ORA10G>pratz

  • How to delete the commented out lines in PC editor of a SAP Script?

    Hi Experts,
    I hv lot of commentde out code in the PC editor of a my_SAP_Script.........so, wanna to delete all this commented out code, so, let me know that, Do we hv any option other than manual deletion.
    Currently am doing it by,
    keeping the line totally blank,
    keeping the left small box, where we define paragraph formts,
    going BACK,
    save + activating,
    now, those lines r disappearing!!
    but, let me know, Is there any other MENU/push button optin to delete these lines?
    replies appreciatesd,
    thanq

    [pc editor doc|http://help.sap.com/saphelp_nw2004s/helpdata/en/f4/b49f1b453611d189710000e8322d00/frameset.htm]

  • Comment out actions in side proxy services in osb

    Do any body know how to comment out certain actions in proxy service in OSB?
    For eg: I have assign, insert, assign, ..route....
    I want to comment out second assign but don't want to delete it, since i might need it later. Can I manipulate the generated code to comment?

    What I meant is that I tried it with a very simple pipeline, a pipeline with one stage and one action. I added the comment tags around that action and it "disappeared" from my pipeline. Later I removed the comment tags and my action was there again.
    But it could get complicated with a pipeline with many stages and actions (that's what I meant by complex). There could be dependencies between the actions (in one you create a variable that you use later in another action), etc.
    I assume you're working directly on the web console. The files are stored in your server's file system but I really advise you against modifying these files directly.
    With your installation of OSB you have an Eclipse (Workshop) with plug-ins for the OSB. You can export your project from the web console and import it into eclipse. You can work on eclipse and then publish your changes to the server.
    There in eclipse you have your files in your file system and you can open them in your favourite text/xml editor. Or inside eclipse you can just right click on the proxy service and choose "open with -> text editor".

  • Wb_rt_mapaudit_util register_custom_param call commented out in gen'd sql

    Using OWB 10.2.0.3.33.
    In the OWB client if I right mouse on a map and Generate..., then choose the Script tab, then select the script, then Save As...
    it results in a generated script for the map which has the call to wb_rt_mapaudit_util.register_custom_param commented out as seen here (where DATAMART_SEQ is my custom param):
    -- register custom input parameters:
    -- Temp fix until selective registration ensures correct handling of complex types
    -- wb_rt_mapaudit_util.register_custom_param(x_audit_id,
    -- '"DATAMART_SEQ"',
    -- TO_CHAR("DATAMART_SEQ"));
    Does anyone know how to make this not be commented out?
    If I execute that script to define the map, then run the map using the Main procedure in the package {MAPNAME.Main(p_status, p_datamartseq);} it runs but the impact of having it commented is that it leaves the VALUE field of the ALL_RT_AUDIT_EXECUTION_PARAMS table null for the custom param.
    If I run the map using wb_rt_api_exec.run_task, then OWB correctly stores the custom param value in the ALL_RT_AUDIT_EXECUTION_PARAMS table. You can see the two types of runs here, notice the null is the problem caused by the commented out code (if I uncomment it it works -- but for dozens of maps it would be easier if it was generated that way):
    select execution_audit_id,PARAMETER_NAME,PARAMETER_TYPE,VALUE_KIND,nvl(value,'NULL') from ALL_RT_AUDIT_EXECUTION_PARAMS where execution_audit_id in (64908,64859) and parameter_kind='CUSTOM'
    EXECUTION_AUDIT_ID     PARAMETER_NAME     PARAMETER_TYPE     VALUE_KIND     NVL(VALUE,'NULL')
    64859     DATAMART_SEQ     NUMBER     INPUT_VALUE     2000
    64908     DATAMART_SEQ     NUMBER     INPUT_VALUE     NULL

    Hi,
    you used undocumented OWB API and Oracle tech.support or development can explain what is wrong with this code.
    There is exist legal way running OWB mappings/processflow since OWB10gR2 ([url http://download.oracle.com/docs/cd/E11882_01/owb.112/e10935/scheduling_etl.htm#CIHJBCCA]RUN_TASK function from WB_RT_API_EXEC package). Why you didn't use this function?
    Regards,
    Oleg

  • Comment out some sections of Labview programs during debuging

    In other programming such as VC or VB, we can always comment out some sections of our program so that the commented section are not executed during debuging. Is there any way to comment out some sections of Labview program during debugging?

    YanWong wrote:
    You can use a case structure to surround the section of the program you do not want to execute and then wire a false constant into the input so the case will never execute.
    Also remember that doing this will only work if the code you "commenting" out must be executable. A broken run arrow will still be there after you put it in the Case Structure. If you are trying to comment out some broken code, you're out of luck, at least now.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • Reference to library code

    Hi all.
    I am using the new Sunstudio. It works great!
    I would like put the cursor on an identifier, press the control key, and go to the declaration of that identifier. I can do that, within my own application. But I would also like to follow the reference out to library code.
    In an attempt, I created a project for one of the libraries involved. I could follow a link within the library, but not to the library from my application. Following the help page "Creating Dependencies Between Projects," I tried to link the two projects together, but my Project Properties dialog has no linker node.
    This is probably because my projects use established makefiles, and doesn't let the studio create the makefiles.
    Is there some way to tell the IDE to check another project to resolve names?
    Thanks,
    Rick

    Rick,
    If your project is created as "Project from existent code", then you can do the following: go to project properties -> "Code Assistance" -> "C++ Compiler" (or "C Compiler") -> "General" and set correct Include Directories.
    You can also set this property for individual files or folders if this is more appropriate.
    There is also an automatic way of configuring all this stuff via "Configure Code Assistance" menu item (in Project Explorer context menu). To use it, you should build your project with debug information (for Sun Studio compilers just -g option is sufficient, for GNU compilers you'll need -g3 -gdwarf-2).

  • SAPMF06P: Commented out in SAP release 700...

    Question: We are currently using this print program in 46C, but are upgrading to SAP ECC 6.0 (MySAP ERP 2005).
    For some reason, the code in the includes in this subroutine pool are all commented out.
    Has anyone encountered this before, and how did you solve i? Did you change the standard to activate the code ordid you copy the code to the enhancement-points? Or is there a new print program for it? Or a different solution?
    Thanks for your input,
    Edwin.

    Hi
    This  program is not available in my system  but SAPFM06P is there available
    Check the new drivers programs in ECC
    there are new driver programs for smartforms and  look for OSS Notes also
    Regards
    Shiva

  • How to find out company code from a plant ?

    Hello friends,
    I have to modify a program that uses FM "BAPI_COMPANYCODE_GET_PERIOD".   For that, we have to export company code ID.  Currently it is hard coded with one company code.  Now we want to make this program usable by all company codes.  So instead of hard coding, I would like to dynamically find out company code based on the plant.   So I want to know - how to find out company code from a plant ?  Is there any table that has plant to company-code assignment data, or any other FM/BAPI to get this info ?
    Thanks,
    - Chetan

    hi
    u can find this from table T001K
    or just goto EC01
    here click on STRUCTURE>NAVIGATION
    double click on co code u will get the list
    u can slo try this in EC02
    regards
    kunal

  • Script or command line to comment out multiple lines in flat files

    I am looking for a way to go through multiple flat files within the same directory for the occurance of a server name and if found to insert a comment (#) at the beginning of the line. Currently, I am grepping for the server name within the directory and then doing a vi on each individual flat file to comment out the line. The server name is separated by the pipe (|) symbol and each line of every file is in this format:
    webservers:WEBSERVER|Env Name|servername|application name
    So, in the above, I am grepping for the servername part and if found in there, I want to change the line to:
    #webservers:WEBSERVER|Env Name|servername|application name
    I would think there would be a way of doing this either with command line Perl or with maybe awk or sed. Any suggestions would be greatly appreciated.

    You could do something like this with a ksh shell script:
    #!/usr/bin/ksh
    for file in `ls`; do
            echo $file
            sed 's/^webserver/#webserver/g' $file > $file.parsed; mv $file.parsed $file
    doneThis will go through everyfile in the directory and search for "start of line" webserver and replace it with "#webserver". Then the file will get move back to the original file name.
    If you just want to change certain files ie. only filenames with the word "server" in it, then change:
    for file in `ls`; do to something like
    for file in `ls *server*`; doHope this help...
    Cheers
    pdaemon

  • How do I get labview for linux to send out ascii code to a motion controller?

    I have posted part of this problem but I will now try to clearify things. I have an x-y stage that needs motion control. I have to run the motion controller from within a linux system (RedHat 7.1) due to others in the research area. I have found a motion controller card (PCI) that will run under linux. This card is not National Instruments. I understand that they do not have drivers for their controller cards. This other card comes with the companies own software that uses ASCII codes to move the motors on the stage. I was hoping to create a program that could call those ASCII codes to move the stage. An example would be if a user wanted to have the stage move to the right he would press a b
    utton on the screen instead of typing in whatever ASCII could that move to the right happens to be. How would I go about programming something like this? I have heard of others doing things like this but I am unsure of how to program labview to send out ASCII codes to a PCI card to move motors.

    > would I go about programming something like this? I have heard of
    > others doing things like this but I am unsure of how to program
    > labview to send out ASCII codes to a PCI card to move motors.
    Look in the manual to see get familiar with the sequences of codes you
    need to write, and more importantly, where you write them to. I suspect
    a memory location, but it could be a socket or port.
    Each of these locations will have a slightly different way of accessing
    it. Once you know, search devzone for how to do it on linux, or post
    back here.
    After you can send the codes to the right location, you probably want to
    build a state machine that simplifies the interface and prevents certain
    actions from taking place. Now determine which buttons or
    keys perform
    which actions and use either the event structure or the older polling
    for control changes to affect state changes in the state machine.
    I'm summarizing here assuming that you know what a state machine is and
    why you'd want to use it. If I'm assuming too much, do some research
    and post again with more specific questions. Also be sure to look at
    example VIs as they show how to respond to UI actions.
    Greg McKaskle

Maybe you are looking for

  • Windows Phone 8 Can't Update listbox item in XML file after using hardware back button?

    Hi All i have a list box and i am saving list box selected item in XML file thats working fine but the problem is that when i will close my app and reopen and add more value to list box my previous value is removed form the xml file and listbox also

  • Mail Messages with no content

    I've just starting experiencing problems in Apple Mail. It's not every message that's affected, but I get emails that display in Mail with: 'This message has no content'. I know that there is content, but I'm unable to see it. These have been from pe

  • Aggregate device: BIG PROBLEM with mbox(digidesign)

    i must admit, meanwhile i am truly desperate... MAYBE ONE OF YOU HAS THE SAME EXPERIENCE AND HENCE A SOLUTION TO IT... problem is as follows: i have a mbox1 connected via usb to my ibook g4 1.33ghz (ppc) and want to make an aggegate device in the osx

  • Making hide/show survive a page refresh

    See http://htmldb.oracle.com/pls/otn/f?p=24317:251 The Yes/No radiogroup options show/hide the next item row containing the text field. But suppose I select No to hide the text field item row and click Submit, when the page refreshes, the text field

  • Unable to create Contract account

    I am unable to create contract account. I am getting the error message as "Key selection not defined for application R company code List of budget billing proceuders(R301)" How to go further?