i was gonna, but it was lateeeeeee last night... and that cfdirectory
and some little cfif statements made perfect sense :)

ahahaha

Better than a thousand hollow words, is one word that brings peace.
-- siddhartha gautama



On Fri, Jan 23, 2009 at 10:15 AM, Zaphod Beeblebrox
<[email protected]> wrote:
> yeah, I kinda figured as much.  Lightbox is interesting to me though
> since it's usually easier for me to implement it first than to create
> a page based gallery.
>
>
> On Jan 23, 2009, at 8:20 AM, Rastafari wrote:
>
>> :) this is v1 hombre...
>>
>> im going to kick it up a notch, what you see is 50% dynamic, 50%
>> static... just to get it up.
>> but yeah, i had that planned for lightbox, for sure!  check out the
>> code that does do the images...
>> kinda clunky, but thin!
>>
>> <cfset request.lastImage = request.images.recordCount />
>> <cfset request.show = 1 />
>>
>> <cfif isDefined("url.show") and len(url.show)>
>>       <cfset request.show = url.show />
>>       <cfif request.show eq request.lastImage>
>>               <cfset request.next = 1 />
>>       <cfelse>
>>               <cfset request.next = url.show + 1 />
>>       </cfif>
>> <cfelse>
>>       <cfset request.next = 2 />
>> </cfif>
>>
>> <cfif request.show eq 1>
>>       <cfset request.previous = request.lastImage />
>> <cfelse>
>>       <cfset request.previous = request.show - 1 />
>> </cfif>
>>
>> <cfinclude template = "_header.cfm" />
>>
>>       <cfoutput>
>>               <table width="740" cellpdding="2" cellspacing="2" border="0">
>>                       <tr>
>>                               <td valign="top" 
>> style="font-size:14px;color:black;"
>> align="center">
>>                                       <div align="center">
>>                                               <a 
>> href="pictureGallery.cfm?show=#request.previous#"
>> style="font-size:20px;">Previous</a>
>>                                                |
>>                                               <a 
>> href="pictureGallery.cfm?show=#request.next#"
>> style="font-size:20px;">Next</a>
>>                                       </div>
>>                                       <img 
>> src="images/#request.images.name[request.show]#"
>> style="border:2px solid black;" />
>>                                       <BR />
>>                                       <div align="center">
>>                                               <a 
>> href="pictureGallery.cfm?show=#request.previous#"
>> style="font-size:20px;">Previous</a>
>>                                                |
>>                                               <a 
>> href="pictureGallery.cfm?show=#request.next#"
>> style="font-size:20px;">Next</a>
>>                                       </div>
>>                       <!---           <cfdump var= "#request.images#"> --->
>>                               </td>
>>                       </tr>
>>               </table>
>>
>> Better than a thousand hollow words, is one word that brings peace.
>> -- siddhartha gautama
>>
>>
>>
>> On Fri, Jan 23, 2009 at 9:04 AM, Zaphod Beeblebrox
>> <[email protected]> wrote:
>>> Very nice!  But I think you should use something like lightbox for
>>> the
>>> photo gallery.
>>>
>>> http://www.huddletogether.com/projects/lightbox2/
>>>
>>>
>>> On Jan 23, 2009, at 12:21 AM, Tony wrote:
>>>
>>>> phew.
>>>>
>>>> http://www.brookemulford.org/
>>>>
>>>> v1 done.
>>>>
>>>> tw
>>>>
>>>> Better than a thousand hollow words, is one word that brings peace.
>>>> -- siddhartha gautama
>>>>
>>>>
>>>
>>>
>>
>>
>
> 

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

Archive: 
http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:286321
Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5

Reply via email to