Re: Fixing a small piece of code

2009-08-18 Thread Azadi Saryev

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:
>>
>>
>> 
>>  
>>  
>>  > username="#request.db_login#" password="#request.db_pwd#">
>>  SELECT  *
>>  FROMgalleries
>>  
>>  > id="photogallery">
>>
>>  Please
>> Select an Image Gallery
>>  
>>> value="#qGetGallery.GalleryID#">#qGetGallery.galleryname#
>>  
>>
>>
>>
>>
>>  
>> 
>>
>> > username="#request.db_login#" password="#request.db_pwd#">
>>   select *
>>   from photoadmin
>>   
>>   where galleryid = #form.galleryid# and onweb = '1'
>>   
>>   where onweb = '1'
>>   
>> 
>>
>> 
>> 
>> 
>> > border="0" />
>> 
>>  
> 
> 

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


RE: Fixing a small piece of code

2009-08-17 Thread WebSite CFTalk

What about a jQuery based gallery?

This is nice:
http://pupunzi.wordpress.com/2009/02/28/mbgallery/

Demopage:
http://www.open-lab.com/mb.ideas/index.html#mbGallery

Helge


-Original Message-
From: Toby King [mailto:ptansw...@gmail.com] 
Sent: 18. august 2009 07:41
To: cf-talk
Subject: Re: Fixing a small piece of code


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:
>
>
>
>  
>  
>  username="#request.db_login#" password="#request.db_pwd#">
>  SELECT  *
>  FROMgalleries
>  
>  id="photogallery">
>
>  Please
>Select an Image Gallery
>  
>value="#qGetGallery.GalleryID#">#qGetGallery.galleryname#
>  
>
>
>
>
>  
>
>
>username="#request.db_login#" password="#request.db_pwd#">
>   select *
>   from photoadmin
>   
>   where galleryid = #form.galleryid# and onweb = '1'
>   
>   where onweb = '1'
>   
>
>
>
>
>
>border="0" />
>
> 



~|
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:325516
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Fixing a small piece of code

2009-08-17 Thread Toby King

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:
>
>
>
>  
>  
>  username="#request.db_login#" password="#request.db_pwd#">
>  SELECT  *
>  FROMgalleries
>  
>  id="photogallery">
>
>  Please
>Select an Image Gallery
>  
>value="#qGetGallery.GalleryID#">#qGetGallery.galleryname#
>  
>
>
>
>
>  
>
>
>username="#request.db_login#" password="#request.db_pwd#">
>   select *
>   from photoadmin
>   
>   where galleryid = #form.galleryid# and onweb = '1'
>   
>   where onweb = '1'
>   
>
>
>
>
>
>border="0" />
>
> 

~|
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:325515
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Fixing a small piece of code

2009-08-17 Thread Toby King

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:
>
>
>
>  
>  
>  username="#request.db_login#" password="#request.db_pwd#">
>  SELECT  *
>  FROMgalleries
>  
>  id="photogallery">
>
>  Please
>Select an Image Gallery
>  
>value="#qGetGallery.GalleryID#">#qGetGallery.galleryname#
>  
>
>
>
>
>  
>
>
>username="#request.db_login#" password="#request.db_pwd#">
>   select *
>   from photoadmin
>   
>   where galleryid = #form.galleryid# and onweb = '1'
>   
>   where onweb = '1'
>   
>
>
>
>
>
>border="0" />
>
> 

~|
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:325514
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Fixing a small piece of code

2009-08-17 Thread Maureen

On Mon, Aug 17, 2009 at 7:18 PM, Toby King wrote:
>
> Hi there
>
> I have 2 small CF programs and cant understand why the code is not working.
>
> Basically what I am trying to do can be seen on the website:
>
>
> This is the code from the first program gallery.cfm

You had no action or method on your form  Try this:



  
  
  
  SELECT  *
  FROMgalleries
  
  

  Please
Select an Image Gallery
  
#qGetGallery.galleryname#
  




  



   select *
   from photoadmin
   
   where galleryid = #form.galleryid# and onweb = '1'
   
   where onweb = '1'
   









~|
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:325513
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Fixing a small piece of code

2009-08-17 Thread James Holmes

Try adding an "action" to the form tag.

mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

2009/8/18 Toby King :
>
> Hi there
>
> I have 2 small CF programs and cant understand why the code is not working.

>        
>          
>            Please 
> Select an Image Gallery
>            
>               value="#qGetGallery.GalleryID#">#qGetGallery.galleryname#
>                          
>          
>          
>          
>          http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325512
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Fixing a small piece of code

2009-08-17 Thread Toby King

Hello again

Not sure if I explained myself properly.  Basically I there are 3 photo 
galleries on the website.  I want a website visitor to be able to select which 
gallery to view (or they can view all the photos).

I have a drop down selection to let them select which gallery to view.

Once they have selected a gallery and pressed view gallery the images should 
appear below.  I am including the images through an include.

The problem is at present that the images are not displaying.

Any ideas as to why.

Thanks in advance.






> Hi there
> 
> I have 2 small CF programs and cant understand why the code is not 
> working.
> 
> Basically what I am trying to do can be seen on the website:
> 
> 
> This is the code from the first program gallery.cfm
> 
> 
> 
>   

> 

> 
> 
  
>  username="#request.db_login#" password="#request.db_pwd#"> 

> SELECT*

> FROM  galleries

> 

> 
  
> 

> Please Select 
> an Image Gallery 

> 
  
> #qGetGallery.
> galleryname#
> 
  
> 
  
> 
  
> 
  
> 

> 
  
> 
  
> 
  
> 
> 
> 
> 
> 
> The next piece of code is from the include program
> 
 
> 
> 
>  username="#request.db_login#" password="#request.db_pwd#">

> select *

> from photoadmin

> 

>   where galleryid = '1' and onweb = '1'

> 

> 

>   where galleryid = '2' and onweb = '1'

> 

> 

>   where galleryid = '3' and onweb = '1'

> 

> 

>   where onweb = '1'

> 
> 
> 
>  href="data/images/#pic_large#" rel="lightbox[sample]" title="Yeng Tan 
> Floral design"> />
>   
> 
> 
> www.yengtanfloraldesigner.com.au/gallery.cfm  
> 
> 
> Thanks in advance for feedback - I expect its probably just something 
> dumb that I have forgotten as I havent been doing much coding lately.   


~|
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:325511
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4