www.webdeveloper.com

Search:

Type: Posts; User: awsdert

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,276

    This any better? function zxPrintf( text )...

    This any better?


    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 ""; }...
  2. Replies
    3
    Views
    1,276

    Aside from the mentioned additions the function...

    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...
  3. Replies
    3
    Views
    1,276

    printf function

    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)

    ...
  4. Replies
    5
    Views
    1,482

    Well here is my current solution.-Ignore the...

    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...
  5. Replies
    5
    Views
    1,482

    Ignore this post

    Ignore this post
  6. Replies
    5
    Views
    1,482

    Never mind, going for alternative method. I'm...

    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...
  7. Replies
    17
    Views
    5,195

    Which post is that? I only see one post under...

    Which post is that? I only see one post under your name and that's the one you just posted, unless you have a secondary username?
  8. Replies
    5
    Views
    1,482

    Don't remember but it certainly produces most of...

    Don't remember but it certainly produces most of the correct styling.
    Sorry about late reply, had to go to work.
  9. Thread: Logic Error...

    by awsdert
    Replies
    1
    Views
    884

    I no longer need the answer as I've scrapped this...

    I no longer need the answer as I've scrapped this project but if anyone does find a solution I would still like to know for future reference.
  10. Replies
    17
    Views
    5,195

    Thanx, I forgot all about this thread and figured...

    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...
  11. Replies
    5
    Views
    1,482

    IE7 - Problem Justifying Navigation

    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...
  12. Replies
    1
    Views
    480

    Never mind, the reason it wouldn't work is...

    Never mind, the reason it wouldn't work is because I forgot to add the doctype and it was operating in quirks mode,
  13. Replies
    1
    Views
    480

    [RESOLVED] Chromium / Chrome solution

    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


    tr {...
  14. Thank you, that did the job nicely.

    Thank you, that did the job nicely.
  15. Oh and before anyone says it, yes I know I...

    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...
  16. [RESOLVED] Force td to break before display

    Hi, this is a personal project but I have a thing about being semantically correct about any project I make.

    What I'm trying to achieve is to turn something like this:


    <table>
    <tr>
    ...
  17. Replies
    1
    Views
    660

    AJAX Never mind, found a way ( even if it is annoying...

    Never mind, found a way ( even if it is annoying ).


    function xOuterML( x )
    {
    var txt, xs, d = x.documentElement, node, from;
    if ( d )
    {
    x = d;
    }
  18. Replies
    1
    Views
    660

    AJAX [RESOLVED] iframe html

    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...
  19. Replies
    0
    Views
    1,365

    [RESOLVED] Float to HEX, IEEE754

    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...
  20. Replies
    17
    Views
    5,195

    I'm in the middle of writing a cross-browser set...

    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...
  21. Thanks, however I was not using a hard coded...

    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...
  22. Thread: nsIDOMWindow

    by awsdert
    Replies
    0
    Views
    810

    nsIDOMWindow

    I'm trying to create the object but am having trouble finding the class info (even tried guessing it). Here's my code snippet as it stands:

    r.dom = function () {
    var r = MOZ('@mozilla.org/the...
  23. Never mind, turns out initWithFile just doesn't...

    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.
  24. [RESOLVED] Mozilla - File I/O - Argument Error

    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...
  25. Replies
    1
    Views
    1,538

    Never mind, finally figured it out. It was the...

    Never mind, finally figured it out. It was the csv function's switch statement, is now:

    switch (x) {
    case c: case '\n': r[n].push(t.slice(0, -1)); t = ''; break;
    case '\r':...
Results 1 to 25 of 51
Page 1 of 3 1 2 3
HTML5 Development Center



Recent Articles