how about showing a thumbnail for each gallery (linked to gallery page)
instead of a drop-down list? that will be more visually appealing, and
requires only one click instead of 2. you can make it even more
interesting with displaying a random thumbnail each page visit...

you can leave the drop-down list in specific gallery page(s), so users
can jump directly to another gallery instead of going back to galleries
thumbnails page.

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/


On 18/08/2009 13:41, Toby King wrote:
> 
> The site www.yengtanfloraldesigner.com.au is starting to look better (well 
> the galleries can now be selected.
> 
> Just wondering how you would recommend improving the way the galleries are 
> displayed - I'm thinking probably keep the drop down list available (somehow 
> show the selection made - somehow highlight this selection) but have the drop 
> down list still there so that a person can make another selection if required.
> 
> I think it could be done not sure exactly how yet.
> 
> What do you think?
> 
> Any ideas on how this can be done would be very much appreciated.
> 
> 
> 
> 
> 
> 
>> You had no action or method on your form  Try this:
>>
>>
>> <CFIF IsDefined("form.submit")>
>>  <cfinclude template="inc_photo_gallery.cfm">
>>  <cfelse>
>>  <cfquery name="qGetGallery"  datasource="#request.db_dsn#"
>> username="#request.db_login#" password="#request.db_pwd#">
>>  SELECT          *
>>  FROM            galleries
>>  </cfquery>
>>  <form action="gallery.cfm" method="post" name="photogallery"
>> id="photogallery">
>>    <select name="GalleryID">
>>      <option value="Please Select an Image Gallery" selected>Please
>> Select an Image Gallery</option>
>>      <cfoutput query="qGetGallery">
>>        <option
>> value="#qGetGallery.GalleryID#">#qGetGallery.galleryname#</option>
>>      </cfoutput>
>>    </select>
>>    <br />
>>    <br />
>>    <input type="submit" name="submit" value="Display Gallery">
>>  </form>
>> </cfif>
>>
>> <cfquery name="qgetpics" datasource="#request.db_dsn#"
>> username="#request.db_login#" password="#request.db_pwd#">
>>   select *
>>   from photoadmin
>>   <cfif isdefined("form.galleryid">
>>       where galleryid = #form.galleryid# and onweb = '1'
>>   <cfelse>
>>       where onweb = '1'
>>   </cfif>
>> </cfquery>
>>
>> <p>
>> <div class="gallery">
>> <cfoutput query="qgetpics">
>> <a href="data/images/#pic_large#" rel="lightbox[sample]" title="Yeng
>> Tan Floral design"><img src="data/thumbnails/#pic_thumbnail#"
>> border="0" /></a></cfoutput>
>> <!--[if lte IE 6]><script src="engine/js/pngfix_vlb.js"
>> type="text/javascript"></script><![endif]-->
>> </div> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:325517
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