FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FiveWin Web Interface
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWin Web Interface
Posted: Tue Oct 18, 2011 07:29 PM

It is really surprising how Chrome is much more faster than IE...

Just move the mouse over the browse on both and see the difference yourself.

Sincerelly I can not understand how Microsoft does not speed up IE...

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 566
Joined: Thu Aug 30, 2007 03:40 PM
Re: FiveWin Web Interface
Posted: Tue Oct 18, 2011 07:33 PM

Antonio, very thanks, working now in IE9. best regards. more fast too... :D

Posts: 566
Joined: Thu Aug 30, 2007 03:40 PM
Re: FiveWin Web Interface
Posted: Tue Oct 18, 2011 07:41 PM
Antonio, but ie9 is more secure, or not? see: (one of several overview):

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: FiveWin Web Interface
Posted: Tue Oct 18, 2011 08:26 PM
Antonio Linares wrote:It is really surprising how Chrome is much more faster than IE...

Just move the mouse over the browse on both and see the difference yourself.

Sincerelly I can not understand how Microsoft does not speed up IE...


Please look at the board index of this forum. IE is very fast in coloring the line under the mouse position. So it seems a problem in Fivewin Web code, isn't it?

EMG
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWin Web Interface
Posted: Wed Oct 19, 2011 07:28 AM

Enrico,

When we move the mouse over the browse, we respond to the event tablerow onmouseover, and we replace its CSS class. It is just one line of source code. There is no other way to do it:

<tr onMouseOver="this.className='over'" onMouseOut="this.className='odd'" ...

The painting speed difference comes from the browsers themselves

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: FiveWin Web Interface
Posted: Wed Oct 19, 2011 08:39 AM

Sorry, I repeat: check the board list using IE. It is very fast. So it must be another (correct?) way to color the lines. It should be in the forum source code.

EMG

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWin Web Interface
Posted: Wed Oct 19, 2011 12:01 PM
Working on records edition:

Please select "Project", "Open", "Edit":
http://www.fivetechsoft.com/fiveweb

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 566
Joined: Thu Aug 30, 2007 03:40 PM
Re: FiveWin Web Interface
Posted: Wed Oct 19, 2011 01:15 PM

Antonio, very nice. just for information : dont work in IE10 windows 8 preview.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWin Web Interface
Posted: Wed Oct 19, 2011 05:30 PM
Enrico Maria Giordano wrote:Sorry, I repeat: check the board list using IE. It is very fast. So it must be another (correct?) way to color the lines. It should be in the forum source code.

EMG


Enrico,

Inspecting the board list we found that it uses <li> hover to change the color. Unfortunately we have to use <tr> for a table.

Not sure if there is a <tr> hover too...

Edited: It seems as it is not supported by IE http://www.java2s.com/Code/HTMLCSS/Table-Style/tablerowhover.htm
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: FiveWin Web Interface
Posted: Wed Oct 19, 2011 05:42 PM

Anyway, many thanks for trying. :-)

EMG

:-(

Posts: 824
Joined: Thu Oct 13, 2005 07:39 AM
Re: FiveWin Web Interface
Posted: Thu Oct 20, 2011 08:53 AM
Antonio,

it doesn´t work with with Firefox 7.01, see the picture

[IMG]http://img850.imageshack.us/img850/1892/firefoxo.jpg" alt="" loading="lazy">
kind regards

Stefan
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWin Web Interface
Posted: Thu Oct 20, 2011 09:13 AM

Stefan,

We have to try it with all navigators and fix the differences. For now, only Chrome is guaranteed to work fine.

Thanks! :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWin Web Interface
Posted: Fri Oct 21, 2011 06:46 AM
Saving and restoring config options:

You can already change the menu color and it will be automatically restored the next time you load it:
"Options", Menu background color (only this one by now)

http://www.fivetechsoft.com/fiveweb
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: FiveWin Web Interface
Posted: Fri Oct 21, 2011 09:20 AM
Sandbox: a tool to test html, javascript, etc.

Please select "Tools", "SandBox":
http://www.fivetechsoft.com/fiveweb



See how easily we have built the sandbox using FiveWin Web Interface:
Code (fw): Select all Collapse
var oDiv, oMemo;

function SandBox()
{
   oDlg = new Dialog( "SandBox", 1000, 600 );
   
   Say( 50, 10, "Result:", oDlg );
   oDiv = Div( 75, 10, oDlg, 480, 460 );

   Say( 50, 500, "Input:", oDlg );
   oMemo = TextArea( 75, 500, "", oDlg, 480, 460 );
   oMemo.value = "<html>" + CRLF + 
                 "<head>" + CRLF + 
                 "<link rel='stylesheet' type='text/css' href='styles.css'>" + CRLF + 
                 "<script type='text/javascript' src='fivewin.js'></script>" + CRLF + 
                 "</head>" + CRLF + 
                 "<body>" + CRLF +
                 "<h1>FiveWin Web Interface</h1>" + CRLF +
                 "<h3>Hello world!</h3>" + CRLF +
                 "</body>" + CRLF +
                 "</html>"; 
   
   oDiv.innerHTML = oMemo.value;
   
   Button( 550, 380, "Run", oDlg, 100, 40, "oDiv.innerHTML = oMemo.value" );  
   Button( 550, 510, "End", oDlg, 100, 40, "oDlg.End()" );  
}
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: FiveWin Web Interface
Posted: Tue Oct 25, 2011 02:05 PM

Antonio,

The sandbox looks great. However, maybe I don't understand it, but the Run button is not showing the code in the edit screen (the displayed text is different than what is in the edit display). This is not the case in your included screenshot, but it is the case when I run the code example. Please explain.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10