-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Answers become out of sync if you add additional lines #1
Comments
Hi, yeah, im having same issue. This does not happen in http://notepadcalculator.com/, any ideas for fixing?? |
I updated notepadcalculator.com with some server side code to save and share calculations which I didn't want to share publically. Sorry about that. The front end code is not minimized though so you can see how it works by viewing the source of http://notepadcalculator.com The relevant code for keeping the two columns and the background ruler in sync is this in the current version at http://notepadcalculator.com: // sync scroll positions of input & output areas
$inputArea.scroll(function () {
var scrollTop = $inputArea.scrollTop();
$outputArea.css({'top': -scrollTop});
$('.backgroundRuler').css({'top': -scrollTop});
}); It's likely that either the HTML or CSS will also need updating for this to work in the new version. I can't remember since it's been so long since I last touched this. Just pointing you in the right direction to figure this out yourself :-) |
Thanks Steve, i tried adding these lines but nopthing, tried too adding your the calc.js, calc.css and index.html from notepadcalculator.com but does not work, shouldn't?? thanks anyway!! |
Sorry, I don't have time to look into this. Hint: the HTML probably changed too. |
Thanks Seteve, i figured out how to fix it.
The sqrt operation does not work, i guess is because it hasnt the
"math.min.js" of your site at notepadcalculator.com...
Thanks,
*p* e p *r* o m e r o
http://prg.wf
…On Tue, Sep 12, 2017 at 7:47 AM, SteveRidout ***@***.***> wrote:
Sorry, I don't have time to look into this. Hint: the HTML probably
changed too.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AbprALgHD-vYUiogzuV_-u7eFUSFoe8wks5shm9qgaJpZM4GNphi>
.
|
Any chance http://notepadcalculator.com will suport percentage? |
NoteCalc does.
*p* e p *r* o m e r o
http://prg.wf
…On Tue, Sep 26, 2017 at 10:25 AM, ww7 ***@***.***> wrote:
Any chance http://notepadcalculator.com will suport percentage?
Example 123 + 4%
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AbprAMoJU97Hm5nhTcGyzaLMvZ7aO-2Gks5smQlTgaJpZM4GNphi>
.
|
If you keep pressing enter to add lots of lines, the answer column ends up out of sync with the question column.
Chrome Version 45.0.2454.101 m (64-bit) on Windows 7
The text was updated successfully, but these errors were encountered: