|
|
I added Solution 3 to the question at Performing arithmetic operations with textbox values[^]. But now, when I click the Copy Code button in my solution it picks up random code from elsewhere in the entry, e.g.
On Button click, divide the value of textbox1 with the sum of the values of TesxtBox2, TextBox3, and TextBox4, then multiply the result with the value of TextBox5. Show the final result in textBox6. I have tried manipulating the below code, but doesn't seem to get. Would appreciate any valuable assistance
Which is from the question.
[edit]
I restarted Chrome and it is working now.
[/edit]
modified 26-Apr-21 6:30am.
|
|
|
|
|
Works fine for me in Firefox 88.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
This was using Chrome, and it happened at least five times for me. I just restarted Chrome and it appears to be OK.
|
|
|
|
|
|
|
Unfortunately, this fixed itself before I could track down the issue.
I'll keep a lookout for this should it happen again.
"Time flies like an arrow. Fruit flies like a banana."
|
|
|
|
|
Hi all
Is there a way to change the font CP uses to display code snippets in articles?
My new tablet is currently showing code in Courier New and I always code in a non serif font.
Regards
|
|
|
|
|
Do you have Consolas installed?
The CSS for the code shows:
font-family: Consolas, "Courier New", Courier, mono
So Courier New is a "fallback" font, if Consolas isn't installed.
(You can see this by using Chrome Inspect, then looking at the Computed tab for the element.)
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Many thx OG, I'll pursue that idea.
[Update]
Bummer. Consolas is a MS font and appears not to be available on Android.
Would it be feasible to have a fallback for Consolas in the same way there is a fallback for Courier New?
modified 24-Apr-21 22:53pm.
|
|
|
|
|
Might be a dumb idea, but can you download a font you like and rename it so your browser thinks it's consolas?
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Yeah, totally. I'll just replace courier with monospace which will be Droid Sans Mono on Android
cheers
Chris Maunder
|
|
|
|
|
Thx Chris, that would totally rock.
|
|
|
|
|
If I search for an article and click into the search text box I would like see a drop down list where it is possible to select search strings which I did earlier.
|
|
|
|
|
We actually disable that in order to not have a conflict with the document type chooser. An option is we place the document type chooser above (or to the side of) the search box so the auto-complete can appear below.
cheers
Chris Maunder
|
|
|
|
|
|
I love that search box UI. Thank you. On the TODO
cheers
Chris Maunder
|
|
|
|
|
Is there any chance to realize it in the near future like my suggestion?
|
|
|
|
|
I think I managed to give Marc's comments[^] two thumbs-ups. (Not that he doesn't deserve it...)
I did click twice, but nothing appeared to happen the first time...
Cheers,
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Sorry for the delay. I looked at it last week and everything looked OK.
However, when I look at it today, the counts on the emoticons and the votes in the popup don't match.
I'll look into it.
"Time flies like an arrow. Fruit flies like a banana."
|
|
|
|
|
And it just happened again. Upthumbing one of yours!
Bugs and Suggestions[^]
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
'It doesn't work'
Or, at least, on my browser, I see no syntax highlighting but the name of the preogramming language on the top.
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
Same here Google Chrome 89.0.4389.128.
|
|
|
|
|
Same with FF
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
|
|
|
|
|
Same for the latest version of Chrome: Version 90.0.4430.85 (Official Build) (64-bit)
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|