Signin  Pricing  Examples  Support

Libraries > comment-reply.js

comment-reply.js - Search Live Website Code
It's like doing CTRL+F on millions of websites' source code



NerdyData is a search engine for source code. Search the source code of 200 million websites.


JAVASCRIPT FILE http://ebharat.asia/comments/javascripts/comment-reply.js


Libraries on ebharat.asia


tiny_mce_init.js

tiny_mce.js



Explore More


jquery.smallslider.js

ToolTip.js

zsbtv.effects-jq.js

zsbtv_host.js

comment-reply.js
				
addComment = {
    moveForm: function (d, f, i, c) {
        var m = this,
            a, h = m.I(d),
            b = m.I(i),
            l = m.I("cancel-comment-reply-link"),
            j = m.I("comment_parent"),
            k = m.I("comment_post_ID");
        if (!h || !b || !l || !j) {
            return
        }
        m.respondId = i;
        c = c || false;
        if (!m.I("temp-form-div")) {
            a = document.createElement("div");
            a.id = "temp-form-div";
            a.style.display = "none";
            b.parentNode.insertBefore(a, b)
        }
        h.parentNode.insertBefore(b, h.nextSibling);
        if (k && c) {
            k.value = c
        }
        j.value = f;
        l.style.display = "";
        l.onclick = function () {
            var n = addComment,
                e = n.I("temp-form-div"),
                o = n.I(n.respondId);
            if (!e || !o) {
                return
            }
            n.I("comment_parent").value = "0";
            e.parentNode.insertBefore(o, e);
            e.parentNode.removeChild(e);
            this.style.display = "none";
            this.onclick = null;
            return false
        };
        try {
            m.I("comment").focus()
        } catch (g) {}
        return false
    }, I: function (a) {
        return document.getElementById(a)
    }
};


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z