RE: [coldbox:17937] [ColdBox: 3.6.0] Browser flash when view loads

10 views
Skip to first unread message
Message has been deleted

br...@bradwood.com

unread,
Mar 29, 2013, 6:24:31 PM3/29/13
to col...@googlegroups.com
I see the flash you speak of in Chrome.  I doubt it is related to ColdBox in any way.  Your CSS files appear to load early in the page, so it's probably no belated styles.  I would start by removing JS files to see if there's some stuff running on document.ready() that is affecting the page.  Also, you have a 404 on the http://www.beta.localvoter.org/static/js/maps/maps-user-location.js URL.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: br...@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com 


--------- Original Message ---------
Subject: [coldbox:17937] [ColdBox: 3.6.0] Browser flash when view loads
From: John Helfrich <john.h...@mavs.uta.edu>
Date: 3/29/13 5:16 pm
To: col...@googlegroups.com

Hi ColdBox gurus,


I am working on a site and currently when i switch between views the page loads, but then it flashes. This leads me to believe the page may possibly be loading twice, or its an issue i don't quite understand. I'm new to web application development so i figured id ask.

I've gone through my code and cant seem to find a double page load.

http://www.beta.localvoter.org/index.cfm

Click on a link at the top, or one of the register/sign in/about links

It's running on an AWS medium tier


Any help would be great!
Thanks,
John


--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+u...@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Jason Durham

unread,
Mar 29, 2013, 6:30:36 PM3/29/13
to col...@googlegroups.com
I would be careful displaying debugging information of your application on a public site.

Adding something as simple as a <cflog> will tell you if you an event is being run multiple times.

BTW, I disabled JS in my browser and the screen flash went away.

Jason Durham

Don Q

unread,
Mar 30, 2013, 12:15:31 PM3/30/13
to col...@googlegroups.com
I think it's because of
$("body").fadeIn('normal');

Reply all
Reply to author
Forward
0 new messages