Click to get Flash Player
Get Adobe Flash player

or try to enable JavaScript and reload the page

Wednesday 8 August 2012

Highlight Specific Text On page

 

 

First add this script in ur javascript file



/*

highlight v3

Highlights arbitrary terms.

<http://johannburkard.de/blog/programming/javascript/highlight-javascript-text-higlighting-jquery-plugin.html>

MIT license.

Johann Burkard
<http://johannburkard.de>
<mailto:jb@eaio.com>

*/

jQuery.fn.highlight = function (pat) {
    function innerHighlight(node, pat) {
        var skip = 0;
        if (node.nodeType == 3) {
            var pos = node.data.toUpperCase().indexOf(pat);
            if (pos >= 0) {
                var spannode = document.createElement('span');
                spannode.className = 'highlight';
                var middlebit = node.splitText(pos);
                var endbit = middlebit.splitText(pat.length);
                var middleclone = middlebit.cloneNode(true);
                spannode.appendChild(middleclone);
                middlebit.parentNode.replaceChild(spannode, middlebit);
                skip = 1;
            }
        }
        else if (node.nodeType == 1 && node.childNodes && !/(script|style)/i.test(node.tagName)) {
            for (var i = 0; i < node.childNodes.length; ++i) {
                i += innerHighlight(node.childNodes[i], pat);
            }
        }
        return skip;
    }
    return this.each(function () {
        innerHighlight(this, pat.toUpperCase());
    });
};

jQuery.fn.removeHighlight = function () {
    return this.find("span.highlight").each(function () {
        this.parentNode.firstChild.nodeName;
        with (this.parentNode) {
            replaceChild(this.firstChild, this);
            normalize();
        }
    }).end();
};




Then Add this Script in Head Tag and add TextBox ID in third line..

Dnt delete ClientID, write down it with ur textboxid..

e.g : var  value = document.getElementById('<%#urtxtboxid.ClientID%>').value;

  <script type='text/javascript'>

        function mark() {
            var value = document.getElementById('<%#TextBox7.ClientID%>').value;
            $('#GridView1').highlight(value);
        }
    </script>



Then Call Mark() Method from through javascript as ur wish... like 'onmouseover=mark();'  OR onblur="mark();" etc......


ENJOY Coding..........by Maf...

Monday 5 March 2012

Loosies 2012 BRRIP


A young pickpocket in the New York subways, living a fast, free, lifestyle is confronted by a woman whom he had a one night affair with, she informs him that she is now pregnant with his child, he must now choose between continuing the lifestyle he lead or take responsibility for his actions


        Mediafire Links

        Part 1
        Part 2

Machien Gun Preacher 2012 BRRIP

The story of Sam Childeren, a former drug-dealing biker tough guy who found God and became a crusader for hundreds of Sudanese children who've been forced to become soldiers.


        Mediafire Links

        Part 1
        Part 2
        Part 3
        Part 4

The Grey 2012 BDRIP


In Alaska, an oil drilling team struggle to survive after a plane crash strands them in the wild. Hunting the humans are a pack of wolves who see them as intruders.

        Mediafire Links

        Part 1
        Part 2
        Part 3

Tuesday 17 January 2012

Paladin: Dawn of the Dragonslayer (2011)


Will and his father live a simple and pastoral life in the mountains, unconcerned with the goings-on of the neighboring lowlands. When Will’s father is killed by a dragon, Will must journey down the mountain and use a mysterious family connection from years earlier to start squiring for Sterling, a once-wealthy land owner and knight. Unwelcomed for his backward, mountain ways, Will is put to work on the struggling farm. He soon befriends Sterling’s headstrong daughter Kate, and the two of them begin working together to uncover the secrets of their families’ connection and to prepare Will for his final battle with the dragon, in which he will avenge his father’s death and prove himself a man.

        Mediahide Links

        Part 1
        Part 2

The Valdemar Legacy II the forbidden shadow 2010


4 days, Luisa Llorente, an appraiser farms had the formidable task of going to evaluate the home of Lazarus Valdemar, has not heard of it. , detective detective, Two expeditions out in your search: first Nicholas Tramel, detective hired by Maximilian Colvin, chief Inmoverance, a company he works for Luisa and on the other coworkers Ana and Eduardo, who travel by car with the idea of join forces with the detective, but something happens … in the middle of the night a figure bursts into the middle of the road forcing the car to skid to a crash. The shadow is nothing but the very Luisa Llorente …, which continues its desperate flight. In a thrilling race a pursuer through the forest and falls down a hole to get to the bottom of a ravine . the attacker gives up its prey and complies with the couple's car.

        Mediahide Links

        Part 1
        Part 2
        Part 3