Need Help with Complex Background Images

Hey, Macromedia, I mean, Adobe Dreamweaver users. I have a
dilemma, before you read further, look at this website:
https://statons.rtotogo.com/rtotogostore/rto_store/sign_in.asp.
Notice the background images. The light tan stripe at the top, the
orange/yellow stripe beneath it, and the darker tan color that
encompasses the rest of the background. When you go to a longer
page on the site, the top two colors do not repeat, and as the page
shrinks on smaller pages, so does the darker tan background. How
can I do this? I've seen it done before, and I read the source
code, but I am confused as to how I can accomplish this..... Please
advise! I am in desperate need of your expertise!
Thanks in advance for the help.
Chuck

It's controlled using CSS check out the css script and the
backgounds are
set to repeat along the x axis only
cheers
Ian
[email protected]
http://www.edwards-micros.co.uk
"ChuckRWD" <[email protected]> wrote in
message
news:e93ha7$lmi$[email protected]..
> Hey, Macromedia, I mean, Adobe Dreamweaver users. I have
a dilemma,
> before you
> read further, look at this website:
>
https://statons.rtotogo.com/rtotogostore/rto_store/sign_in.asp.
Notice
> the
> background images. The light tan stripe at the top, the
orange/yellow
> stripe
> beneath it, and the darker tan color that encompasses
the rest of the
> background. When you go to a longer page on the site,
the top two colors
> do
> not repeat, and as the page shrinks on smaller pages, so
does the darker
> tan
> background. How can I do this? I've seen it done before,
and I read the
> source code, but I am confused as to how I can
accomplish this.....
> Please
> advise! I am in desperate need of your expertise!
>
> Thanks in advance for the help.
> Chuck
>

Similar Messages

  • Need help with complex column creation command

    Hello, all
    I need help with a complex column creation command and SQL anywhere help is not sufficient for it.
    Here is the situation:
    I need to write a generic DDL "alter table" command, which can add/modify columns without knowing in advance if they already exist in the destination table.
    Is there a command, which looks like:
    alter table "table1" add (on existing modify) column1 <datatype> <default> ?
    Thank you,
    Arcady

    Hi.
    I don't think this is supported in alter table command. But you can code that inside an if statement which queries systables & syscolumns. Your code should be something like that:
    if (select count(*) from sysobjects, syscolumns where sysobjects.id = syscolumns.id and sysobjects.name = 'some_table' and syscolumns.name = 'some_column') < 1
    begin
        alter table some_table add some_column numeric(12) not null
    end
    This is an example..
    Andreas.

  • Need Help With Waveform-driven Image Effects

    Hi,
    I've been working on a full-dome 3D animation for a couple of years now and I'm looking for someone to help with a custom plug-in for After Effects, Photoshop and/or Combustion. I need to be able to drive filters and effects like Brush Strokes and 'sketchy' noise with the waveform from an audio file. I've been using a very poor mans workflow in which I've mapped the waveform by breaking it up into vertical ranges of varying intensities and then applying respective levels of the effects and filters to the sequential images based on where they fall in the waveform ranges. So for the test Ive done, I've been literally applying Photoshop actions to very small packets of still images from rendered sequences, and it has been dizzyingly time-consuming. Ideally I would want to be able to do this dynamically with a motion graphics package, but really I'm looking for as much help as I can get.
    This project began as my master's thesis and I'm working on it during the free time I have between teaching and freelance work; I don't have much money but I am willing to pay for help with this goal. There is still a lot of 3D work that I still need to do and the rendering process will be slow, so this wouldn't be a job with strict or tight deadlines. The final images will be very large (3200x3200) and with the growth in the full-dome market, these sizes could easily increase. If anyone is interested or could help me with this endeavor in any way, please respond to [email protected] Thank in advance to anyone who reads this.
    Max

    See the SDK_Backwards sample to see how to acquire audio data from a layer. This is the same access method used by AE's own waveform drawing plug-ins. Feel free to contact me directly with any questions.

  • Help with repeating background image

    At
    http://www.hammerstones.net/music1.htm,
    i've inserted an iframe that seems to prevent the right edge
    background image from displaying. You'll see, it's along the right
    margin on all pages EXCEPT this one. All help is welcome to achieve
    this look.
    Dave

    CSS Menu:
    a { text-decoration: none }
    a:link {
        color: #FFF;
        background: #666;
    a:visited { color: #999 }
    a:hover, a:active, a:focus {
        background: #333;
        text-decoration: underline;
        border-bottom:4px solid gold;
    /**horizontal navbar**/
    nav ul, nav li {
        margin: 0;
        padding: 0;
        list-style: none;
        font-size:20px;
        font-weight:bold;
        text-align:center;
    nav li a {
        float: left;
        display:block;
        padding: 6px;
        line-height: 1.2em;
        width: 8em;
    HTML:
    <nav>
    <ul>
    <li><a href="#">Some link</a></li>
    <li><a href="#">Some link</a></li>
    <li><a href="#">Some link</a></li>
    </ul>
    </nav>
    What it looks like:
    Nancy O.

  • Need Help with complex query and computing values

    I have an issue trying to combine data from several tables. I need help trying to compute the "Total Hours", "Max Pressure" ,"Average Pressure" while displaying the "Manufacturer",
    "Part Type" , "Serial Number", "District", "Status","Truck Type",and "truck number" for a certain Part on all Trucks. I need to be able check and see if the serial number was on
    a particular job and calculate the hours of that serial number if it was on that job and the jobdate falls between the install date and removal date. Ive tried but keep getting either
    repeating rows, total hrs of the truck instead of the serial number. Ive considered doing a pivot to display it but have been having trouble putting it together.
    table 1
    (*records of parts*)
     Contains  serial number,truck number, part type, part number, install date, removal date, status
    table 2
    (*records of Jobs*)
    contains Jobnumber, JobStartdate, Max pressure, average pressure, and Totalhrs
    table 3
    (records related to jobs and trucks)
    contains jobnumber, district , and truck numbers
    Table 4
    (records of manufacturers and part numbers)
    contains partnumber, manufacturer name, and truck type
    I would like to get it to show like below
    SerialNo   PrtType       
    MFG      TruckNo  
     TrkType    TtlHrs 
       MaxPr   AvgPr 
      Status    
    Dst
    AB345     1200series  
    NGK        2G34        
    Boss X       400     10,000 
     9500  NonOp    
    NE
    Thanks in advance

    Hope this helps
    Note: (Date of Mar 1 2014 was just extended to a further date so the system would know that its still operating when calculating current hours)
    Table 1
    SerialNo    TruckNo  InstallDate RemovalDate      Status       PartNo      PartType
    BJ1002       F917   2013-09-17   2014-03-01   Oper         L871235       BJ 3000 GL
    CWS1002   F104   2012-11-21   2013-03-29   NonOper   L76088-450   CWS 2000
    CWS1003   F104   2013-04-24   2013-08-01   NonOper   L76088-450   CWS 2000
    CWS1005   F187   2012-11-21   2013-04-04   NonOper   L76088-450   CWS 2000
    CWS1006   F187   2013-04-24   2013-06-30   NonOper   L76088-450   CWS 2000
    CWS1007   F187   2013-06-30   2013-03-01   Oper         L76088-450   CWS 2000
    CWS1009   2F60   2013-05-05   2013-03-01   Oper         L76088-450   CWS 2000
    CWS1011   F809   2013-05-28   2013-08-28   NonOper   L76088-400   CWS 2000
    CWS1013   F990   2013-06-11   2013-10-29   NonOper   L76088-450   CWS 2000
    CWS1015   F783   2013-06-28   2013-03-01   Oper         L76088-450   CWS 2000
    Table 2
    JobNumber    Date                 District         PrAvTreat PrMaxTr TotalHrs
    553811287    2012-01-19    Fairmount    7337        8319     1.53
    652110088    2012-08-20    San Antonio  6340       7075      0.47
    652110090    2012-08-21    San Antonio  6134       7131      0.62
    652110091    2012-08-22    San Antonio  6180       2950      0.58
    652110092    2012-08-23    San Antonio  5959       6789      0.64
    652110093    2012-08-23    San Antonio  6165       7466      0.62
    Table 3
    TruckNo District    JobNumber
    1F01      Odessa   10011012329
    1F01      Odessa   10011012333
    1F01      Odessa   10011014831
    1F01      Odessa   10011014834
    1F01      Odessa   10011012332
    1F01      Odessa   10011012328
    1F01      Odessa   10011014829
    Table 4
    PartNumber    Manufacturer  TruckType
    L322020-2     Jimmy Dean   Ford T
    L322738-2     Lucas             Ford T
    L47869-1       Jimmy Dean   Ford T
    L76070-650   NGK               Ford T   
    Sam Howard

  • Need Help with complex query for productio database

    Hello again,
    i need your help again, for an query how Shows me how long every production step takes per Order.
    See sample data and what i expect.
    Thank you all for your help.
    We use Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Here the sample data tables:
    CREATE      TABLE      TABLE_2
    (     "ORDER_NR"      VARCHAR2 (12)
    ,      "PRIORITY"      VARCHAR2 (2)
    ,      "WO_STEP"      VARCHAR2 (1)
    ,      "STEP_DATE"      DATE
    CREATE      TABLE      TABLE_1
    (     "ORDER_NR"           VARCHAR2     (12) PRIMARY KEY
    ,      "PRIORITY"           VARCHAR2      (2)
    ,      "CREATE_DATE"      DATE
    ,     "ACT_STEP"          VARCHAR2     (2)
    ,     "STEP_DATE"          DATE
    ,     "EMPLOYEE"          VARCHAR2     (5)
    ,     "DESCRIPTION"     VARCHAR2     (20)
    INSERT      INTO      TABLE_1      (ORDER_NR,               PRIORITY,      CREATE_DATE,                                                        ACT_STEP,     STEP_DATE,                                                            EMPLOYEE,     DESCRIPTION)
                        VALUES           ('1KKA1T205634',     '12',          TO_DATE('10-FEB-13 10:00:00','DD-MON-RR HH24:MI:SS'),     'U',          TO_DATE('28-FEB-13 12:00:00','DD-MON-RR HH24:MI:SS'),     'W0010',     'CLEAN HOUSE');
    INSERT      INTO      TABLE_1      (ORDER_NR,               PRIORITY,     CREATE_DATE,                                                        ACT_STEP,     STEP_DATE,                                                            EMPLOYEE,     DESCRIPTION)
                        VALUES           ('1KKA1Z300612',     '12',          TO_DATE('08-FEB-13 14:00:00','DD-MON-RR HH24:MI:SS'),     'F',          TO_DATE('20-FEB-13 16:00:00','DD-MON-RR HH24:MI:SS'),     'K0052',     'REPAIR CAR');
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1T205634',     '12',          'A',          TO_DATE('12-FEB-13 13:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1T205634',     '12',          '5',          TO_DATE('13-FEB-13 09:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1T205634',     '12',          'K',          TO_DATE('13-FEB-13 10:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1T205634',     '12',          '5',          TO_DATE('13-FEB-13 11:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1T205634',     '12',          'K',          TO_DATE('13-FEB-13 12:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1T205634',     '12',          '5',          TO_DATE('13-FEB-13 16:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1T205634',     '12',          'C',          TO_DATE('14-FEB-13 08:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1T205634',     '12',          'B',          TO_DATE('14-FEB-13 10:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1T205634',     '12',          'E',          TO_DATE('18-FEB-13 13:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1T205634',     '12',          'F',          TO_DATE('20-FEB-13 16:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1T205634',     '12',          'S',          TO_DATE('21-FEB-13 08:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1T205634',     '12',          'R',          TO_DATE('21-FEB-13 09:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1T205634',     '12',          'U',          TO_DATE('28-FEB-13 12:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1Z300612',     '12',          'A',          TO_DATE('12-FEB-13 13:52:42','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1Z300612',     '12',          '5',          TO_DATE('13-FEB-13 09:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1Z300612',     '12',          'K',          TO_DATE('13-FEB-13 10:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1Z300612',     '12',          '5',          TO_DATE('13-FEB-13 11:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1Z300612',     '12',          'K',          TO_DATE('13-FEB-13 12:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1Z300612',     '12',          '5',          TO_DATE('13-FEB-13 16:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1Z300612',     '12',          'C',          TO_DATE('14-FEB-13 08:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1Z300612',     '12',          'B',          TO_DATE('14-FEB-13 10:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1Z300612',     '12',          'E',          TO_DATE('18-FEB-13 13:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1Z300612',     '12',          'F',          TO_DATE('20-FEB-13 16:00:00','DD-MON-RR HH24:MI:SS'));
    COMMIT;And here is what i expect from my query:
    SYSDATE     28.Feb.13 14:00                                                                                     
    ORDER_NR     PRIORITYCREATE_DATE     STATUS     STATUS_DATE     DESCRIPTION     AGE_1     AGE_2     WAITNG     STEP_A     STEP_B     STEP_C     STEP_5     STEP_K     STEP_E     STEP_F     STEP_S     STEP_R     
    1KKA1T205634     12     10.Feb.13 10:00     U     28.Feb.13 12:00     CLEAN HOUSE     18,083     8,833     2,125     0,833     4,125     0,083     0,750     0,208     2,125     0,666     0,042     7,125     
    1KKA1Z300612     12     08.Feb.13 14:00     F     20.Feb.13 16:00     REPAIR CAR     20,000     16,042     2,125     0,833     4,125     0,083     0,750     0,208     2,125     0,666          And now the explanation to the query result:
    The AGE_1 is the difference in days between the 'CREATE_DATE' and IF EXSIST the STEP 'U' then STEP_DATE or if the STEP 'U' is not found in TABLE_2 then it should show the difference in days between the 'CREATE_DATE' and the 'SYSDATE'
    The AGE_2 is the difference in days between the STEP 'A' STEP_DATE and IF EXSIST the STEP 'R' then STEP_DATE or if the STEP 'R' is not found in TABLE_2 then it should show the difference in days between the 'CREATE_DATE' and the 'SYSDATE'
    The WAITING is the difference in days between CREATE_DATE and STEP 'A' STEP_DATE
    The following columns show the days how long the ORDER_NR stays in these STEP, if an ORDER_NR comes into the same STEP more then one time it should be calculated together.
    If the ORDER_NR skips a step it should show a zero in the specific field.
    I hope my explanation is good enough, my english skills are far away from good.
    Thanks all for your help.
    Greets Reinhard W.

    Hi,
    i changed this query:
    with t2 as (
                select  t.*,
                        lead(step_date) over(partition by order_nr order by step_date) next_step_date
                  from  table_2 t
    select  t1.*,
            nvl(
                max(
                    case t2.wo_step
                      when 'U' then t2.step_date
                    end
               sysdate
              ) - t1.create_date age_1,
            nvl(
                max(
                    case t2.wo_step
                      when 'R' then t2.step_date
                    end
               sysdate
              ) - t1.create_date age_2,
            sum(
                case t2.wo_step
                  when 'B' then t2.next_step_date - t2.step_date
                end
               ) step_b
      from  table_1 t1,
            t2
      where t2.order_nr = t1.order_nr
      group by t1.order_nr,
               t1.priority,
               t1.create_date,
               t1.act_step,
               t1.step_date,
               t1.employee,
               t1.descriptionTo this:
    with t2 as (
                select  t.*,
                        lead(step_date) over(partition by order_nr order by step_date) next_step_date
                  from  table_2 t
    select  t1.order_nr,
            nvl(
                max(
                    case t2.wo_step
                      when 'U' then t2.step_date
                    end
               sysdate
              ) - t1.create_date age_1,
            nvl(
                max(
                    case t2.wo_step
                      when 'R' then t2.step_date
                    end
               sysdate
              ) - t1.create_date age_2,
            sum(
                case t2.wo_step
                  when 'B' then t2.next_step_date - t2.step_date
                end
               ) step_b
      from  table_1 t1,
            t2
      where t2.order_nr = t1.order_nr
      group by t1.order_nrthen i get the ORA-00979 Error.
    Whats wrong?
    I have another question.
    How can i handle i i want to group to or more 'STEP's in one Column.
    in Case of this i want that the column 'STEP_B' contains all days for STEP 'B' and STEP '5'.
    I tried already with a + Operation like this:
    with t2 as (
                select  t.*,
                        lead(step_date) over(partition by order_nr order by step_date) next_step_date
                  from  table_2 t
    select  t1.*,
            nvl(
                max(
                    case t2.wo_step
                      when 'U' then t2.step_date
                    end
               sysdate
              ) - t1.create_date age_1,
            nvl(
                max(
                    case t2.wo_step
                      when 'R' then t2.step_date
                    end
               sysdate
              ) - t1.create_date age_2,
            Round( sum(
                case t2.wo_step
                  when 'B' then t2.next_step_date - t2.step_date
                end
               ) +
            sum(
                case t2.wo_step
                  when '5' then t2.next_step_date - t2.step_date
                end
               ), 3 ) step_b
      from  table_1 t1,
            t2
      where t2.order_nr = t1.order_nr
      group by t1.order_nr,
               t1.priority,
               t1.create_date,
               t1.act_step,
               t1.step_date,
               t1.employee,
               t1.descriptionBut this does reply evertime a NULL.
    Thank You.

  • Need help with complex NAT setup with DHCP forwarding

    This is going to get a little crazy, so try to stick with me... Attached is a very crude network map to clarify as best I can...
    I need my Cisco 831 to perform 1-to-1 NAT, but the Inside Global ('Black' LAN hosts as seen by the WAN) addresses must be assigned via DHCP from a DHCP server on the WAN. (This is the complex NAT part) The internal IP addresses would by assigned by the 831's DHCP.
    In addition, the WAN's DHCP server must see the MAC address of the request as the one that belongs to the host on my LAN - Effectively, the WAN DHCP server should not be able to tell there is NAT going on. (This is the DHCP forward problem)
    Any ideas on how to combine these tasks?
    TIA,
    -Chris Bowles, CCNA

    Hi.
    I don't think this is supported in alter table command. But you can code that inside an if statement which queries systables & syscolumns. Your code should be something like that:
    if (select count(*) from sysobjects, syscolumns where sysobjects.id = syscolumns.id and sysobjects.name = 'some_table' and syscolumns.name = 'some_column') < 1
    begin
        alter table some_table add some_column numeric(12) not null
    end
    This is an example..
    Andreas.

  • Need help with a mirror image effect

    For most of our product photos, I create a copy of the image, flip it vertically, fade it out, and then move it down to create a mirror image effect. Simple enough. But this one I'm having a problem. The product has 4 legs, and from this view, the back 2 legs are shorter. When I do my normal steps that I listed, I get similar to what you see below. I know all about drawing a marquee around part of the reflection, hitting Ctrl+T and then holding down Ctrl+Shift to skew just what's in the marquee. I've done this technique a lot, but it does not work for this particular image. What do I have to do to get the reflection of the back legs to line up with the actual back legs in the image? Thanks.

    Well, Photoshop is not a 3D rendering program and you can only fake it by painting or assembling the reflection using your artistic skills and knowledge of perspective and reflections. From certain angles and with certain objects this could be quite easily done by just mirroring the 2D image but in other cases like  this it wont' work. I made a quick scene in a 3D program to show you how the refection will actually be in real life - you will see the bottom of the table in the reflection and this is missing from the 2D image. You can assemble and position separately parts of the reflection from the 2D image by using the front sides of the table and and legs but the rest (bottom) of table has to be created from scratch.

  • Need help with complex query

    Hi All
    I have the following requirement, please see the following table
    BIN_DATA_ID     TRAFFIC_SAMPLE_ID     END_INTV_TIME     BIN_1_DATA     BIN_2_DATA     BIN_3_DATA
    1     539     1100     0     34     19
    2     539     1200     0     65     18
    3     539     1300     0     51     17
    4     539     1400     0     65     27
    5     539     1500     0     99     48
    6     539     1600     0     426     138
    7     539     1700     0     151     62
    8     539     1800     0     80     32
    9     539     1900     0     31     11
    10     539     2000     0     37     11
    11     539     2100     0     24     9
    12     539     2200     0     16     5
    13     539     2300     0     27     12
    14     539     2400     0     55     20
    15     539     100     0     18     9
    16     539     200     0     134     52
    17     539     300     0     230     69
    18     539     400     0     15     7
    19     539     500     0     6     5
    20     539     600     0     47     23
    21     539     700     0     100     41
    22     539     800     0     196     43
    23     539     900     0     81     20
    24     539     1000     0     58     28
    25     539     1100     0     58     24
    26     539     1200     0     60     22
    27     539     1300     0     42     18
    28     539     1400     0     53     15
    29     539     1500     0     107     43
    30     539     1600     0     441     146
    31     539     1700     0     128     34
    32     539     1800     0     67     27
    33     539     1900     0     45     22
    34     539     2000     0     24     13
    35     539     2100     0     16     11
    36     539     2200     0     28     5
    37     539     2300     0     23     8
    38     539     2400     0     73     11
    39     539     100     0     16     3
    40     539     200     0     243     82
    41     539     300     0     121     55
    42     539     400     0     17     4
    43     539     500     0     5     5
    44     539     600     0     41     15
    45     539     700     0     101     34
    46     539     800     0     184     43
    47     539     900     0     69     15
    48     539     1000     0     51     18
    49     539     1100     0     61     25The above data showed is for only one"TRAFFIC_SAMPLE_ID"=539, what i want is i should ignore the first record and starting from the second record (in this example "END_INV_TIME" 1200) I need to find its pair which in this case is another 1200 and then find the average of AVG{(BIN_1_DATA+BIN_2_DATA+BIN_3_DATA) of day 1 +(BIN_1_DATA+BIN_2_DATA+BIN_3_DATA)  of day 2}, same is the case with rest all of teh records 1300,1400,1500.......
    Thanks

    Is this what you are looking for?
    Use a self-join with the "<" condition on the ID columns to make sure you don't join a row to itself or get two rows for each join.
    WITH
      csvs as
        ( select  '1,539,1100,0,34,19'    x  from dual union all   
          select  '2,539,1200,0,65,18'    x  from dual union all   
          select  '3,539,1300,0,51,17'    x  from dual union all   
          select  '4,539,1400,0,65,27'    x  from dual union all   
          select  '5,539,1500,0,99,48'    x  from dual union all   
          select  '6,539,1600,0,426,138'  x  from dual union all   
          select  '7,539,1700,0,151,62'   x  from dual union all   
          select  '8,539,1800,0,80,32'    x  from dual union all   
          select  '9,539,1900,0,31,11'    x  from dual union all   
          select  '10,539,2000,0,37,11'   x  from dual union all   
          select  '11,539,2100,0,24,9'    x  from dual union all   
          select  '12,539,2200,0,16,5'    x  from dual union all   
          select  '13,539,2300,0,27,12'   x  from dual union all   
          select  '14,539,2400,0,55,20'   x  from dual union all   
          select  '15,539,100,0,18,9'     x  from dual union all   
          select  '16,539,200,0,134,52'   x  from dual union all   
          select  '17,539,300,0,230,69'   x  from dual union all   
          select  '18,539,400,0,15,7'     x  from dual union all   
          select  '19,539,500,0,6,5'      x  from dual union all   
          select  '20,539,600,0,47,23'    x  from dual union all   
          select  '21,539,700,0,100,41'   x  from dual union all   
          select  '22,539,800,0,196,43'   x  from dual union all   
          select  '23,539,900,0,81,20'    x  from dual union all   
          select  '24,539,1000,0,58,28'   x  from dual union all   
          select  '25,539,1100,0,58,24'   x  from dual union all   
          select  '26,539,1200,0,60,22'   x  from dual union all   
          select  '27,539,1300,0,42,18'   x  from dual union all   
          select  '28,539,1400,0,53,15'   x  from dual union all   
          select  '29,539,1500,0,107,43'  x  from dual union all   
          select  '30,539,1600,0,441,146' x  from dual union all   
          select  '31,539,1700,0,128,34'  x  from dual union all   
          select  '32,539,1800,0,67,27'   x  from dual union all   
          select  '33,539,1900,0,45,22'   x  from dual union all   
          select  '34,539,2000,0,24,13'   x  from dual union all   
          select  '35,539,2100,0,16,11'   x  from dual union all   
          select  '36,539,2200,0,28,5'    x  from dual union all   
          select  '37,539,2300,0,23,8'    x  from dual union all   
          select  '38,539,2400,0,73,11'   x  from dual union all   
          select  '39,539,100,0,16,3'     x  from dual union all   
          select  '40,539,200,0,243,82'   x  from dual union all   
          select  '41,539,300,0,121,55'   x  from dual union all   
          select  '42,539,400,0,17,4'     x  from dual union all   
          select  '43,539,500,0,5,5'      x  from dual union all   
          select  '44,539,600,0,41,15'    x  from dual union all   
          select  '45,539,700,0,101,34'   x  from dual union all   
          select  '46,539,800,0,184,43'   x  from dual union all   
          select  '47,539,900,0,69,15'    x  from dual union all   
          select  '48,539,1000,0,51,18'   x  from dual union all   
          select  '49,539,1100,0,61,25'   x  from dual
    , wdata as 
        ( select  to_number(regexp_replace( x , '^(.*),(.*),(.*),(.*),(.*),(.*)$' , '\1' ))  as bin_data_id
               ,  to_number(regexp_replace( x , '^(.*),(.*),(.*),(.*),(.*),(.*)$' , '\2' ))  as traffic_sample_id
               ,  to_number(regexp_replace( x , '^(.*),(.*),(.*),(.*),(.*),(.*)$' , '\3' ))  as end_intv_time
               ,  to_number(regexp_replace( x , '^(.*),(.*),(.*),(.*),(.*),(.*)$' , '\4' ))  as bin_1_data
               ,  to_number(regexp_replace( x , '^(.*),(.*),(.*),(.*),(.*),(.*)$' , '\5' ))  as bin_2_data
               ,  to_number(regexp_replace( x , '^(.*),(.*),(.*),(.*),(.*),(.*)$' , '\6' ))  as bin_3_data
            from  csvs
    SELECT  a.traffic_sample_id
         ,  a.end_intv_time
         ,  ((a.bin_1_data + a.bin_2_data + a.bin_3_data) + (b.bin_1_data + b.bin_2_data + b.bin_3_data)) / 2  as av
      from  wdata   a
      join  wdata   b  on  ( a.traffic_sample_id = b.traffic_sample_id  and
                             a.end_intv_time     = b.end_intv_time      and
                             a.bin_data_id       < b.bin_data_id          )
    order  by 1, 2 ;

  • I Need Help With Gradient Backgrounds

    Can someone explain to me why my design appears as if it has an outer glow when I add a gradient background? Thanks in advance.

    Sorry, nothing to recognize, I don't see on the pixel "accident" what you mean.
    Make the sreen shot with the OS, not with a camera.
    Show in detail what your problem is.
    Tell us: OS, version, what have you done, file type, etc.
    As it is now we can't see anything important.

  • Need help with complex numbers ..

    Hi!
    Just want to check if i got it right - if anyone could pls confirm:
    public void divComplex(Complex a, Complex b)
    x = ((a.x * b.x) + (a.y * b.y))/((b.x * b.x) + (b.y * b.y));
    y = ((a.y * b.x) + (a.x * b.x))/((b.x * b.x) + (b.y * b.y));
    public void multComplex(Complex a, Complex b)
    x = ((a.x * b.x) - (a.y * b.y));
    y = ((a.x * b.y) + (a.y * b.x));
    where:
    protected double x;
    protected double y;
    is declared to represent the complex number .
    Is this correct?
    Siw

    For the division you have,
    a/b = a*b'/b*b' = a*b'/|b|
    |b| = (b.x + ib.y)*(b.x - ib.y) = b.x*b.x + b.y*b.y
    a*b' = (a.x + ia.y)*(b.x - ib.y) =
    (a.x*b.x + a.y*b.y) + i(a.y*b.x - a.x*b.y)
    There seems to be a slight mistake in the imaginary part (y).
    y = a.y*b.x - a.x*b.y / (b.x*b.x + b.y*b.y);
    But don't take my word for it. It's been ages since I did complex numbers -:)

  • Need help with complex query with comma seperated

    Oracle version - 11.1.0.7.0
    Consider there are two tables table1 and table2
    Key---- ID
    A ---- 1
    A ---- 2
    A---- 3
    B ---- 4
    B ---- 5
    C ---- 6
    C ---- 8
    C ---- 9
    C ---- 10
    D ---- 11
    D ---- 12
    Table2
    ID
    1
    2
    6
    8
    11
    12
    I need result as in usedID column I should get comma seperated list of ID which are in table1 and table2 and in NOTUSEDID comma seperated list of ID which are in table1 but not in table2
    Key---- USEDID---- NOTUSEDID
    A ---- 1,2 ---- 3
    B ---- null ---- 4,5
    C ---- 6,8 ---- 9,10
    D ---- 11,12 ---- null

    Hi!
    Solution for Oracle 11g:
    SELECT A.KEY,
           listagg(decode(b.id, null, null, a.id), ',') WITHIN GROUP (ORDER BY  A.ID) AS USEDID,
           listagg(decode(b.id, null, a.id), ',') WITHIN GROUP (ORDER BY  A.ID) AS NOTUSEDID
      FROM TABLE1 A
           LEFT OUTER JOIN table2 b
           ON (A.ID = b.ID)
    GROUP BY a.key;
    Solution for databases prior to Oracle 11g:
    Please note that the function wm_concat is undocumented and can't be sorted!
    SELECT A.KEY,
           wm_concat(decode(b.id, null, null, a.id)) AS USEDID,
           wm_concat(decode(b.id, null, a.id)) AS NOTUSEDID
      FROM TABLE1 A
           LEFT OUTER JOIN table2 b
           ON (A.ID = b.ID)
    GROUP BY A.KEY;I used the following test case:
    create table table1(key varchar2(255), id number);
    CREATE TABLE table2(ID NUMBER);
    insert into table1 values('A', 1);
    INSERT INTO table1 VALUES('A', 2);
    INSERT INTO table1 values('A', 3);
    INSERT INTO table1 VALUES('B', 4);
    INSERT INTO table1 VALUES('B', 5);
    INSERT INTO table1 VALUES('C', 6);
    INSERT INTO table1 values('C', 8);
    INSERT INTO table1 VALUES('C', 9);
    INSERT INTO table1 VALUES('C', 10);
    INSERT INTO table1 values('D', 11);
    insert into table1 values('D', 12);
    insert into table2 values(1);
    insert into table2 values(2);
    insert into table2 values(6);
    insert into table2 values(8);
    insert into table2 values(11);
    insert into table2 values(12);
    commit;Best regards,
    Matt
    Edited by: Matt Schulz on Oct 12, 2011 12:43 PM

  • Need help with Elements and image size on my web site.

    I have edited my photos in elements and loaded them on my website but when I click on them on the site to enlarge, some get really really big and others are fine. I don't know what Im doing wrong.
    Any suggestions

    Go to File>save for web. This brings up a dialog. Enter 800px or so for the longest side, check "constrain proportions" , and for your purpose you will no doubt want to save as JPEG - look under presets. I usually select high quality.

  • Need help with Page Layout and Background Scaling

    hello, everyone.
    I am in the process of designing a new website for myself,
    and while I was researching nicely designed pages to use as
    inspiration, I stumbled upon this site:
    http://www.jeffsarmiento.com/
    obviously, the design is very impressive, but it also
    incorporates a lot of web mechanics that I have been trying to
    figure out, so I will use this page as an example.
    one thing I need help with is backgrounds. as you can see in
    the posted website, the creator used a seamlessly tiled paper
    texture to display the bulk of his content on. also make not of the
    pattern that is located to the left of the paper texture. how do I
    create seamless backgrounds like this that will scale to fit any
    amount of content or any resolution? I can't imagine that the guy
    that made that site created a new size background every time he
    made an update, so there has to be an easier way.
    the second thing that I am having trouble with is general
    site layout. I have read that most sites used series of invisible
    tables to organize there content, but when I open the source of
    this page in dreamweaver, he was using something different. div
    tags? should I be using these? who do I use them? are there any
    general layout tips that someone could pass on to me? perhaps a
    link to a good tutorial?
    please help me. i am very confused.
    thanks so much.

    IMO not a good site to emulate. To wit:
    Top background image:
    http://www.jeffsarmiento.com/images/bg-top.jpg;
    745px
    x 350px 137K
    Main background image:
    http://www.jeffsarmiento.com/images/bg-tile.jpg;
    745px x 950px 130K
    Total page size: 454K (Check here:
    www.websiteoptimization.com)
    Website usability experts routinely recommend a maximum page
    size of ~80K
    Check out the We We Scale @ www.FutureNowInc.com/wewe/ where
    they suggest,
    "You speak about yourself approximately 0,003 times as often
    as you speak
    about your customers. Might that have an impact on your
    effectiveness?"
    That is 100% consistent with the #1 Web Design mistake:
    "Believing people
    care about you and your web site." or to phrase more
    expansively, "Our site
    tries to tell you how wonderful we are as a company, but not
    how we're going
    to solve your problems."
    www.sitepoint.com has some excellent books on making a
    website actually
    attractive and usable at the same time.
    Walt
    "beWILLdered_" <[email protected]> wrote in
    message
    news:[email protected]...
    > hello, everyone.
    > I am in the process of designing a new website for
    myself, and while I was
    > researching nicely designed pages to use as inspiration,
    I stumbled upon
    > this
    > site:
    >
    http://www.jeffsarmiento.com/
    > obviously, the design is very impressive, but it also
    incorporates a lot
    > of
    > web mechanics that I have been trying to figure out, so
    I will use this
    > page as
    > an example.
    > one thing I need help with is backgrounds. as you can
    see in the posted
    > website, the creator used a seamlessly tiled paper
    texture to display the
    > bulk
    > of his content on. also make not of the pattern that is
    located to the
    > left of
    > the paper texture. how do I create seamless backgrounds
    like this that
    > will
    > scale to fit any amount of content or any resolution? I
    can't imagine that
    > the
    > guy that made that site created a new size background
    every time he made
    > an
    > update, so there has to be an easier way.
    > the second thing that I am having trouble with is
    general site layout. I
    > have
    > read that most sites used series of invisible tables to
    organize there
    > content,
    > but when I open the source of this page in dreamweaver,
    he was using
    > something
    > different. div tags? should I be using these? who do I
    use them? are there
    > any
    > general layout tips that someone could pass on to me?
    perhaps a link to a
    > good
    > tutorial?
    > please help me. i am very confused.
    >
    > thanks so much.
    >

  • I need help with color pallette in iPhoto 11. I have created a book and would like to use a different color background than those given in "background." I have found the color palettes but can't seem to incorporate them into my backgrounds palette.

    I need help with color pallette in iPhoto 11. I have created a book and would like to use a different color background than those given in "background." I have found the color palettes but can't seem to incorporate them into my backgrounds palette.

    That is not a feature of iPhoto - suggest to Apple - iPhoto Menu ==> provide iPhoto feedback.
    Additionally I have no idea what you are saying here
    I have found the color palettes but can't seem to incorporate them into my backgrounds palette.
    And it always helps for you to dientify the version of iPhoto that you are using
    LN

Maybe you are looking for

  • Error while trying to deploy the fusion order aplication

    i've succeded tu install the schemas, to deploy the store front module , and when i try to deploy the aplication i encounter one error :( this is my "build.properties" edited file: # Global build property set for SOA fusion order demo # # > author: c

  • Transfer data from iphone 4 to 3g

    I'm transfering data from an iphone4(verizon) to an iphone 3g(tmobile) and only my apps transfered over; non of my contacts or app data. I waited until the transfer was finished.  Is there something I'm missing? Thanks?

  • Ipod Nano and Shuffle on the same computer?

    Hi guys, I'm having a problem. I recently connected my 2nd gen nano to my friend's computer (who has a shuffle) and it thinks I'm her. How do I create my own "account" on i-tunes? The problem is that now she has tried to connect her shuffle to i-tune

  • Entry Point Customization

    My requirement is to enable end user to choose any particular workset or page as the default entry point. In other words, that workset or page should be the first to focus when the user hits the portal. Can this functionality be made personalized? Th

  • Security update 2008-005 hangs during install

    after the download, during install, the security update installer seems to hang after what seems like a 10% progress (still in configuring install phase). i've tried waiting for upto 10 minutes with no luck. could someone help?