NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - mpetitjean

Pages: [1]
1
Web Server - Ask For Help / IE and the <pre> Tag
« on: November 12, 2007, 04:58:56 AM »
     We have an online scheduler in beta which displays reservations for a twelve hour period, a twenty-four hour period, a week or a month.  The twelve hour view breaks each hour into fifteen minute time slots.  The header for the table extends across the width of four columns and displays the hour of the day.  Since the header is four columns wide and the time display only requires the center two columns, we used the <pre> tag to insert spaces in the leftmost and rightmost columns of the header.  The column width for the table is set to 15 for each column.

     Everything works correctly in both IE and Firefox when the page is opened from the menu choice.  On the page is a set of radio buttons to select what to display (aircraft schedules, instructor schedule or both).  When a radio button is selected the page refreshes and displays correctly in Firefox.  In IE, however, it suddenly makes the first header column (and the table columns under it) extend the width of the viewable area on the page.  No scroll bar is created so the customer cannot scroll to see the vastly widened table.

     We created a text file and stored the HTML created in the SendPacket routine.  We then used Beyond Compare to compare the generated HTML sent to IE with that sent to Firefox.  with the exception of the session number the HTML is identical.

     If we remove the <pre> tags and substitute two dashes (--) in the blank header columns IE is happy and displays the page properly even when the radio button is reselected.  However the page looks very bad with the dashes instead of spaces.  This has been tested with the original version of IE 6 (no patches) and the current patched version of IE7.  Both give the same result.

     Does IE not support the <pre> tag?  Is there some other way, acceptable to IE, to insert these spaces?  Can anyone recommend a book concerning the inner workings of IE that might help us resolve continuing display issues with IE?

     Thanks!

2
Web Server - Ask For Help / IE 6 Scroll Bars?
« on: September 21, 2007, 07:34:53 AM »
      We are testing against IE 6, IE 7 and Firefox.  If a form contains a browse in both IE 7 and Firefox, if the browse exceeds the width of the browser window the browser creates a horizontal scroll bar.  IE 6 doesn't seem to be doing this (version 6.0.2900.2180.XPSP_SP2_GDR.070227-22540).  The application is currently compiled with Clarion 6.3 build 9056 and NetTalk 4.28.

     I can't find an update to IE 6 on the Microsoft update site so I assume support for IE 6 has ended.  However, many customers may still be using it.  Is there a workaround for this problem or do we have to force the customer to install IE 7?

3
Your Views and Comments / Creating Profile?
« on: September 19, 2007, 08:04:31 AM »
     How do I create a profile?  When I click the Profile link it simply returns "This profile does not exist or is no longer available".  What am I missing here?

4
Web Server - Ask For Help / Setting Hot Fields to SessionValues
« on: September 19, 2007, 07:24:26 AM »
    I am using several drop lists to allow the user to make a choices for a new reservation.  In some instances two reservations may need to be made when the user clicks the save reservation button, one for the aircraft and one for the instructor.  If the user selects to display both aircraft and instructors in the same In-Memory web browse a new drop list appears on screen with the list of available instructors.  The drop list displays the instructor's  name and the identification column is in the Hot Fields list.

     Where can I set a SessionValue to hold the value of the ID column when an instructor is selected in the drop list?  I am not using Insert, Change or Delete buttons on the form because we are viewing and In-Memory table so the SaveMem Routine never fires.  I've looked at the current value of the ID column in the Value (before and after) for the drop list.  I tried firing the SaveMem routine manually in the embed point just before "return Ans" but the value is always zero there.  I'm running out of ideas because I can't seem to find an embed point where this value is set based on the selection made in the drop list.


5
Web Server - Ask For Help / Odd Internet Explorer Behavior
« on: September 12, 2007, 12:35:31 PM »
       We have a web application developed with NetTalk 4.28.  It has a series of NetWebForms which each contain a NetWebBrowse of an In-Memory table.  If we reduce the size of the Internet Explorer window so that the browse is too wide for the window, IE creates a vertical scroll bar but not a horizontal one so the browse is partially lost.  We've seen this in IE 6 and 7.  Viewing the same window, in a reduced size Firefox window, correctly creates both scroll bars.

      I do not use IE at all and so am unfamiliar with it.  Is there a setting in IE to fix this?  Any suggestions on why this occurs?  Thanks to all.

6
Web Server - Ask For Help / Table Cell Color -- Individual Cells
« on: August 30, 2007, 05:32:55 AM »
      I want to be able to vary the background color of the cells in a table based on the value of one of the columns for that row in the data table.
I'm assuming this can be done through CSS.  To this end I followed Bruce's instructions, created a new .css file and moved the BrowseTable class into it.  See Below:

table.myBrowseTable {
  font-family: Tahoma, Verdana,  Arial, Helvetica, sans-serif;
  font-size: 11px;
  color: #333;
  margin: 5px 0px 5px;
  border-color: #888;
  border-top: 1px solid #888;
  border-left: 1px solid #888;
  border-bottom: 1px solid #888;
  border-right: 1px solid #888;
  padding: 0px;
}

table.myBrowseTable th {
  font-weight: bold;
  padding: 2px;
  border: 1px solid #AAA;
}

table.myBrowseTable td {
  padding: 2px;
  border: 1px solid #AAA;
  height: 20px;
}


    Next I added a new class call table.myBrowseTable green:

table.myBrowseTable green {
  background-color: green;
}

     The Class for the table is now 'myTableBrowse' in NetTalk.  I am using the Conditional tab on the filed and using the Class 'table.myTableBrowse green'.

     Even after Ctrl-F5 in the browser I do not see the background color in the cell.  However Firebug shows the html for this td as :

<td class="myBrowseTable green" width="15" title="Ashford, Larry From 8/29/2007 17:30 to 8/30/2007 1:30 Business flight">

      What am I doing wrong?

7
Web Server - Ask For Help / Span Header Columns
« on: August 28, 2007, 09:40:28 AM »
     Is there a simple way to span two or more header columns (with one test entry) in a NetWebBrowse browse?

     I want to have 48 columns in the table but only 24 Header columns to represent the hours of the day with the hours broken into half hour segments in the table itself.

8
     I have a schedule browse in a standard table.  I can see where color is set on the rows in the table through the CSS file.  I want to color the individual tds (cells?) in the table for each time period scheduled in a specific row.  At the same time i want to create a tooltip for the cells in the appointment that will show details of the appointment.

     I tried using the "Conditional" tab (Display options) to set a condition (the td has a portion of an appointment) and then display and image and a tool tip.  When I run the server and view the page there is no image and the mouse doesn't provide a tool tip over the cell.  The table HTML, in Firebug, is unchanged.

    I can see how to change this information in the CSS file but I want to change this dynamically as the browse is created.  I don't know how many rows will be in the browse.  What settings should I use to get this to work?

Pages: [1]