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 Chriss Miller 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 ChrisRChamberlain

  1. ChrisRChamberlain

    Unable to set value using document.getElementById()

    feherke So obvious it's no true - using document.getElementById("content") a number of times in the function scaleinvoice() and somehow did not see the error. document.getElementById("fader").value = "1"; resolves the issue. Many thanks for your fresh eyes. FAQ184-2483 Chris [pc2] motrac.co.uk
  2. ChrisRChamberlain

    Unable to set value using document.getElementById()

    Feherke Thanks for your reply and apologies for the omission. html is:- <div id="content"> <div id="row_1_col_1"></div> <div id="row_1_col_2"></div> <div id="row_1_col_3"></div> <div id="row_1_col_4"></div> <div id="row_1_col_5"></div> <div id="row_1_col_6"></div> <div...
  3. ChrisRChamberlain

    Unable to set value using document.getElementById()

    Hi all Trying to reset the "slider" as defined here back to the default value of "1" <div id="slider-wrapper"> <label for="fader" title="Click here to reset" onclick="scaleinvoice('1')">Zoom</label> <input type="range" min="0.5" max="1.5" value="1" step="0.1" oninput="scaleinvoice(value)"...
  4. ChrisRChamberlain

    Call an object with onclick

    Found a suitable workaround by using 'onclick="window.open(' to open a new .html file in '_parent'. <!DOCTYPE html> <html> <body style="background-color:#D6EBEF;"> <div style="width:100%;margin:0 auto;"> <h1>Unable to view vehicle's details? <a href="6562.jpg">Tap/click here</a></h1>...
  5. ChrisRChamberlain

    Call an object with onclick

    spamjim IOW, it should have read:- "Need to convert the following code to call an object in which to display the .pdf as opposed to displaying the .pdf in the window." FAQ184-2483 Chris [pc2] motrac.co.uk
  6. ChrisRChamberlain

    Call an object with onclick

    spamjim Thanks for your reply - my error, both should be the same. Display is probably more widely used. FAQ184-2483 Chris [pc2] motrac.co.uk
  7. ChrisRChamberlain

    Call an object with onclick

    Hi all Newbie type question, please be gentle. Need to convert the following code to call an object to display the .pdf as opposed to showing the .pdf in the window. <span title="Click/tap to download vehicle's details" onmouseover="this.style.cursor='pointer';"...
  8. ChrisRChamberlain

    How can I ensure ShellExecute() will print a pdf in windows 10?

    Mike Have recently been 'bitten' by this, hence the FAQ. I have gone with simplest is best and am sure, as you have shown, there may be other alternatives to consider. FAQ184-2483 Chris [pc2] motrac.co.uk
  9. ChrisRChamberlain

    How can I ensure ShellExecute() will print a pdf in windows 10?

    faq184-7886 now available for your perusal. FAQ184-2483 Chris [pc2] motrac.co.uk
  10. ChrisRChamberlain

    How can I ensure ShellExecute() will print a pdf in windows 10?

    If you are running VFP on Windows 10, one of the 'gotchas' of which to be wary, is Windows 10 resetting the default applications for various file extensions. The default application for pdf in Windows 10 is Microsoft Edge so if you use the 'print' parameter with the WinAPI call ShellExecute()...
  11. ChrisRChamberlain

    How to access /var/www/www.mysite.com/htdocs from home folder

    Chris Thanks for your reply. Ashamed to say typo found in the path, issue resolved. [smile] FAQ184-2483 Chris [pc2] motrac.co.uk
  12. ChrisRChamberlain

    How to access /var/www/www.mysite.com/htdocs from home folder

    Hi all Currently connecting to a Ubuntu 14.04 LTS server from a Windows pc using WinInet.Dll. The root folder on the server is the 'home' folder whereas the required folders/files are situated at /var/www/www.mysite.com/htdocs/. Can retrieve directory listings, upload, download etc from...
  13. ChrisRChamberlain

    VPS simulation on LAN Ubuntu server

    ChrisHirst Thanks for the info. FAQ184-2483 Chris [pc2] motrac.co.uk
  14. ChrisRChamberlain

    VPS simulation on LAN Ubuntu server

    ChrisHirst Thanks for your reply. Would Apache, MySQL and PHP have been installed in a typical VPS? FAQ184-2483 Chris [pc2] motrac.co.uk
  15. ChrisRChamberlain

    VPS simulation on LAN Ubuntu server

    Hi all Would like to simulate setting up a VPS on a spare server on a LAN. So assuming Ubuntu Server 12.04 LTS is the O/S, should there be a typical LAMP installation or should adding Apache, MySQL, PHP etc take place after the basic O/S is installed? FAQ184-2483 Chris [pc2] motrac.co.uk

Part and Inventory Search

Back
Top