Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by miraclemaker

  1. miraclemaker

    How to prevent scrolling the browser window using arrow keys?

    I did try it without success, you've just shown me wrong! Thanks Dan.
  2. miraclemaker

    How to prevent scrolling the browser window using arrow keys?

    I'm sure it's not possible. with onkeydown it is possible to register the cursor keys, but then consuming the event (returning false) doesn't have any effect.
  3. miraclemaker

    How to prevent scrolling the browser window using arrow keys?

    Thanks Billy. I did look into blocked the cursor presses with javascript, unfortunately this is not possible in IE as you don't get an event fired with the cursor keys are pressed, like you do for every other key. I eventually discovered the poroblem was being caused due to the way we were...
  4. miraclemaker

    How to prevent scrolling the browser window using arrow keys?

    I have a flash application embedded in a page which you use the cursor keys to control. The problem I'm having is that the page has a vertical scroll, and so whenever you push up / down on the cursor keys, it causes the page to scroll, despite the flash having focus. Does anyone know of a way...
  5. miraclemaker

    problems with trying to match string with single quote

    Works perfectly! Thanks Jon, you really know your stuff.
  6. miraclemaker

    problems with trying to match string with single quote

    Hi guys. I'm havin serious problems trying to match and XML node using XSL based on he value of an attribute when the attribute value has a single quote in it. Here's an example: XML: <gameGroup priority="5" title="Kids' Favorites"> XSL: <xsl:template match="gameGroup[@title='Kids'...
  7. miraclemaker

    extra characters being added to output

    My mistake. It was an encoding problem. I fixed it by adding this line to my XSL: <xsl:output encoding="iso-8859-1"/>
  8. miraclemaker

    extra characters being added to output

    i don't think this is to do with encoding. if I actually look in the source of the transformed document I can see the extra character in there: dÂ’arcade - it's not in the original XML document.
  9. miraclemaker

    extra characters being added to output

    Hi guys, I'm translating some XML with XSL, and have come across the following problem: here's a chunk of my XML: <long_description> Heavy Weapon Deluxe est un jeu d’arcade o&ugrave; se d&eacute;cha&icirc;ne une action tremp&eacute;e d’adr&eacute;naline, &agrave; d&eacute;roulement...
  10. miraclemaker

    PHP Script to query an NTP server?

    Does anyone have a PHP script to query an NTP server? Thanks.
  11. miraclemaker

    When using XSLT xmlns attribute added to output html

    Perfect! Thanks Jon. It seems strange to me that the namespaces were being added to the html tags, which ware in the default namespace. Can you explain to me why this was happening? Thanks.
  12. miraclemaker

    When using XSLT xmlns attribute added to output html

    Hi guys. I'm transforming an XML file using XSLT, I'm defining some namespaces in my XSL file to allow the document to be transformed. Here's a cut down version of the two files: XML: <?xml version="1.0" encoding="UTF-8"?> <allGamesWeb creationDate="2005-06-08" xmlns="allGamesWeb"...
  13. miraclemaker

    request a url through a proxy server

    Hi there, does anyone know how I can request a url from php (through an fopen() or whatever), but go through a proxy server? Any help on this would be much appreciated.
  14. miraclemaker

    find server software for a site

    That's looks perfect. Thanks a lot for your help.
  15. miraclemaker

    find server software for a site

    Yeah it is to retrieve the server information for a remote server. Netcraft describe their way of doing it as "Netcraft determines the operating system of the queried host by looking in detail at the network characteristics of the HTTP reply received from the web site." without knowing exactly...

Part and Inventory Search

Back
Top