www.webdeveloper.com

Search:

Type: Posts; User: allan smith

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    887

    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...
  2. Replies
    2
    Views
    887

    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 =...
  3. Replies
    3
    Views
    2,121

    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
  4. Replies
    3
    Views
    2,121

    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
    ...
  5. Replies
    3
    Views
    2,121

    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...
  6. Replies
    3
    Views
    2,121

    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 -...
  7. Replies
    5
    Views
    846

    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...
  8. Replies
    5
    Views
    846

    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>...
  9. Replies
    5
    Views
    846

    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...
  10. Replies
    5
    Views
    816

    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) {
    ...
  11. Replies
    5
    Views
    816

    Shutdown?

    yup windows - 98

    I know the shutdown command

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

    Allan
  12. Replies
    5
    Views
    816

    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...
  13. Replies
    2
    Views
    1,282

    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.
  14. Replies
    2
    Views
    1,282

    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...
  15. Replies
    10
    Views
    2,959

    Thanks

    Many Thanks to all

    Allan
  16. Replies
    10
    Views
    2,959

    Further info as requested

    Not Appache -Zeus - whatever that is!
    .htaccess not available
    Currently files have SHTML suffix
    but can be changed to PHP if required

    I thought/expected/want Last Modified to indicate the date...
  17. Replies
    10
    Views
    2,959

    Thanks

    many thanks to both for your advice.

    My criticism of my ISP is that current SHTML pages are served without Last-Modified, and the intention was to simply add a bit of leading code to replace this...
  18. Replies
    10
    Views
    2,959

    HTTP headers

    If you look at my Telford Steam Railway website you will see that I use
    many <meta> constructs in the header, including the following 4 hhtp-equiv metas:-
    <meta http-equiv="Content-language"...
  19. Replies
    6
    Views
    1,381

    Many Thanks

    Yup that all makes sense
    One of these days I'll get the hang of this DOM thing

    Many Thanks

    Allan
  20. Replies
    6
    Views
    1,381

    Code - Thanks

    Thanks - Thats OK - I can follow that
    but there are 4 of these on each page (code below) plus a number of other IMG tags so each of the IMG URIs that need fixing will have to be named
    and then...
  21. Replies
    6
    Views
    1,381

    Sample as requested

    <script language="JavaScript" type="text/javascript">
    var uri = 'http://impgb.tradedoubler.com/imp/img/846107/1047637?' + new String (Math.random()).substring (2, 11);
    document.write('<a...
  22. Replies
    6
    Views
    1,381

    Code help please

    I am helping my friend improve hos web site. We would like to move the JScript out of his page to a linked file, To do this ww would like to replace the document.write code on ...
  23. Replies
    2
    Views
    966

    Thanks for the input

    Yeah - possibly - but I'm not sure as I probably would have to shrink the main image - then legibility is an issue

    But having done further research - I am led to believe what I want is impossible...
  24. Replies
    2
    Views
    966

    Code help wanted

    Please take a look at
    http://www.telfordsteamrailway.co.uk/multilingua/virtualtour.shtml
    In a large browser window this page works as I expect
    but when the browser window is smaller there comes a...
  25. Replies
    0
    Views
    1,377

    Review please

    I have just posted a completely revised site design - this is my first foray into CSS- removing frames and converting to strict XHTML1.0 and also testing all pages through CSS, XHTML and Bobby...
Results 1 to 25 of 38
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles