Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jamestanner

    set variable (cfset) using onclick??

    :addition: i've seen this <a href="set_the_variable.cfm?animal=leo"> {your image} </a> set_the_variable.cfm --------------------- <cflock scope="session" type="exclusive" timeout="30"><cfset session.animal = #url.animal#></cflock> <cflocation url="my_original_page.cfm" addtoken="no"> as a...
  2. jamestanner

    set variable (cfset) using onclick??

    im trying to set a variable using cfset dependant on what link is clicked, how can i do this? i cant make it work :o( my code is: <a href="javascript:document.myform.submit()" class="newsimage" onclick="return <cfset prop_brand='fr0002'>; <cfset prop_name='Cava + Glasses'>; <cfset...
  3. jamestanner

    shopping &quot;list&quot;

    many thanks :) arrays worked a treat
  4. jamestanner

    shopping &quot;list&quot;

    i still very new to CF & would like to know how i can create a shopping "list" (not cart!)... im assuming it would be an array?? basically, as users navigate the site, id like them to be able to click on a picture (16 pics per page) it adds the item reference, name & description to the list...
  5. jamestanner

    cfinclude template &amp; cfset

    hiya, yeah, i realised the onclick etc is done client side etc so the cfsets werent always resetting the variable. i decided to parse the page in the url using catalogue.cfm?client=linksys on the content pages. in themain page my code was <CFIF isDefined("URL.client") and trim(URL.client) NEQ...
  6. jamestanner

    cfinclude template &amp; cfset

    help lol, im baffled!! i have a page structured into areas, a nav bar, footer, main content area, right section etc, my problem is with the main content pages, i have 11 pages, upon reloading the main page the content should change. my main page uses <cfinclude...

Part and Inventory Search

Back
Top