Showing posts with label JQuery. Show all posts
Showing posts with label JQuery. Show all posts

Remove duplicates from javascript array

To remove duplicates from JavaScript array.
you can use the following javaScript function, you need JQuery to be able to run this function

distinct: function (anArray) {
        var result = [];
        $.each(anArray, function (i, v) {
            if ($.inArray(v, result) === -1) result.push(v);
        });
        return result;
    }

Removing Watermark from Amazing Carousel Version (4.1)

Someone asked me how to remove the Amazing Carousel Version (4.1) water mark from the free edition

Please just download this File and replace it with your old one.

Remove Amazing Slider Watermark (Version 6.7)

Many of you asked about the latest version of Amazing Slider Version 6.7
Just replace amazingslider.js inside sliderengine folder with my file.

Download File

Jquery FadeOut table row not working with Internet Explorer

JQuery is write less and do more, we all know that
I have a simple table row and I want to use the fadeOut effect on this row, it is working over all the browsers  except the Internet Explorer "for sure :)"

so I try to find out the problem and whats wrong with Internet Explorer
till I understand this
I have to effect on each child 'cells' of the row before the row it self


var $tr = $(this).parent().parent();

$tr.parent().children().each(function () {
                                $(this).fadeOut('slow');
                            }).fadeOut('slow');

filter attribute that checks whether current connection is secured

using APS.net Core to mark all website pages working with https protocol we will do this using IAuthorizationFilter. and here is an exampl...