- This topic has 6 replies, 3 voices, and was last updated 3 years ago by
kdv.
-
AuthorPosts
-
2023-03-27 at 2:00 pm #61442
yijin
CustomerI want to use the HTML element click event to make the outline enable of the cap panel,else it will disable.
Now,the outline can be enable,but can’t be disable.
Please check my puzzle, where is the mistake, thank you!
Attachments:
2023-03-27 at 2:52 pm #61448kdv
ParticipantYour logic ALWAYS enables outlines.

Use variables.

Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2023-03-28 at 1:49 am #61455yijin
CustomerThanks for your replay.
I modified the puzzle according to your tips:
When I click “Back Left Panel” on the webpage, Outline is enbale, when I click it again, Outline is disable.
I need: when I click the “Back Left Panel” on the webpage, the back left panel of cap’s outline is enable, when I click the “Back Right Panel” on the webpage, the back right panel of cap’s outline is enbale, at same time another panels of cap’s outline is disbale.
Please tell me how do i do? thanks.
Attachments:
2023-03-28 at 10:59 am #61463kdv
ParticipantContinue using variables and logic. Save the outlined object’s name to a variable. Compare names of objects with this variable before making them outlined.
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2023-03-28 at 11:30 am #61464
PandernCustomerWhat I usually do is insert a ‘outline disable for’ ‘all objects’ before the logic puzzle enables it again for the correct object.
Kdv’s suggestion might be a better solution for your situation though
Attachments:
2023-03-28 at 1:30 pm #61467yijin
CustomerThanks Pandern, your suggestion is good, very close to my idea,thank you very much.
Thanks Kdv, i think your suggestion might be better, could you give me a sample?
2023-03-30 at 1:53 am #61504kdv
ParticipantThe logic is simplest

https://v3d.net/gsqPuzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
-
AuthorPosts
- You must be logged in to reply to this topic.





