for instance, since you are using the paragraphformat function, you  
can have a 2nd function that checks to see if there is more than 1  
open 'p' tag in the results.  If there is, then have it add a 'span'  
tag before the 2nd 'p' tag and then a closing 'span' tag at the end.   
have this span tag default to the 'hide' classname.  when the  
mouseover event occurs, have it send the row to the function and then  
the function would only toggle that rows 'rest of detaiil' information.

>> <style>
>>      .showdiv {visibility: visible; display: block;}
>>      .hidediv {visibility: hidden; display: none;}
>> </style>
>>
>>>> <script>
>>>>    function showMore(x) {
>>>>            document.getElementById('row' + x).className = "showdiv";
>>>>    }
>>>>    function showLess(x) {
>>>>                    document.getElementById('row' + x).className = 
>>>> "hidediv";
>>>>    }
>>>> </script>
>> <table>
>>      <div onMouseOver="showMore()" onMouseOut="showLess()">
>>         <cfoutput query="getStuff">
>>                 <tr><td valign="top" colspan="3"<b>#title#</b><br/>
>>                   
>> #customHideCodeFunction(ParagraphFormat(description))#></td>
>>                 </tr>                
>>         </cfoutput>
>>       </div>
>> </table>
On Mar 14, 2008, at 11:20 AM, William Seiter wrote:

> I can think of several different ways to accomplish what you are
> looking for, but each one of them would add a little bit of
> processing to the CF side of things, as well as the javascript code
> (which shouldn't slow the download at all).  How slow is your page to
> load already?
>
> William
>
>
> On Mar 14, 2008, at 12:14 PM, Don L wrote:
>
>> Sorry, William, your interpretation wasn't in 'snyc' with me.  The
>> intent was,
>> "extract each paragraph from ONE/SAME row,
>> hence, show/display the First Paragraph by default, then use
>> OnMouseOver,
>> OnMouseOut event handlers to show the rest paragraph and all the
>> rest."
>>
>> There might be <p> tag within the text and there might not be.  I
>> appreciate your effort but it may not be worth the time and may
>> slow down the loading quite a bit...
>> So, I'll probably think up something else.
>>
>> Truly appreciate it.
>>
>> Don
>>
>>> the intent is to display the first query result in full.  When the
>>> table area is moused over, then display all of the other results.
>>> Once you mouseout of the table area, only the first result should be
>>> showing.
>>>
>>> If I have your intention incorrect, please let me know and I will  
>>> try
>>> to assist further.
>>>
>>> William
>>> On Mar 14, 2008, at 11:08 AM, D
>>>
>>>>
>>
>>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

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

Reply via email to