List Info

Thread: RE: Rounded Corners Custom Element?




RE: Rounded Corners Custom Element?
user name
2007-05-22 16:21:27
Yeah, your render handler would look something like this:


<cfoutput>
#attributes.elementinfo.icon_elementprops##attributes.elemen
tinfo.icon_edit#
#attributes.elementinfo.icon_approve#
</cfoutput>

<cfif session.user.authormode is 1>
 <cfoutput>
 <div onMouseOver="this.style.cursor='hand'"
	 onMouseOut="this.style.cursor='default'"
	onClick="#attributes.elementinfo.authormodeaction#&quo
t;>
 </cfoutput>
</cfif>

<cfoutput>
[html containing wrapper graphics]
#attributes.elementinfo.elementdata.caption#

#attributes.elementinfo.elementdata.textblock#
[end html containing wrapper graphics]
</cfoutput>

<cfif session.user.authormode is 1>
<cfoutput></div></cfoutput>
</cfif>

Regards,
Steve Drucker
CEO
Fig Leaf Software
Adobe / Google / Paperthin Premier Consulting & Training
Partners
http://www.figleaf.com
http://training.figleaf.c
om


-----Original Message-----
From: commonspot-bounceschattyfig.figleaf.com
[mailto:commonspot-bounceschattyfig.figleaf.com] On
Behalf Of Linda
Levenhagen
Sent: Tuesday, May 22, 2007 3:07 PM
To: commonspotchattyfig.figleaf.com
Subject: [Commonspot] Rounded Corners Custom Element?

Hi all,

 

I was wondering whether anyone has created a custom element
for a text box
with rounded corners? We're interested in doing so and hope
we won't need to
reinvent the wheel. 

 

To use the element, a content contributor would identify the
color they
wanted the box to be. They would enter text or info using
the rich text
editor. The element would do the rest.  The contributor
could either specify
height and width or the element could identify a fixed width
and let the box
grow lengthwise based on the amount of text or fields
entered.

 

If anyone's done this in a different way other than a custom
element, we'd
be interested in hearing about that too.

 

Thanks,

 

Linda

 

Linda Levenhagen

University of WI-Milwaukee

Information & Media Technologies

Sabin Hall 480

Milwaukee, WI 53201-0413

 

llluwm.edu

(414)229-6900 Office

 

 

_______________________________________________
Commonspotchattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/commonspot


Brought to you by Fig Leaf Software
Premier Authorized Paperthin Consulting and Training http://www.figleaf.com
http://training.figleaf.c
om

This email has been processed by SmoothZap -
www.smoothwall.net

_______________________________________________
Commonspotchattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/commonspot


Brought to you by Fig Leaf Software
Premier Authorized Paperthin Consulting and Training
http://www.figleaf.com
http://training.figleaf.c
om

RE: Rounded Corners Custom Element?
user name
2007-05-22 15:26:53
In case you don't have the html/css worked out:

http://www.neuroticweb.com/recursos/css-rounded-box/

Lucius Kahng
Manager Information Systems
703-841-3206(W) - 703-313-8146(M)
National Electrical Manufacturers Association



-----Original Message-----
From: commonspot-bounceschattyfig.figleaf.com
[mailto:commonspot-bounceschattyfig.figleaf.com] On
Behalf Of Steve Drucker
Sent: Tuesday, May 22, 2007 5:21 PM
To: Commonspot Mailing List
Subject: RE: [Commonspot] Rounded Corners Custom Element?

Yeah, your render handler would look something like this:


<cfoutput>
#attributes.elementinfo.icon_elementprops##attributes.elemen
tinfo.icon_edit#
#attributes.elementinfo.icon_approve#
</cfoutput>

<cfif session.user.authormode is 1>
 <cfoutput>
 <div onMouseOver="this.style.cursor='hand'"
         onMouseOut="this.style.cursor='default'"
       
onClick="#attributes.elementinfo.authormodeaction#"
;>
 </cfoutput>
</cfif>

<cfoutput>
[html containing wrapper graphics]
#attributes.elementinfo.elementdata.caption#

#attributes.elementinfo.elementdata.textblock#
[end html containing wrapper graphics]
</cfoutput>

<cfif session.user.authormode is 1>
<cfoutput></div></cfoutput>
</cfif>

Regards,
Steve Drucker
CEO
Fig Leaf Software
Adobe / Google / Paperthin Premier Consulting & Training
Partners
http://www.figleaf.com
http://training.figleaf.c
om


-----Original Message-----
From: commonspot-bounceschattyfig.figleaf.com
[mailto:commonspot-bounceschattyfig.figleaf.com] On
Behalf Of Linda
Levenhagen
Sent: Tuesday, May 22, 2007 3:07 PM
To: commonspotchattyfig.figleaf.com
Subject: [Commonspot] Rounded Corners Custom Element?

Hi all,



I was wondering whether anyone has created a custom element
for a text box
with rounded corners? We're interested in doing so and hope
we won't need to
reinvent the wheel.



To use the element, a content contributor would identify the
color they
wanted the box to be. They would enter text or info using
the rich text
editor. The element would do the rest.  The contributor
could either specify
height and width or the element could identify a fixed width
and let the box
grow lengthwise based on the amount of text or fields
entered.



If anyone's done this in a different way other than a custom
element, we'd
be interested in hearing about that too.



Thanks,



Linda



Linda Levenhagen

University of WI-Milwaukee

Information & Media Technologies

Sabin Hall 480

Milwaukee, WI 53201-0413



llluwm.edu

(414)229-6900 Office





_______________________________________________
Commonspotchattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/commonspot


Brought to you by Fig Leaf Software
Premier Authorized Paperthin Consulting and Training http://www.figleaf.com
http://training.figleaf.c
om

This email has been processed by SmoothZap -
www.smoothwall.net

_______________________________________________
Commonspotchattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/commonspot


Brought to you by Fig Leaf Software
Premier Authorized Paperthin Consulting and Training
http://www.figleaf.com
http://training.figleaf.c
om

May is National Electrical Safety Month! Please visit the
Electrical Safety Foundation International's website at http://www.electrica
l-safety.org for electrical safety information and
checklists for your home and office!
_______________________________________________
Commonspotchattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/commonspot


Brought to you by Fig Leaf Software
Premier Authorized Paperthin Consulting and Training
http://www.figleaf.com
http://training.figleaf.c
om

RE: Rounded Corners Custom Element?
user name
2007-05-22 15:29:08
I'd be remiss in not mentioning this link as well. (For the
highest quality rounded squares in CSS)

http://www.drivl.
com/posts/view/700



Lucius Kahng
Manager Information Systems
703-841-3206(W) - 703-313-8146(M)
National Electrical Manufacturers Association



-----Original Message-----
From: commonspot-bounceschattyfig.figleaf.com
[mailto:commonspot-bounceschattyfig.figleaf.com] On
Behalf Of Steve Drucker
Sent: Tuesday, May 22, 2007 5:21 PM
To: Commonspot Mailing List
Subject: RE: [Commonspot] Rounded Corners Custom Element?

Yeah, your render handler would look something like this:


<cfoutput>
#attributes.elementinfo.icon_elementprops##attributes.elemen
tinfo.icon_edit#
#attributes.elementinfo.icon_approve#
</cfoutput>

<cfif session.user.authormode is 1>
 <cfoutput>
 <div onMouseOver="this.style.cursor='hand'"
         onMouseOut="this.style.cursor='default'"
       
onClick="#attributes.elementinfo.authormodeaction#"
;>
 </cfoutput>
</cfif>

<cfoutput>
[html containing wrapper graphics]
#attributes.elementinfo.elementdata.caption#

#attributes.elementinfo.elementdata.textblock#
[end html containing wrapper graphics]
</cfoutput>

<cfif session.user.authormode is 1>
<cfoutput></div></cfoutput>
</cfif>

Regards,
Steve Drucker
CEO
Fig Leaf Software
Adobe / Google / Paperthin Premier Consulting & Training
Partners
http://www.figleaf.com
http://training.figleaf.c
om


-----Original Message-----
From: commonspot-bounceschattyfig.figleaf.com
[mailto:commonspot-bounceschattyfig.figleaf.com] On
Behalf Of Linda
Levenhagen
Sent: Tuesday, May 22, 2007 3:07 PM
To: commonspotchattyfig.figleaf.com
Subject: [Commonspot] Rounded Corners Custom Element?

Hi all,



I was wondering whether anyone has created a custom element
for a text box
with rounded corners? We're interested in doing so and hope
we won't need to
reinvent the wheel.



To use the element, a content contributor would identify the
color they
wanted the box to be. They would enter text or info using
the rich text
editor. The element would do the rest.  The contributor
could either specify
height and width or the element could identify a fixed width
and let the box
grow lengthwise based on the amount of text or fields
entered.



If anyone's done this in a different way other than a custom
element, we'd
be interested in hearing about that too.



Thanks,



Linda



Linda Levenhagen

University of WI-Milwaukee

Information & Media Technologies

Sabin Hall 480

Milwaukee, WI 53201-0413



llluwm.edu

(414)229-6900 Office





_______________________________________________
Commonspotchattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/commonspot


Brought to you by Fig Leaf Software
Premier Authorized Paperthin Consulting and Training http://www.figleaf.com
http://training.figleaf.c
om

This email has been processed by SmoothZap -
www.smoothwall.net

_______________________________________________
Commonspotchattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/commonspot


Brought to you by Fig Leaf Software
Premier Authorized Paperthin Consulting and Training
http://www.figleaf.com
http://training.figleaf.c
om

May is National Electrical Safety Month! Please visit the
Electrical Safety Foundation International's website at http://www.electrica
l-safety.org for electrical safety information and
checklists for your home and office!
_______________________________________________
Commonspotchattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/commonspot


Brought to you by Fig Leaf Software
Premier Authorized Paperthin Consulting and Training
http://www.figleaf.com
http://training.figleaf.c
om

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )