« first day (1451 days earlier)      last day (2337 days later) » 

00:13
Hey guys
I have a question maybe someone can give me advice on
I am removing an element from the DOM and, naturally, the one below takes it's place
But I want to put a CSS transition so it smoothly glides up instead of appears there
The elements have dynamic width
00:43
@Alesana animate the height before you remove it
Ahh that's a good idea!
 
8 hours later…
09:09
Is it just me or does bootstrap 4 look uglier than bootstrap 3?
 
2 hours later…
10:55
hi guys
how to disable onclick event if image tag is having like this
<img onclick="imageTagSource(this.src)" src="nsarrow-icon.png" />
11:08
Can you explain a little bit more?
actually in html content i am getting image tag along with onclick but i want to disable it from front end side
i tried with this
        function removeHandler() {
            var eles = document.getElementById("footerIcon");
            eles.onclick = false;
        }
             <div id="footerIcon" onclick="removeHandler()">
             <img src="nsarrow-icon.png" />
             </div>
but disn't work
You want to disable the onclick event without removing the onclick tag?
Can you modify the imageTagSource function?
@Cerbrus modify to what ?
11:12
I mean, can you change that function? Is that something you wrote?
this i wrote but didn't work
    function removeHandler() {
        var eles = document.getElementById("footerIcon");
        eles.onclick = false;
    }
He's asking if you have access to the code that defines imageTagSource, if you can edit code that somewhere says function imageTagSource() {...}
If not would it be a sin for him to redefine it?
@Alesana Better not re-define existing functions.
no i dont have access for that
That's asking for trouble
11:16
Good point
I'm assuming that the image src changes as well?
image src will not change
but i have other image tags in html
You want to do it on all image tags?
only in this place
11:35
True using null instead of false, eles.setAttribute("onclick", null);
letme check
not working
12:08
Hi
css made trick for me
#footerIcon {
pointer-events: none;
}
this worked
 
3 hours later…
14:51
4 messages moved to Trash can
@EmmieCapps Please do what the commenter asked; don't blast your question in chat unsolicited
15:51
hi
16:23
I am having so much fun with CSS transitions/animations now that I discovered how powerful they are
yes it's great : )
 
4 hours later…
19:59
damn I hate when I can't find a question from the past that I commented/posted on
my only assumption is that it is deleted, but I can't search for deleted questions easily :-(
@BoltClock wanna help me out here?
I'm looking for a question from a week or two ago where I commented a few times and included a JSFiddle link - the question was trying to make a 3-column layout in css-grid layout
I can't find it via my revisions page or my comments page
luckily I had favorited it

« first day (1451 days earlier)      last day (2337 days later) »