NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on March 04, 2017, 05:39:18 AM

Title: Form TABS writen first as links, a second later as tabs
Post by: Alberto on March 04, 2017, 05:39:18 AM
Please see this video

https://www.screencast.com/t/gPA3rQ3DUF

See that when I press the Change button, the form TABS are writen first as blue links to the left, and then, a second later, the TABS appears ok.

How to avoid this?

Thanks
Title: Re: How to avoid this flikering
Post by: Robert Iliuta on March 06, 2017, 11:59:39 PM
What flickering are you talking about?
When you move mouse over the row? If yes then this can be controlled by css:

.nt-browse-mouseover{background-color: #f5f5f5;} /*choose your background*/

Regards,
Robert
Title: Re: How to avoid this flikering
Post by: Alberto on March 07, 2017, 03:29:05 AM
No, see that when I press the Change button, the form TABS are writen first as blue links to the left, and then, a second later, the TABS appears ok.

May be flokering is not the right way to describe this...
Title: Re: Form TABS writen first as links, a second later as tabs
Post by: Robert Iliuta on March 07, 2017, 11:38:22 PM
what browser do you use? I have seen this a lot on Chrome...
Do you have code on Generate Form? this could also delay the form to open... Take a look in firebug to see why it open so slow.
Also try with another browser.

Robert
Title: Re: Form TABS writen first as links, a second later as tabs
Post by: Alberto on March 08, 2017, 08:47:22 AM
Have tried with firefox and same delay.
How can I see with firebug why it is so slow?
Thanks
Title: Re: Form TABS writen first as links, a second later as tabs
Post by: Robert Iliuta on March 08, 2017, 10:03:12 AM
select Net tab and see there....
Title: Re: Form TABS writen first as links, a second later as tabs
Post by: Bruce on March 09, 2017, 05:41:26 AM
this is known as a "Flash of Unstyled Content" or a FOAC.
See user group webinar #83 and #42
http://www.capesoft.com/accessories/NetTalkUserGroup.htm

cheers
Bruce
Title: Re: Form TABS writen first as links, a second later as tabs
Post by: Alberto on March 09, 2017, 11:01:16 AM
Ok, Ive seen them, but...
Any way to make it better?
My worst problem is with a form using tabs, may be the form is too big and I need to split it using buttons or somthing else.
Why ti does not happen with the accordion tab style?
Thanks
Title: Re: Form TABS writen first as links, a second later as tabs
Post by: Bruce on March 13, 2017, 01:45:13 AM
I'd need to see an example to understand you specific case Alberto.

cheers
Bruce
Title: Re: Form TABS writen first as links, a second later as tabs
Post by: Alberto on March 13, 2017, 02:52:30 AM
http://www.doctoranyplace.com/Login?lng=eng
DEMO / DEMO
Patients / Change
Title: Re: Form TABS writen first as links, a second later as tabs
Post by: Bruce on March 16, 2017, 12:27:55 AM
when I access the site from here I don't see any FOUC.

Cheers
Bruce
Title: Re: Form TABS writen first as links, a second later as tabs
Post by: Alberto on March 16, 2017, 05:42:23 AM
Did you check with changing a patient?
Title: Re: Form TABS writen first as links, a second later as tabs
Post by: Bruce on March 21, 2017, 03:04:22 AM
yes