To whet your appetite, here is some custom js using jquery that will take
any link with a class of modal-flyout and open a modal flyout with either
the contents of the remote href (ajax) or the div that it points to:

<script type="text/javascript">
 $('.modal-flyout').boxy();
</script>

A markup example:

<a href="http://myserver.com/flyoutpage/"; title="Title for the modal box"
class="modal-flyout">Some link</a>


Example two:

<a href="#someDiv" title="Title for the modal box" class="modal-flyout">Some
link</a>
<div id="someDiv">
 Content in here appears in flyout.
</div>

For me, this makes cfwindow utterly redundant.

Dominic


2009/6/23 Don L <[email protected]>

>
> >>>Most of these Ajax features are pretty bloated in terms of the amount
> >of JS
> >and CSS that need to be downloaded.
> >
> >Exactly, personally I do all my "Ajax" with about 15 lines of code ;-)
>
> Are you talking about using non-cf8 built-in ajax tags or ajax functions
> that you built on your own using popular js libraries?  If so, let me learn
> something from you, care to show us some of your nifty code for this?
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323805
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to