Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
myersonconsulting #1
CFTREEITEM target attribute
I'm using a CFTREE structure, and I'd like to send the selected value as part
of the URL to an iframe. The target attribute within cftreeitem seems to be the
way to do this, but it seems that regardless of the value of the target
attribute, the URL opens in the same (parent) window instead of the iframe.
Code appears below. Any thoughts? Thanks.
<cftreeitem query="rs_categories"
value="category_id, photo_id"
display="category_name, image_title"
queryasroot="no"
parent="imageSelect"
target=",childFrame"
href=" ,viewer.cfm?image_id=#rs_categories.image_id#&">myersonconsulting Guest
-
Using Javascript in CFTreeItem href???
Greetings all, We're using CFTree with CFTreeItem, and we're looking for the following functionality: when the user click on a branch in the tree,... -
question Mark at the end CFTreeitem
I'm New to CFTree Tag, I got it working in the way i want it but i don't seem to be able to get the ?mark at the end of the url to go away what am i... -
cftreeitem value problem
Using the following tag: cftreeitem value='#File_ID#' display='#File_Full_Name# ' parent='#Client_Name#' href='tab.cfm' queryasroot='No'... -
Urgent Help with Target Attribute not working in Href
What is wrong with this href? no matter what I do it will not work! Okay I need the frameset for this site, I also need all changes to open up in... -
Issue with cftreeitem href attribute
Hello, In CFMX 7, I'm trying to code a simple navigation tree and link to different products (pages). I use the href attribute in cftreeitem and... -
Mike Nimer #2
Re: CFTREEITEM target attribute
try removing the , from the target attribute. this should work, we do the
same thing for the code snippet explorer in the getting started experience.
(the experience code ships with CF, so you can see the source)
---nimer
"myersonconsulting" <webforumsuser@macromedia.com> wrote in message
news:d0bdcc$98i$1@forums.macromedia.com...> I'm using a CFTREE structure, and I'd like to send the selected value as
> part
> of the URL to an iframe. The target attribute within cftreeitem seems to
> be the
> way to do this, but it seems that regardless of the value of the target
> attribute, the URL opens in the same (parent) window instead of the
> iframe.
> Code appears below. Any thoughts? Thanks.
>
> <cftreeitem query="rs_categories"
> value="category_id, photo_id"
> display="category_name, image_title"
> queryasroot="no"
> parent="imageSelect"
> target=",childFrame"
> href=" ,viewer.cfm?image_id=#rs_categories.image_id#&">> >
Mike Nimer Guest
-
JohnnyKrisma #3
Re: CFTREEITEM target attribute
I had this same problem, in your code try putting a space before your target
attribute. I just had the comma and had the same experience you had. putting
the space in fixed mine.
target=" ,childFrame"
JohnnyKrisma Guest



Reply With Quote

