HTML

                                                                                                                 << BACK
Show Favicon Link  :

<link rel="shortcut icon" href="images/favicon.ico"  />

--------------------------------------------------------------------------------------------------------------

Set Session in HTML  :

<script>
Set value :  window.localStorage.setItem("userId", setValueHere);

Get value : window.localStorage.getItem("userId");
</script>

--------------------------------------------------------------------------------------------------------------

Hide Browse Button (hide input file type) :
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<style>
    label.filebutton {
        overflow:hidden;
        position:relative;
    }

    label input {
        z-index: 999;
        line-height: 0;
        font-size: 50px;
        position: absolute;
        top: -2px;
        left: -700px;
        opacity: 0;
        filter: alpha(opacity = 0);
        -ms-filter: "alpha(opacity=0)";
        cursor: pointer;
        _cursor: hand;
        margin: 0;
        padding:0;
    }
</style>

<label class="filebutton">
    <span class="glyphicon glyphicon-camera icon">
    <input type="file" id="profilepic" title="upload profile pic" name="profilepic" /></span>
</label>


 --------------------------------------------------------------------------------------------------------------

Refresh Page Every 5 second To use meta tag:

<meta http-equiv="refresh" content="5" />

 --------------------------------------------------------------------------------------------------------------

 

No comments:

Post a Comment