CF Presenter under X-rays
(or CF Presenter without its skin)
All the changes were possible thanks to the implementation of CSS in flash forms. The code is exactly the same in both examples. The only difference is that one has CSS and the other is in its default plain vanilla skin that comes with cfform.
Although the CSS properties have to be placed inline and it's not possible to have them in an external file, the ability of skin our forms with CSS is a very nice feature.
PS: the source is coming
Bolo
Alex
twoedge
<br/>
It is very noticeably different, but looks good. As always, the fight between performance and appearance wages on...
Nahuel
This is on purpuse, it is part of the style.
In the accordion I added the style "openDuration:1500;" to make the transition between the slides slower.
When you see the non-styled version you get the default speed of the accordion.
Tim Cunningham
I have been searching the web and the MM docs, to see if there is some onresize event or action script method to dynamically resize the cfform. If found this action script: http://www.mustardlab.com/developer/flash/objectresize/ but don't see how to incorporate it into a cfform.
Tim Cunningham
Felipe
Just a tip:
You can create a "css.cfm" page that set the style as varables ie:
<cfset stinput = 'background-color: ##cc3300; background-alpha:56;
border-color:##ffffff; border-cap-color:##ffffff;'>
Then include it with cfinclude, so you can set the style like this:
<cfinput type="text" name="email" style="#stinput#">
So when you chage something in the css.cfm page it will update all your presentation.
John Farrar
Tom
Nahuel
The code is available for download in the following link:
http://www.asfusion.com/blog/entry/cf-presenter-source-code
Brian