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
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...
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)"...
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>...
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
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';"...
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
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()...
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...
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.