dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: sloLearner

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    868

    Thanks - yes, I should write it using the...

    Thanks - yes, I should write it using the anonymous function as you suggest
  2. Replies
    5
    Views
    868

    Hi - am afraid I couldn't get that last...

    Hi - am afraid I couldn't get that last suggestion to work. If anyone's interested however, I 'think' I've got something reasonably simple to work, using the Singleton pattern. I don't know if it's a...
  3. Replies
    5
    Views
    868

    Doh! Thanks for your reply. Sorry, I did indeed...

    Doh! Thanks for your reply. Sorry, I did indeed forget to send an argument...

    Will experiment with your suggestion..!
  4. Replies
    5
    Views
    868

    Accessing closures in setTimeout

    Hi - I wonder if anyone can help me with something that's been bugging me for a long time. When writing JS, I try to encapsulate my code somehow. For instance, in the example below, I have a function...
  5. Replies
    2
    Views
    664

    That's great, thanks so much Jim!

    That's great, thanks so much Jim!
  6. Replies
    2
    Views
    664

    missing argument

    Hi - I'm getting missing argument warnings, ie:

    Warning: Missing argument 1 for Search::search()

    on the following code, but can't work out why (the code seems to work fine).



    class Search...
  7. Replies
    2
    Views
    825

    Thanks for that - should have though of it!

    Thanks for that - should have though of it!
  8. Replies
    2
    Views
    825

    JSON, AJAX and jQuery

    Hi - I'm trying to understand JSON and AJAX at the moment. I'm using jQuery's post method to send some JSON data to a server. For testing, the data is simply returned without any manipulation......
  9. Replies
    5
    Views
    1,320

    Thanks for the advice Charles - I'll investigate...

    Thanks for the advice Charles - I'll investigate using an XSLT processor like Saxon to output files as it would probably make life easier. In the meantime, I guess this just isn't possible with the...
  10. Replies
    5
    Views
    1,320

    Hi - the DOM seems to simply be HTML HEAD...

    Hi - the DOM seems to simply be

    HTML
    HEAD
    SCRIPT

    and indeed the page hangs while the browser says it's transferring data from maps.google.com, so I'm guessing there's something wrong...
  11. Replies
    5
    Views
    1,320

    JavaScript in XSLT

    Hi - I'm just playing with an XSL transform to turn some XML into a webpage. I'm trying to load a basic Google map API function into the page, but I just can't get it to work in FireFox (although it...
  12. Dok- thanks so much for your time in putting that...

    Dok- thanks so much for your time in putting that up, that's incredibly helpful. I'll have a play with the code tomorrow and see if I can implement these... I'd been reading about closures but...
  13. Hi - sorry, just come into another similar...

    Hi - sorry, just come into another similar problem. If I use the code as discussed earlier...



    Widget.prototype.primarySettings = function()
    {
    var that = this;...
  14. Wow, thanks to both of you - I'd have never...

    Wow, thanks to both of you - I'd have never worked that out for myself. Hopefully I'll get a bit quicker on this, but am slowly getting there!
  15. Doh, sorry that was a typo. Code should read: ...

    Doh, sorry that was a typo. Code should read:



    var TileObj = new Widget();
    TileObj.primarySettings();
  16. Thanks for the link - good to clarify with it!...

    Thanks for the link - good to clarify with it! The only thing is that since writing that post I've tried to implement something similar... which doesn't work!

    When the page has initially loaded,...
  17. Coding for OO JavaScript - is this an ok way?

    Hi - I'm trying to get my head around OO JavaScript by experimenting with a mini-web app, and am becoming slightly confused... I just wondered if anyone could tell me if what I'm doing is completely...
  18. Replies
    1
    Views
    997

    ie6 float bug

    Hi - There's a particular bug that I keep on getting in IE6, which doesn't seem to adhere to the well known bugs normally documented (ie haslayout, float double-margin etc).

    I have a container div...
  19. Replies
    2
    Views
    933

    That's brilliant - thanks!

    That's brilliant - thanks!
  20. Replies
    2
    Views
    933

    Conditional comments for ie6 and ie7

    Quick question - at the moment I have two sets of conditional comments in a page that affect IE6 and IE7. They both include the same 'iehacks.css' file:



    <!--[if IE 6]>
    <link rel="stylesheet"...
  21. Replies
    2
    Views
    761

    Doh! Thanks for that..! :D

    Doh! Thanks for that..! :D
  22. Replies
    4
    Views
    831

    Ah sorry yes, hadn't read the post properly......

    Ah sorry yes, hadn't read the post properly... getting tired...
  23. Replies
    4
    Views
    831

    Just to clarify, do you mean that you're building...

    Just to clarify, do you mean that you're building a page that displays what the user is writing in the textarea?

    If so, then javascript might be the best option. Perhaps something like the...
  24. Replies
    2
    Views
    761

    heredoc syntax

    Hello - just wondering if anyone can tell me what I'm doing wrong. I'm new to heredoc, so just wanted to use/test it in the following code...



    <?php
    class pixelArt
    {
    var $artwork;
    ...
  25. Replies
    5
    Views
    817

    Actually no - I only had 38 rows - I guess it had...

    Actually no - I only had 38 rows - I guess it had something to do with incrementing those rows by two..?

    Thanks for the link though. When I entered:



    SHOW VARIABLES LIKE 'auto_inc%';


    I...
Results 1 to 25 of 60
Page 1 of 3 1 2 3
HTML5 Development Center



Recent Articles