I want to use cflocation to open up a page in a thickbox window. Normally, you can just add class="thickbox" to any old link and it will open up that page in a thickbox. Is it possible to redirect a user to a thickbox with cflocation?
I use <cflocation> for redirects after an action. I am assuming that you would just need to add the class="thickbox" in the anchor tag. I don't think you need <cflocation>. Please clarify, if I am not understanding.
Here's my code: <cfif NOT listlen(jobidlistfinal)> <cflocation url="index.cfm?tagidlist=#tagidlist#&error=yada yada."/> </cfif> I can't add class = "thickbox" to that. Is there another way to do it?
Don't mix up the two: I see what you are doing here but try not to send the error text as a URL Variable: <cfif NOT listlen(jobidlistfinal)> <cflocation url="index.cfm?tagidlist=#tagidlist#"/> </cfif> Then in your refreshed page have an IF statement that puts in the class accordingly
I don't think thickbox works that way. You have to somehow add the class in the href tag or on the page that is doing the redirect rather than the thickbox page that is redirected too.
thickbox allows images to be displayed in the web-page whilst 'fading' the background....it's pretty cool actually. Ok forumposters, you're CFLocation goes to a page, that page has the href with the class. In case you want it as a result of something, but in a url variable in the cflocation then place an IF statement in the resulting page. If the URL variable exists, then add the class attribute to the href Hope This Helps, but it would be cool if you put up the code