Re: SPRY Question

2007-06-06 Thread Doug Bezona
>From the Spry docs:


In some browsers, loading pages over a slow connection can result
in the user briefly seeing the unprocessed regions and data references on the
page before the document's onload notification is
sent. To hide unprocessed regions and data references, you can provide a CSS
rule for the SpryHiddenRegion class:
.SpryHiddenRegion
{visibility:hidden;}






Using this technique, the CSS rule hides the Spry regions marked with this
class when the page loads. When the Spry data is finished processing, Spry
strips off the SpryHiddenRegion class and the finished Spry content appears.


An alternative way to hide just the data references, as opposed to the whole
tag, is to use the spry:content attribute as a substitute for a data
reference. Because the data reference is the value of the spry:content
attribute, it is not visible when the page loads.







On 6/6/07, Chad McCue <[EMAIL PROTECTED]> wrote:
>
> I have SPRYs page flipping functionality running on my app without any
> issues. My question is when the page first loads it flashes my code
> quickly before it loads the data.
>
> So the page might flash
>
> {FIRSTNAME} {LASTNAME}  {DATEENTERED}
>
> Then it will load the real values
>
> Is there anyway of avoiding this and for the {FIRSTNAME}, etc not show
> up?
>
>
> 

~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280225
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


SPRY Question

2007-06-06 Thread Chad McCue
I have SPRYs page flipping functionality running on my app without any
issues. My question is when the page first loads it flashes my code
quickly before it loads the data.
 
So the page might flash 
 
{FIRSTNAME} {LASTNAME}  {DATEENTERED}
 
Then it will load the real values
 
Is there anyway of avoiding this and for the {FIRSTNAME}, etc not show
up?


~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280223
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4