The most effective use of models DW?

Hello world!

I think on the use of several models to compose a complete page. Does this make sense?

For example, the header/navigation in a model and another model of a column two lay out, then another for a column of three

Instead of having the different sections of a page in the templates, just create three pages of complete separate models?

Maybe I'm overthinking the use of models.

It is just a way to add editable regions, or should I put pages and templates like the sections of a page?

Thanks for your help!

Ty

It works either way.  You have an editable area available in the page's head that can accommodate either an embedded style sheet, or a link to an external.  The necessary CSS just for passage from 2 to 3 columns is so small, although I tend to integrate...

Tags: Dreamweaver

Similar Questions

  • the most effective configuration using vmware lab environment?

    Hello

    I have a production vmware

    infrastructure. It consists of multiple esx hosts, an iscsi san, and

    about 12 virtual machines.  I would like to get some of these machines in

    a lab environment, which is the most effective way to achieve this?

    have also a few physical machines as well, that I intend to help

    the p2v tool for.  Thank you

    1. create the VLANS separated for the Lab virtual machines and use to limit the bandwidth of the traffic shaping

    2 create a new pool of resources for the virtual laboratory machines, to control the use of resources (configure "share" = low)

    3 use/Take snapshots before allocating virtual users computers, so that you can return it back once the activity is complete.

    See you soon,.

    ~ Jean

    ~ Don't forget to points, if you found the useful answer

  • The most effective component to use

    What is the most effective component to use a piece of a single line of dynamic text?
    A Lable; TextInput or TextArea components?

    I would like to use the more appropriate for a single line of dynamic text.
    Also the esiest of style component I want to 3 sizes of text and being able to change the background.

    I also tried to use the custom declaration and do not know if it would be appropriate or overkill:
    Import mx.styles.CSSStyleDeclaration;
    var new_style:Object = new CSSStyleDeclaration();
    _Global.styles.myLableStyle = new_style;
    new_style. SetStyle ("fontSize", 18);

    myText1.setStyle ("styleName", "myLableStyle");

    When I use the setStyle it seems to work very well for my dynamic TextInput.
    Any info on these components would be really useful.

    Please see code is attached as a reference to what I want to do.
    Thank you.
    Bell W.

    W assume that I wonder, why not just create an instance of TextField? rather than use a component to a single line. You can always ask your TextFormat object to the field on instantiation.

  • The most effective way to log data and read simultaneously (DAQmx, PDM) high data rates

    Hello
     
    I want to acquire the data of several Modules cDAQ using several chassis to
    high data rates (100 k samples per second if possible). Let's say the measurement time is 10 minutes and we got a large number of channels (40 for example). The measured data is written to a PDM file. I guess, the memory or the HARD disk speed is the limits. For the user, there must be a possibility to view the selection of channels in a graph during the measurement.

    My question: what is the best and most effective way to save and read data at the same time?

    First of all, I use an architecture of producer-consumer and I don't want to write and display the data in the same loop. I expect two possibilities:

    [1] to use the 'DAQmx configure logging.vi' with the operation 'journal and read' to write the data to a PDM file. To display the data in a second loop, I would create a DVR samples documented and 'sent' the DVR for the second loop, where the data will be displayed in a graph (data value reference). This method has the disadvantage that the data of all channels is copied into memory. Correct me if I'm wrong.

    [2] use 'DAQmx configure logging.vi', but only with the "journal" operation to write the data to a PDM file. To view the selected data, I had read a number of samples of the TDMS file in the second loop (I'm currently writing the TDMS file). In this case, I have only one copy data from the selected channels (not), but there will be more HARD drive accesses necessary.

    What is the most effective and efficient solution in this case?

    Are there ways to connect and read data with high frequencies of sampling?

    Thank you for your help.

    You say that the measurement time is 10 minutes. If you have 40 channels and you enjoy all CHs at 100 kHz, it is quite a number of values.

    In this case, I always try to approach under the conditions of use. If a measure is only 10 minutes, I just connect all PDM data and create a graphic module that could be in the same loop of consumers where connect you the data. You can always work on the raw data files big offline afterwards, the extraction of all the information you need (have a look at the product called NI DIAdem: http://www.ni.com/diadem/)

    The main issue is that the user needs to see in the graph (or perhaps a chart can be useful too). Lets say that the graph is 1024 pixels wide. It makes no sense to show multiple data to 1024 points, Yes? Every second will produce you 100 data points k per channel. What is the useful information, which should see your username? It depends on the application. In similar cases, I usually use some kind of data reduction method: I use a moving average (Point by point Mean.VI for example) with a size of the interval of 100. This way you get 100 data points of 1000 per channel every second. If you feed your graph every second with these average values, it will be able to data points in 1024 of the store (as a default) by channel (curve), which is a little more than 10 minutes, so that the user will see the entire measurement.

    So it depends on the frequency at which you send data to the consumer. For example, collect you values 1024 by iteration of the producer and send it to the consumer. Here you can make a normal means calc or a bearing (according to your needs) and he draw a graphic. This way your chart will display only the values of the last 10 seconds...

    Once I programmed some kind of module where I use a chart and not a graph, and the user can specify the interval of the absolute timestamp that is traced. If the data size is larger than the size of the chart in pixels, the module performs an average calculation in order to reduce the number of data points. Of course, if you need to see the raw data, you can specify an interval that is small. It all depends on how you program zoom functions, etc... In my case I hade a rate of 1 Hz, so I just kept all data in RAM limiting the berries to keep 24 hours of data, so that technicians could monitor the system. In your case, given the enormous amount of data, only a file read/write approach can work, if you really need access to all of the RAW data on the fly. But I hope that the values of working capital means will be enough?

  • form the most effective of condtional for many of | » s ?

    Hello

    I have an if statement that checks file extensions.

    He continues the code if file extensions filled one of the about 20 kinds:

    so

    If (ext == 'mpeg' | ext == 'mp3' |.. .etc)

    I noticed that when checking of file names 4000, there is an increase in the time between having 50 only 2 | options and 20.  It is not a problem to 4000 files, but if checking ten times that, it's just increased in time.

    I was wondering what is the most effective way to do this?  Is a table, a better way to go?

    Thanks for your help.

    Shaun

    Store extensions in a table and use the Array.IndexOf method.  If the extension exists the method returns the index of it, if not the methods return-1.

    If (extArray.IndexOf (ext) >-1) {}

    the extensin is in the table

    }

  • The most effective way to store lines

    DB version: 10gRel2 and 11G


    If I want to keep a single column as structure, I would like to use associative arrays for performance reasons. Who is the most effective method to store a multicolumn line?


    You guys are using something like this
    DECLARE
      type v_emprec_array is table of emp%rowtype INDEX BY BINARY_INTEGER;
      v_emprec v_emprec_array;
    BEGIN
      select * bulk collect into v_emprec from emp where empno=7369;
    or this
     declare
      TYPE rec_UpdateEmp IS RECORD
               (
              Inpt_emp_id         t_InptId,
              Stat_Code               gt_StatCode,
              Tms_Proc                pa_TmsProc,
              Tms_Po_Flag             pa_TmsPoFlag,
              Sngl_Unit_Flag          pa_SnglUnitFlag,
              Pkt_Profile_Id          gt_ProfileId,
              Pkt_Type                pa_PktType,
              host_inpt_id            pa_HostInptId
              );
              
          rec                         rec_UpdateEmp;
      

    Ref Cursor is a better option

    create or replace procedure emp_dtls
    (
     p_sal number,
     p_result out sys_refcursor
    )
    as
    begin
     open p_result for
      select ename,sal from emp where sal>p_sal;
    end;
    /
    
    SQL> var myvar refcursor
    SQL> exec emp_dtls(2000,:myvar);
    
    PL/SQL procedure successfully completed.
    
    SQL> print myvar
    
    ENAME             SAL
    ---------- ----------
    JONES            2975
    BLAKE            2850
    CLARK            2450
    SCOTT            3000
    KING             5000
    FORD             3000
    ADAMS            7654
    
  • On the Start Menu, I lost the most frequently used programs section.

    I use Windows XP.  In the start menu, I lost the most frequently used programs section.  It works fine in all other accounts on this computer.  All accounts are administrative.  It worked very well for a dome of years.  How do I get it back marin

    I use Windows XP.  In the start menu, I lost the most frequently used programs section.  It works fine in all other accounts on this computer.  All accounts are administrative.  It worked very well for a dome of years.  How do I get it back marin

    Hello

    You can fix this problem by right-clicking on the start menu button then click on temptation then go to Start Menu tab at the top, then in the privacy section, check the two checkboxes, then click apply and then click ok.

  • The most effective way to retrieve a number of virtual machines in an org?

    Hi all, what is the most effective way to retrieve a MV of County in an org. I am currently recovering all CDV in an org, then all the vApps, then all of the virtual machines and pushing them into a table, then do a vms.length on the table filled by all virtual machines.

    It takes a horrible time, and there MUST be a better way.

    Open to any suggestion. Thank you

    Good, as administrator of the organization then: (I have not tried as a normal user account)

    var vdcs = new Array();
    var orgVMCount = 0;
    var vcdHost = org.getHost();
    
    var queryService = vcdHost.getQueryService();
    var expression = new VclExpression(VclQueryOrgVdcField.ORGNAME, org.name, VclExpressionType.EQUALS);
    var filter = new VclFilter(expression);
    var params = new VclQueryParams();
    params.setFilter(filter);
    
    var resultSet = queryService.queryRecords(VclQueryRecordType.ORGVDC,params);
    while (resultSet != null) {
    
        var records = resultSet.getRecords(new VclQueryResultOrgVdcRecord);
        for each (var record in records) {
            var vdcVMCount = getVdcVMCount(record.href, vcdHost);
            System.log("VDC "+record.name+" VM Count: "+vdcVMCount);
        }
        orgVMCount += vdcVMCount;
        resultSet = resultSet.getNextPage();
    }
    System.log("Total Organization VM Count: "+ orgVMCount);
    
    function getVdcVMCount(vdcHref, host){
        var vmCount = 0;
    
        var qs = host.getQueryService();
        var exp = new VclExpression(VclQueryVMField.VDC, vdcHref, VclExpressionType.EQUALS);
        var exp2 = new VclExpression(VclQueryVMField.ISVAPPTEMPLATE, false, VclExpressionType.EQUALS);
        var exps = new Array(exp,exp2);
    
        var expFilter = new VclFilter(exps,VclFilterType.AND);
        var queryParams = new VclQueryParams();
        var vmArray = new Array();
        queryParams.setFilter(expFilter);
        var rs = qs.queryRecords(VclQueryRecordType.VM,queryParams);
        while (rs != null){
            var vmRecords = rs.getRecords(new VclQueryResultVMRecord);
            vmCount += vmRecords.length;
            rs = rs.getNextPage();
        }
        return vmCount;
    }
    

    It takes a little more code because the ".ORG" field is not available for the non-Admin queryVMField, but the. VDC IS, so we start by retrieving the TDC for the Org, then for each one, ask the number of vm for VDC.

    Post edited by: Burke - had accidentally initialization of orgVMCount as new Array(); -changed second line to 'var orgVMCount = 0;

  • Computer laptop HP DV6 freezes when on the power of the battery, for the most part using Firefox. Looking for help in debugging

    Is there anywhere I can look to see what is running or happening when my PC crashes?

    BACKGROUND:

    My PC has been freezing more frequently lately.

    It seems to happen more often when I am on battery, usually when I am online using Firefox my default browser.

    I tried checking the event viewer, but did not find much, and do not know, I am interested in the right part.

    I can say without a doubt it happens when it is on battery power, almost never when it is plugged.

    In addition, it seems to happen more frequently when I use Firefox, but then I'm usually just surf when I'm on battery.  When I don't really work, I tend to sit at a desk and connect.

    Here are my specs:

    HP Pavilion dv6-3120us laptop

    Product number: XG871UA

    OS: Windows Home Premium Service Pack 1

    Browser: Firefox Chrome for the most part, other times

    I'm starting to capture when / where it happens the more frequntly in a strive to locate the problem.

    I'll try to turn off Firefox addins / extensions as a first step, but would like any other tips.

    Thank you!
    Ian

    I did a quick check this week, surfing on the battery while using Firefox, I fell two times.  Once run it normally, first with all add-ons disabled.

    When I switched to Chrome I had any problems.

    I'll close this and call it a problem of Firefox, I'll open a new ticket if it appears elsewhere.

    But I'll check the both battery test.

    Thank you!
    Ian

  • ? Replaces the missing effect of a model? CS6

    Hi all

    For some time I have been using AE... I wanted to use a model that hive, I downloaded and it asks me to replace an effect. How can I do this please?

    Thank you for any step by steps, again, it has been a few months since I was in version AE CS6

    flares missing.JPG

    Optical flares is a third-party plugin commercial. You have to buy.

    Mylenium

  • The most effective way to create this color wheel?

    I know there are several ways to create a color circle, but in this case, there is a slight difference (ie. feature white) between the hidden images.

    I was wondering how you guys approached this creation. Thank you. Much appreciated!

    shutterstock_85920403.jpg

    The white line can be created by using the rotation tool or the transform command. In both cases, the degrees of rotation is determined by dividing the number of strokes by 360 degrees. Rotation tool, you can make a duplicate order to repeat the rotation, make sure that your rotation a copy not the original.

    Then it's you if you want the line color to match the background, or use the path search tools to cut the railways making individual piece of the wheel. This can be handy if you want to move a piece of the wheel outwards and resize it perhaps until drew attention to it.

  • The most effective method to add Gaussian blur to the background of the Interview with two people

    I have MXF clips of an interview with two people with a décor of forest behind the two subjects. I want to add a Gaussian blur on the bottom between the two people who are sitting and separated by about 6 inches. I'd be able to do this now in 2014 PR, except track masks do not work as there seems to be a bug. I've never used AE and Mocha looks like a tracking method possible. The manual speaks using a compressed JPG of sequence, then use your original film when you apply the data. This sounds like the way to go, but I do not know how to apply the data originally from the film. I know how to apply a blur and a simple mask followed in AE, but it does not follow the outline of the person and blurs the second person. If followed PR mask worked, I duplicate the layer and add a mask of garbage that would cut off the other person in each of the two layers.

    I intend to learn AE, but has a deadline this week to get this infomercial delivered to the customer. Thus, detailed instructions would be greatly appreciated.

    Thank you, Rob

    According to your film, the Roto Brush tool can be a good choice to separate people from the background.

  • The most effective way to put an internal radius to a border using edge animate.

    Hi all..

    I'm looking for a little help in the resolution of this one...

    If we were to create a rectangle and make this transparent rectangle, then assign a color to the border, then do tell... 3px we'd see a nice rectangle with rounded corners.

    But... How can I add an inner radius to my border...

    If I were coding CSS I would like to do the following, but I would like to know the edge way to do

    Thanks much as always!

    If I were in the css:

    #container {
        float: left;
        border-radius: 3px;
        background-color: #383838;
        width: 174px;
        height: 174px;
    }
    #container:before {
        border-radius: 3px;
        border: 2px solid #383838;;
        content: '';
        width: 170px;
        height: 170px;
        position: absolute;
    

    You can set as shown in the screenshot attached:

    HTH,

    Vivekuma

  • The most effective way to the U16-> U32 Array pack for DMA data transfer?

    I have a RT controller who wants to send data to an FPGA using DMA.  In LabVIEW 8.2, I have no choice but to switch to the low blocks of data however U32 my my input data is an array of U16.  This leaves me two choices: 1) wire U16 table directly into the DMA node that will be rude to U32 but I lose 16 bit * #of table 2) Pack the U16 elements in a U32 table before sending it to the bottom.    I have #2 and I have a method that works (and seems to be quite effective) but I have the feeling that I'm doing the hard (or roundabout way).   Is their a simpler (but equally effective) way to do this procedure?  Thank you

    Here's a solution that swaps the bytes and key elements the same. There are several ways to do so.

    (for efficiency, you can place the table 'remodel' inside a case structure then, it happens only if necessary)

  • The most effective way to browse the similar named fields?

    Hello

    I have a 5-page document on every page that contains appx. 50 similarly named fields.    For example Viol1Num, Viol2Num, Vio3Num...  Viol50Num.

    I'm looking for an effective way to program a loop to watch each field in Javascript, I can do some manipulations in these areas on what the user has entered.

    In FormCalc, I've used the 'foreach' function similar to:

    foreach (Field1, Field2, Field3 Field50)

    "BLAH".

    ENDFOR

    However, who gets really long especially when it comes to the following pages, where I have to start adding "topmostSubform.Page2." in front of each domain name so that I can access it from the first page, all fields on the following pages.  Also, I need to do it in Javascript, no FormCalc.

    For example, in JS, I use this loop to mark all fields read-only:

    
    
    
        
    for (var nPageCount = 0; nPageCount < xfa.host.numPages; nPageCount++) {
    
    
       
    
     var oFields = xfa.layout.pageContent(nPageCount, "field");
    
    
       
    
     var nNodesLength = oFields.length;
    
    
       
    
     for (var nNodeCount = 0; nNodeCount < nNodesLength; nNodeCount++) {
    
    
       
    
    
     oFields.item(nNodeCount).access = "readOnly";
    
    
       
    
     }
    
    
       
     }
    
    
    
    

    How could I do something similar to that for I can browse each field and perform actions on it without having to list every single domain name?

    I tried to change to watch the fields instead of field properties, but I couldn't run.

    Thank you.

    I solved my problem.   It took a few fighting in javascript using xfa.resolveNode.

    I have 5 pages, each consisting of a series of 60 fields named Viol1Num, Viol2Num, Viol3Num... Viol60Num.

    If when the javascript is executed, it detects an empty field, then insert a '3' in it.

    Here it is the javascript code that runs to the second page of this document.

       While (LoopCounter< 61)="" {="">
       If ((LoopCounter! = 21) & (LoopCounter! = 22)) {}
       If ((xfa.resolveNode("topmostSubform.Page2.Viol"_+_LoopCounter_+_"Num").rawValue == null) |) ((xfa.resolveNode("topmostSubform.Page2.Viol"_+_LoopCounter_+_"Num").rawValue == "")) {
       xfa.resolveNode("topmostSubform.Page2.Viol"_+_LoopCounter_+_"Num").rawValue = 3;
       }
       }
       LoopCounter = LoopCounter + 1
       }

Maybe you are looking for