Welcome Guest, Not a member yet? Register   Sign In
Jquery
#2

[eluser]jblack199[/eluser]
Code:
[removed]
        $(function() {
            $("#show").click(function() {
                $("#theDiv").show("normal");
            });
            $("#hide").click(function() {
                $("#theDiv").hide("normal");
            });
        });
    [removed]

<div id="theDiv">
    </div>
    <button id="show">Show</button>
    <button id="hide">Hide</button>

Theres basic code to show and hide now its your job to expand upon it. jquery.com is a great resource for jquery functions. plenty of video tutorials on jquery floating around the web as well. I for one wont just give you code, but I'll get you started in the right direction so you can research and learn instead of just having it handed to you -- makes you a better programmer if you truely understand what is going on and why its happening.

enjoy.


Messages In This Thread
Jquery - by El Forum - 08-12-2011, 01:14 AM
Jquery - by El Forum - 08-12-2011, 02:12 AM
Jquery - by El Forum - 08-12-2011, 06:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB