function zxPrintf( text )
{
var arg = arguments, a = 0,
i, c, b = false, r = '', pad, v, j, pc, pa, ptxt, app = false;
if ( !text || text === null )
{ return ""; }...
Aside from the mentioned additions the function is supposed to behave the same as the C/C++ version but instead of printing into a console it returns the resulting string. I didn't bother commenting...
I can't remember why I needed this but I've made a JavaScript version as close to the real one as possible, I added 2 parameters
b = boolean value
B = Binary value (supports %010B etc)
Well here is my current solution.-Ignore the colour scheme, I'm using it for clarity while I build the site - will change once I've got the fundamentals in.
Again only 2 files, will be more once I...
Never mind, going for alternative method.
I'm blocking everything below IE8 with a conditional comment and everything else get's the id "w3" applied to the body tag allowing me to specify non-ie...
Thanx, I forgot all about this thread and figured it out on my own. As for the implied logic, well I was just trying to get the code to work first then worry about the implied logic because I was...
There are only 2 files, their contents are displayed below. If someone can provide a Standards Compliant solution then I'd be grateful.
I'm not in a rush so take your time, I'll put the sitemap in...
I originally posted problem here:
http://www.webdeveloper.com/forum/showthread.php?t=263242
I thought it was resolved because I tried it in firefox which was behaving correctly with
Oh and before anyone says it, yes I know I could've used ul and li but this was a deliberate design choice. The reason: I want the flexibility to switch between tabular and listed format whenever I...
I'm making a function that uses a dynamically created form and iframe to simulate ajax without the domain constraints. I've gotten the user function to call but my problem is that I cannot find any...
Just finished this function and thought I'd put it up for anyone looking for one like this.
It was quite the struggle finding out how a float should be recorded as hex and decided set the title as...
I'm in the middle of writing a cross-browser set of local functions which should enable you to do exactly what you've asked about, when I finish I will post the download address on the following...
Thanks, however I was not using a hard coded absolute path, it was a combo of a recorded root (based on initial script tag src) and hard coded relative path which is then correctly converted by a...
Never mind, turns out initWithFile just doesn't like URLs but initWithPath gave me no problems, I forgot I changed it thinking it would behave better in unforeseen scenarios.
I'm getting this error:
== NS_ERROR_XPC_BAD_CONVERT_JS ==
Line: 79
Message: Could not convert JavaScript argument arg 0 [nsILocalFile.initWithFile]
For the life of me I cannot figure out what the...