I want to convert an existing ColdFusion Fusebox 3 design to PHP. (Not Fusebox 4 because I've seen reports of problems running that on shared hosting)
So I set up FB 3 in the root directory of a new virtual host on my development kit.
Then as a starter I tried a cut-down version of a standard...
Jason,
I read your reply re DOM 3 Load & Save Module, and have done a little research on the web.
The most recent reference I could find which had a date was Feb 2002, and that referred to DOM 3 Load & Save Module as a work in progress. Is it an offical standard yet? If not, when is it...
Starway,
In principle I'd like to agree with you. But what % of the market are DOM-compliant browsers which do not support createContextualFragment? Can you point me at some browser names (with platforms if not Windows) and some stats? I'm sure you've noticed that when even the so-called...
Hi, everybody
Got an answer at http://www.siteexperts.com/forums/viewConverse.asp?d_id=10195 -
if (typeof window.Range != 'undefined' && typeof Range.prototype.createContextualFragment == 'function') {
// your code here
}
This gives the right results in Netscape 6 (DOM with...
KevinAr18,
I'll try webxpertz.net
I searched the web ("w3c dom innerhtml") and found only 1 page which threw some light on why W3C didn't adopt something like innerHTML:
* innerHTML is HTML specific, while the DOM is meant to support any language (e.g. XML) and any environment( not...
I'd use CFINCLUDE rather than CFLOCATION to select the new page:
* if you forget to code cflocation ADDTOKEN=NO, cflocation shows CFID and CFTOKEN as URL paramaters in the browser's address bar. This is known security hazard.
* CFLOCATION clobbers cookies, session variables, etc.
In programming terms the easy way is to use the Verity search engine. The cost is disk space - Verity is a fully-inverted list system and will read the DB and build its own index containing every word except the "noise" words (and, the, etc.). A search returns the keys of the...
Don't create the shopping cart array in your CFAPPLICATION tag, create it when you add the first item to it. Maintain a per-session cookie (no EXPIRES, so the browser won't save it). Store in this whether the cart existed last time you output a page. When you get the incoming message, check...
The person who created the SQL INSERT syntax should be shot. To amending an existing SQL INSERT you have to count along the field name list and then along the value list -a nightmare if the record is large. INSERT should have used the same name-value pair notation as UPDATE.
I use a custom tag...
The W3C Dom deprecates the innerHTML property supported by IE. A few articles recommend using for DOM-compliant browsers a subroutine which uses createContextualFragment. But createContextualFragment is not part of the W3C DOM, it is a Netscape specific add-on which is supported by all...
eSP (or any other contributor),
Did you find an answer?
I've been searching the web like crazy and have found no real equivalent.
I suspect one has to look separately at the main uses of CFPARAM and find a functional equivalent (if any) for each. I think the 2 main uses of CFPARAM are:
*...
In my frustration I didn't spell out what I was getting as accurately as I should have.
Page URL: http:/..../directory_name/page.cfm
Browser's address bar: http:/..../directory_name/page.cfm
Coding in page:
<cfoutput> .. <a href="##anchor_name" title=" .. "> .. </a> ...
Looks like your options are:
(1) Create per-session cookie, i.e. one which expires when the user closes the browser. Just omit the EXPIRES attribute from CFCOOKIE.
(2) Kill it yourself at some suitable point by CFCOOKIE EXPIRES="NOW"
The only thing I've noticed is that you're changing chr(10) to <BR>. If the users hit CR in a text area, the value contains CRLF at that point, i.e. chr(13)chr(10).
It may help if you change all "#chr(13)chr(10)#" to "<br>".
tleish,
I tried what you suggested and the result was that the for each such link the status bar showed
directory_name/#
instead of
directory_name/page.cfm#
When I checked the generated HTML using View Source, it looked OK:
<a href="#target_name" title="Title...
I've tried to refererence Microsoft VBScript Regular Expressions and it doen't show up in my Project References menu. So how do I make it accessible?
I use:
* VB5
* Win 98
I've downloaded version 5.6 of the MS scripting engine and included VBSCRIPT.DLL as a Component but the only...
I've tried to refererence Microsoft VBScript Regular Expressions and it doen't show up in my Project references menu. So how do I make it accessible?
I use:
* VB5
* Win 98
I've downloaded version 5.6 of the scripting engine and included that as a Component but all that gives me is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.