dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: allan smith

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    18
    Views
    2,893

    Other Good point, will do Thanks Again

    Good point, will do

    Thanks Again
  2. Replies
    18
    Views
    2,893

    Other That works perfectly. Many thanks for all your...

    That works perfectly.

    Many thanks for all your help.

    I even managed to sort out the surrounding code to make it easy to select fields/order on the fly.

    Marvellous
  3. Replies
    18
    Views
    2,893

    Other Forgive me being thick:o but do I use ...

    Forgive me being thick:o but do I use

    Document.items = objSort(Document.items,'color.name','aa');
    or

    Document.items = objSort(Document.items,'Document.items.color.name','aa');

    Allan
  4. Replies
    18
    Views
    2,893

    Other Thanks - I will try it on Monday, away from home...

    Thanks - I will try it on Monday, away from home tomorrow.

    In the meantime here is a list of all the array elements.
    The full path is not shown. 'Document.' starts all of these.
    'Document' has...
  5. Replies
    18
    Views
    2,893

    Other I think I figured out why the colour sort isnt...

    I think I figured out why the colour sort isnt working.
    The main array 'Documents.items' is an array of objects, not simple values.
    But I have no idea how to fix it
    .
    Allan
  6. Replies
    18
    Views
    2,893

    Other As requested here is the user script module...

    As requested here is the user script module module that sorts the array. It is part of a large compiled project and I do not have access to the source or compilation options. Just this one script...
  7. Replies
    18
    Views
    2,893

    Other I just tried your code. Cut / Paste Edit and...

    I just tried your code. Cut / Paste Edit and away it went no issues with implementation.

    I used

    Document.items = objSort(Document.items,'comments','aa');
    Document.items =...
  8. Replies
    18
    Views
    2,893

    Other That is extremely helpfull. I will have a 'play'...

    That is extremely helpfull. I will have a 'play' with this later today.
    I need to work out how to make it flexible. By that I mean I would like to be able to have a function which receives a list of...
  9. Replies
    18
    Views
    2,893

    Other Thanks for the replies. Yes I understand abt...

    Thanks for the replies.

    Yes I understand abt objects being ordered in the order in which they are added, but as I have no control over the compiled module, I have to work with the array as it is...
  10. Replies
    18
    Views
    2,893

    Other Help with code to sort array please.

    Help wanted creating Javascript module to sort an array.
    I have an object ‘Items’ which is an array of objects.
    Items.length has the number of entries in the array (n) and
    Items[0] to Items[n]...
  11. Replies
    2
    Views
    1,170

    Thanks for that. It is correct - it is...

    Thanks for that.

    It is correct - it is analysing a string that has been stored in a text file, which originates from a user multi-line input text box.

    But - then I didn't code the original app...
  12. Replies
    2
    Views
    1,170

    help replacing split() please.

    I have the following code aand understand split()is deprecated - please can someone help out with replacement code.



    foreach ($lines as $l) {
    if (trim($l) != "") {
    $t =...
  13. Replies
    3
    Views
    2,716

    Ahh - the dreaded typo - It all works - and I did...

    Ahh - the dreaded typo - It all works - and I did it all by myself -
    aren't I pleased

    Just shows what a bit of perseverence can do

    Sorry to have disturbed everyone
  14. Replies
    3
    Views
    2,716

    I tried RedirectMatch 301...

    I tried


    RedirectMatch 301 ^/partners/allans/(.*)$ http://www.avalon-family-history.pwp.blueyonder.co.uk/index.html


    That seems to redirect pretty much any file requeted from that folder:D
    ...
  15. Replies
    3
    Views
    2,716

    I expect that the 'redirect' needs to be...

    I expect that the 'redirect' needs to be 'RedirectMatch' but dont understand the reg ex needed and I dont see how to make it a '301' 'permanent' redirect when using 'RedirectMatch'. using Rewrite is...
  16. Replies
    3
    Views
    2,716

    Migration to Apache from Zeus

    :confused:I have just migrated my website to Apache - mainly because I kept running into problems with the non-standard .htaccess support in Zeus.

    Everything went well with the transfer except -...
  17. Replies
    5
    Views
    890

    Finally managed to get background working and...

    Finally managed to get background working and tidied up some of the divs - now no <div><img></div>

    But still the same effect - the divs containing text are about 25px lower on Moz than IE but are...
  18. Replies
    5
    Views
    890

    I cant see any sytax error - page passes W3C CSS...

    I cant see any sytax error - page passes W3C CSS validator
    theer are about 15 lines between the subbanner comment and thge .textleft definition and all { are accounted for.

    Yes - <div><img><div>...
  19. Replies
    5
    Views
    890

    IE & Moz different - help please

    Could someone take a look at
    my test page

    Body has a .gif background.
    I created a dive but couldnt get a second background gif to work so I tried 2 divs with absolute positioning - one shows an...
  20. Replies
    5
    Views
    880

    Thanks

    Cheers guys - thats a starting point - looked into it and came up with

    (26 = CTRL+Z)

    document.onkeyup = function keyPress(evt) {
    var whichKey = window.event.keyCode;
    if(whichKey==26) {
    ...
  21. Replies
    5
    Views
    880

    Shutdown?

    yup windows - 98

    I know the shutdown command

    Its how to trap the keystroke and launch shutdown that is puzzling me

    Allan
  22. Replies
    5
    Views
    880

    code help please

    Some time ago (about 9 months) I created an HTML/JScript/PHP based interactive display for a Museum (NOT connected to the outside world - and a single deicated purpose computer - with its own PHP and...
  23. Replies
    2
    Views
    1,307

    Serving XML

    yes - the issue of using XHTml / XML or HTMl is a whole different can of worms

    The real issue here was my learning how to use / serve XML for internal use
    for which I can specify the browser.
  24. Replies
    2
    Views
    1,307

    xml help please

    The first thing I need to say is I know almost nothing about xml.
    so what follows may come accross as very naive - but I have to start somewhere

    But - just for a bit of a learning exercise
    I...
  25. Replies
    10
    Views
    3,778

    Thanks

    Many Thanks to all

    Allan
Results 1 to 25 of 48
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles