Another way would be to create a function with a regular expression to parse
in/out the ampersand as the page calls prior to the functionality...leave it
out of the link (for example, use '$$$' and then have the RE insert ' & '
above the query or function where you need it to be ' & '). Clunky, but
would work.

I don't mean to be smart, and someone almost said this already, but you
should know that CF considers the "&" as a delimiter to indicate that there
is a second (or third) variable to follow the first (eg.
index.cfm?cat=shorts&type=summer) whether you like it or not, so right now
it is thinking you have just defined a new variable called "jackets" for
which you have set no value, which is why it drops jackets from the page
locator. The other way would be to code "and" in your link, while displaying
& in your graphic.

My advice would be avoid "&" altogether and use "and", with or without
spaces...or use URLEncodedFormat, or use an expression to parse in the value
you need, in that order.

D

-----Original Message-----
From: Will Tomlinson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 01, 2005 8:11 PM
To: CF-Talk
Subject: Re: How to make this URL variable work!


I should've been more specific. I'm hard-coding this category name into the
link. It isn't a variable at all. I tried using %20 for the spaces, that
didn't work either. I guesss I COULD fix it by making the category name
sweatpants&jackets with no spaces, but that seems lame. Give it a whirl by
clicking sweatpants & jackets.

http://209.200.88.199/index.cfm


Any ideas?

Thanks,
Will



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192715
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to