Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFFlush only works with Forefox

Status
Not open for further replies.

MinalMoe

IS-IT--Management
Mar 25, 2004
62
GB
CFFlush works very well with Firefox in MX7, but is useless with all the other browsers.

Is there any way round ir?

Thanks
 
Huh? CFFflush works sever side, so the browser never comes in contact with it. The problem is going to be somewhere else.


Hope This Helps!

ECAR
ECAR Technologies

"My work is a game, a very serious game." - M.C. Escher
 
Try this - let me provide a test page linking to XML Web Service, waiting for a response -

Without CFFlush, the visitor stays at the Form page and only moves to the next page when the XML response has loaded.

With CFFlush, click on Start Search Button (no need to change any of the fields) and if this is done in Firefox or Opera, CFFlush operates in that the page contents prior to CFFlush are displayed and then the results drop down.

In Internet Explorer 6, Deepnet or Maxthon, the Form page goes straight to the next page, but doesn't display the page contents prior to the CFFlush. I have tried the RepeatString trick but that doesn't work.

Any ideas?
 
For me, in Opera, and IE7 the result comes back fast enough that it skip the waiting page. IE6 yells about the JavaScript and then asks if I want to continue loading the page. I click OK and get the results. The pop-ups in 6 is a little annoying, but in all of the modern browsers I don't see a problem....

In Lynx the form page looks like:

Code:
      RIGHT HOLIDAYS - Right Holidays for the Right Places....Turke.. (p1 of 2)

   [spacer.gif] [spacer.gif] [spacer.gif]
   [spacer.gif] [spacer.gif] [spacer.gif]

   [spacer.gif] [spacer.gif] [spacer.gif]

                         Create your Right Holiday

                                                              Destination


   [DLM]

                                                                   Resort


   [Antalya____]

                                                        Departure Airport


   [London Gatwick - LGW__]

                                                           Departure Date


   [27-Jul-2007]

                                                         Date Flexibility


   [+/- 1]
   Nights
   [14]

                                                                   Rating


   [2 Star]
   Board
   [Good]

                                   Rooms
                                   Adults

                                  Children

                                  Infants

   [1 Room_]

   [1 Adult_]

   [0 Children]

   [0 Infants]

                                  Aged 13+

                                 Aged 2-12

                                  Aged 0-2

                                                                   Submit


   [spacer.gif] [spacer.gif] [spacer.gif]

And submitting goes to:

Code:
                     Right Holidays - Booking both Flights and Hotels (p1 of 6)

                                  [EMBED]

   [spacer.gif] [spacer.gif] [spacer.gif]
   [spacer.gif] [spacer.gif] [spacer.gif]

                                 [Both.jpg]

      Searching for flights and hotels in Antalya leaving from London
                               Gatwick - LGW

                                 [Both.jpg]

                   Departing on 27-Jul-2007 for 14 Nights

                               Flying to DLM

                Travelling - 1 Adult, 0 Children, 0 Infants

   All times are local. Prices shown are per adult for the return flight.
                       13 return flights were found.


              Flight 1          Carrier:
   First Choice Airways

   Submit

   Outward Bound Flight
              £ 239.0           Departs:
   26-Jul-2007 at 21:35
                       Arrives:          27-Jul-2007 at 03:35

   Return Bound Flight
                                Departs:
   10-Aug-2007 at 04:35
                       Arrives:          10-Aug-2007 at 06:55


              Flight 2          Carrier:
   eXL Travel

   Submit
                     Right Holidays - Booking both Flights and Hotels (p2 of 6)
   Outward Bound Flight
              £ 274.0           Departs:
   27-Jul-2007 at 21:45
                       Arrives:          28-Jul-2007 at 03:45

   Return Bound Flight
                                Departs:
   11-Aug-2007 at 04:45
                       Arrives:          11-Aug-2007 at 06:55


              Flight 3          Carrier:
   Manos Airlines

   Submit

   Outward Bound Flight
              £ 291.0           Departs:
   27-Jul-2007 at 07:10
                       Arrives:          27-Jul-2007 at 13:20

   Return Bound Flight
                                Departs:
   10-Aug-2007 at 14:20
                       Arrives:          10-Aug-2007 at 16:45


              Flight 4          Carrier:
   ThomsonFly

   Submit

   Outward Bound Flight
              £ 294.0           Departs:
   26-Jul-2007 at 16:45
                       Arrives:          26-Jul-2007 at 22:45

   Return Bound Flight
                                Departs:
   09-Aug-2007 at 23:45
                       Arrives:          09-Aug-2007 at 02:15


              Flight 5          Carrier:
...

You have bigger fish to fry than the evil "wait" page.

The poor layout in a text browser is a result of:
- lack of Doctype
- lack of alt tags
- mix of tables and divs. Tables are not a layout tool for positioning, they are for presenting tabular data. If it's not tabular in nature don't use a table. The results page could be one big table, as the data is tabular in nature. Each row would be a flight each colum would be
Cost, Carrier, Outward Bound Flight Departs,
Outward Bound Flight Arrives, Return Bound Flight Departs, Return Bound Flight Arrives. Current the results page...

The rh.css file contains HTML element <style> only css elements should be i the CSS file. and it should be controlling positioning not the attributes of the table and div tags. The stuff like:
Code:
width="100%" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"
...is style and not semantic and should be turned into CSS put into your CSS file.


[plug=shameless]
[/plug]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top