Showing posts with label Coding Awareness. Show all posts
Showing posts with label Coding Awareness. Show all posts

Thursday, 4 May 2017

jQuery Effects - Hide and Show

jQuery Effects - Hide and Show Easy and simple methode

with code

Hide, Show, Toggle, Slide, Fade, and Animate

jQuery hide() and show()

With jQuery, you can hide and show HTML elements with the hide() and show() methods:



 $("#hide").click(function(){
    $("p").hide();
});

$("#show").click(function(){
    $("p").show();
});


Example code for  Hide JQuery script

<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
    $("#hide").click(function(){       // this Jquery code will hide the Text as user click on it
        $("p").hide();
});
    $("#show").click(function(){
        $("p").show();                       
// this Jquery code will hide the Text as user click on it    
 });
});
</script>
</head>
<body>

<p>If you click on the "Hide" button, I will disappear.</p>

<button id="hide">Hide</button>
<button id="show">Show</button></body>
</html>



you can add speed like feature in time J query function
synatax 

$(selector).hide(speed,callback);

$(selector).show(speed,callback); 



Example 

$("button").click(function(){
    $("p").hide(1000);       //  speed is in milliseconds
});



Toggle 

With jQuery, you can toggle between the hide() and show() methods with the toggle() method.

Syntax
$(selector).toggle(speed,callback); 

exmple 
$("button").click(function(){
    $("p").toggle();
});
 



thanks and njoy  the code 

Tuesday, 2 May 2017

Code News For News Appliactions for developers with CMS

1) Code News 

What you Know About Coding World ?

Code news is the applications where you can get the news about development world 

and keep update yourself for the  best performance.

Code News For News Appliactions for developers with CMS

As every developer know every other day Technologies are changing for that Code News is here.

It comes with 2 versions
means with 2 Languages Romanian and English tough it is world wide app most or every post of this
application have English posts for the best .

As tittle of this say it have CMS feature included which means you can watch your favorite part of the News Anytime Anywhere . 

Bring Coding world Closer watch

[[  Click here foe visiting CODE NEWS  ]]