« first day (3461 days earlier)      last day (1489 days later) » 
00:00 - 23:0023:00 - 00:00

user11867329
11:02 PM
I don't understand what you don't understand, lol
 
okay lol let me try to
 
user11867329
Telling me what you don't understand would be a great start(?)
 
user11867329
Otherwise I'll literally use the same words to explain.
 
you want to toggle the element 'section'?
 
user11867329
No, as that would affect all <section>

I need to specifically toggle the section element that contains:
.element.something-element-6704259:not(.something-motion-effects-element-type-background), .something-161 .something-element.something-element-6704259 > .something-motion-effects-container > .something-motion-effects-layer
 
11:06 PM
Okay so you want to toggle all of those classes..
 
user11867329
Up top, I included the element with pure html (First section)
then the actual CSS class
 
user11867329
I think, yes.
 
And you are asking how you would do that with the jquery.toggle() method?
 
user11867329
With the exact method/script you sent me
 
user11867329
If possible
 
user11867329
11:07 PM
As otherwise I assume it would be too much work to ask for.
 
so something like: .class.class.class
 
user11867329
what about "#"?
 
okay i seem to understand now
its possible to do .class#id too
 
user11867329
I'm not sure it'll grab it properly thought, let's try.
 
user11867329
the ID would probably be 6704259
 
user11867329
11:09 PM
(In CSS, I need the SPECIFIC set of classes for it to work | .element.something-element-6704259:not( ... effects-layer)
 
It should work in css
 
user11867329
It doesn't work in CSS.
 
user11867329
Sorry if I'm confusing you, please, carry on.
 
but it does work
.test2, #test1, #test3 {
	color: red;
}
it works
 
user11867329
Of course, but how do you apply the whole toggle thing
 
user11867329
11:20 PM
where I would click an element to apply CSS to one, then CSS to the other (That was my initial idea, btw)
 
user11867329
Re-run this:
https://jsfiddle.net/2d3w8a0x/10/
 
user11867329
Maybe you forgot
 
user11867329
If you can achieve the same with CSS, fantastic!
 
user11867329
I simply need it to work, lol.
 
Okay, i remember the fiddle......
 
user11867329
11:23 PM
1. Page loads
2. test2 is hidden
3. click an element
3.a whole section1 disappears
3.b whole section2 disappears
 
user11867329
And VICE VERSA
 
user11867329
So if I click the element again, whole section2 disappears and section1 appears again.
 
right
 
user11867329
zzz
 
sigh
 
user11867329
11:28 PM
 
user12960916
hi guys
 
user11867329
csscoder
 
user11867329
man
 
user11867329
you'll help me
 
user12960916
huh?
 
user12960916
11:32 PM
i have a question about svelte has anyone used it before? i'm trying to add the prices of items as they are checked off but i don't understand why it says object object
 
user11867329
@csscoder (I try helping you, you try helping me?)
 
user12960916
lol ok but i don't know what your question is
 
user12960916
is it the fiddle up top?
 
user11867329
I have 2 sets of multiple elements
 
user11867329
11:37 PM
That I need to toggle from a clickable element
 
user11867329
Something like:
.something-161 .something-element.something-element-6f75d311:not(.something-motion-effects-element-type-background), .something-161 .something-element.something-element-6f75d311 > .something-motion-effects-container > .something-motion-effects-layer
 
user12960916
not sure what that means
 
user11867329
and
.something-161 .something-element.something-element-5d21421:not(.something-motion-effects-element-type-background), .something-161 .something-element.something-element-5d21421 > .something-motion-effects-container > .something-motion-effects-layer
 
user12960916
but your toggle works whats the problem?
 
@csscoder
 
user11867329
11:41 PM
The toggle works in JS
 
i'm getting phantom react elements
idk how to debug
 
user11867329
and I don't know how to implement the classes
 
carb.name or carb.price, thats it, do the same for protein: protein.price etc
You have an object, and are only returning that object, thats why it outputs that, but you are not actually specifying the properties names @csscoder
 
ParticipantsStore.participants.length stays the same, on rerender previous elements aren't removed
a tiny bug just went into my keyboard
 
user11867329
@csscoder if by anychance, you know how to apply the toggle script (above) with the two set of classes I sent you
 
user11867329
11:46 PM
@JBis gg
 
user12960916
i'm not sure sorry, @OakDev
 
= instead of ===, just found after 30 min
 
@OakDev why not just give them all the same class name and use that instead of having a whole lot...
 
user12960916
@Unbreachable, I know I would do the name of the array and then . like proteinlist.price, proteinlist.name but I'm not sure how to keep the join that shows whats selected and add the part that includes the price
 
I finally figured out how to read/write to properties inside of maps that are all in a list....it took forever!!!!!!
 
user12960916
11:58 PM
because proteinlist.price[0] + proteinlist.price[2] probably isn't correct but when I think about what I'm trying to do that seems right
 
user12960916
if that makes sense
 
user11867329
@Unbreachable anger
 
00:00 - 23:0023:00 - 00:00

« first day (3461 days earlier)      last day (1489 days later) »