Page 4 of 6

Re: FiveWin Web Interface

PostPosted: Tue Oct 18, 2011 7:29 pm
by Antonio Linares
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...

Re: FiveWin Web Interface

PostPosted: Tue Oct 18, 2011 7:33 pm
by norberto
Antonio, very thanks, working now in IE9. best regards. more fast too... :D

Re: FiveWin Web Interface

PostPosted: Tue Oct 18, 2011 7:41 pm
by norberto
Antonio, but ie9 is more secure, or not? see: (one of several overview):

Image

Re: FiveWin Web Interface

PostPosted: Tue Oct 18, 2011 8:26 pm
by Enrico Maria Giordano
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

Re: FiveWin Web Interface

PostPosted: Wed Oct 19, 2011 7:28 am
by Antonio Linares
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

Re: FiveWin Web Interface

PostPosted: Wed Oct 19, 2011 8:39 am
by Enrico Maria Giordano
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

Re: FiveWin Web Interface

PostPosted: Wed Oct 19, 2011 12:01 pm
by Antonio Linares
Working on records edition:

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

Image

Re: FiveWin Web Interface

PostPosted: Wed Oct 19, 2011 1:15 pm
by norberto
Antonio, very nice. just for information : dont work in IE10 windows 8 preview.

Re: FiveWin Web Interface

PostPosted: Wed Oct 19, 2011 5:30 pm
by Antonio Linares
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

Re: FiveWin Web Interface

PostPosted: Wed Oct 19, 2011 5:42 pm
by Enrico Maria Giordano
:-(

Anyway, many thanks for trying. :-)

EMG

Re: FiveWin Web Interface

PostPosted: Thu Oct 20, 2011 8:53 am
by StefanHaupt
Antonio,

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

[img][IMG]http://img850.imageshack.us/img850/1892/firefoxo.jpg[/img]

Re: FiveWin Web Interface

PostPosted: Thu Oct 20, 2011 9:13 am
by Antonio Linares
Stefan,

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

Thanks! :-)

Re: FiveWin Web Interface

PostPosted: Fri Oct 21, 2011 6:46 am
by Antonio Linares
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

Re: FiveWin Web Interface

PostPosted: Fri Oct 21, 2011 9:20 am
by Antonio Linares
Sandbox: a tool to test html, javascript, etc.

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

Image

See how easily we have built the sandbox using FiveWin Web Interface:
Code: Select all  Expand view
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()" );  
}      

Re: FiveWin Web Interface

PostPosted: Tue Oct 25, 2011 2:05 pm
by James Bott
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