I'm building a link generator tool that creates links to data driven
glossaries. The theory is the user can cut and paste the link into either
static text on the site, or into text areas on forms to update the data
base. I can handle the quotes, but the #'s are giving me a fit.
I can output
This works fine when it's going into HTML text, but when it's
going into a cf form, the # throws off Cold Fusion. If I use
a breaking ##, that work for cf handling, but isn't right for
HTML text.
I'm not sure what you mean by a breaking ##, but if you simply use two
hashes instead of one
if you simply use two hashes instead of one within your CFOUTPUT
It's a little more complicated. It can be pasted into a form, which updates
a data base that is queried for later output, or it can be pasted straight
into HTML static copy. It needs to work for both.
I think I've solved it by
=+strHeight
+,width=+strWidth;
window.open(strURL, 'newWin', strOptions);
}
Hope that helps.
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Friday, August 24, 2007 11:03 AM
To: CF-Talk
Subject: RE: Link Generator Tool
This works fine when it's going into HTML text
IIRC, you can return false in the JS call to fix this problem. But
that's a vague memory from years ago.
--Ben Doom
Robert Harrison wrote:
I'm building a link generator tool that creates links to data driven
glossaries. The theory is the user can cut and paste the link into either
static
Here's another option. If I just use
a onclick=domyactionThis Term/a
That functions almost right. It doesn't move the base page, still does the
action, creates a link, eliminates the # issue, etc.
What it doesn't do is give me the cursor arrow on mouseover. I'm going to
look for a way
Problem solved. The trick was to get rid of the href altogether. This string
works in all browsers and passes around fine in CF and DBs or static HTML.
a
onclick=openPopUp('http://myurl.com/glossary.cfm?glossary=1term=2','glossa
ry','410','300','110','35') style=cursor: pointer;This Term /a
Of
I'm a little late here, but you could also do
a href=javascript:; onClick=action()link/a
Problem solved. The trick was to get rid of the href altogether. This string
works in all browsers and passes around fine in CF and DBs or static HTML.
a
8 matches
Mail list logo