Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Popup with Bootstrap

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 136
    Comment on it

    Welcome to Findnerd. In web development we need popup for different requirements then we start finding the third party jquery plugins which could meet our requirement. but sometimes we puzzle with these plugins. Here we are describing one other way to meet your requirements that is bootstrap popups. You can simply implement it with bootstrap. Please have a look.

    <!DOCTYPE html>
            <html>
            <head>
                <meta charset="utf-8">
                <title>Basic Bootstrap Template On Findnerd</title>
                <meta name="viewport" content="width=device-width, initial-scale=1">
                <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">  
                    <link rel="stylesheet" href="css/bootstrap-theme.min.css">  
                    <script src="js/jquery.js"></script>
        <script src="js/bootstrap.min.js"></script>
    <script type="text/javascript">
    $(document).ready(function(){
        $('[data-toggle="popover"]').popover({
            placement : 'top'
        });
    });
    </script>
    <style type="text/css">
        .bs-example{
            margin: 150px 50px;
        }
        .popover-examples{
            margin-bottom: 20px;
        }
    </style>
    </head>
    <body>
    <div class="bs-example">
        <div class="popover-examples">
            <a href="#" class="btn btn-primary" data-toggle="popover" tabindex="0" data-trigger="focus" title="Popover title" data-content="Welcome guys">Welcome</a>
            <a href="#" class="btn btn-success" data-toggle="popover" tabindex="1" data-trigger="focus" title="Popover title" data-content="Way to process">to</a>
            <a href="#" class="btn btn-info" data-toggle="popover" tabindex="2" data-trigger="focus" title="Popover title" data-content="A platform to search findnerd">Findnerd</a>
            <a href="#" class="btn btn-warning" data-toggle="popover" tabindex="3" data-trigger="focus" title="Popover title" data-content="Start searching">guys</a>
        </div>
    </div>
    </body>
    </html>
    

    In above example we build four different popups with different designs.

    alt text

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: