Now in web 2.0 the UI is a very important part of web development. So Javascript and CSS is playing a very important role in web development.
Here, I am discussing how to create a popup box with help of facebox and jquery. It’s very simple and easy. You can download facebox from here.
Checkout other Popup tutorials,
Step 1: First we will include js file and jquery file of facebox.
<script src="lib/jquery.js" type="text/javascript"></script><br><script src="src/facebox.js" type="text/javascript"></script>
Step 2: Now create a link in HTML to display the popup.
<div> <p><a href="#info" rel="facebox">Click to display</a></p> </div>
Step 3: create popbox and include all the content which is want to display in HTML file.
<div id="info" style="display: none;"> Popup div It looks great! </div>
href
of step 2.Step 4: Now include js code to display facebox popup.
<script type="text/javascript"><br /> jQuery(document).ready(function($) {<br /> $('a[rel*=facebox]').facebox({//apply all anchor tag which has rel=facebox attribute<br /> loadingImage : 'src/loading.gif',<br /> closeImage : 'src/closelabel.png'<br /> })<br /> })<br /> </script>
This is a simple tutorial of facebox examples using jquery. The facebox is to use and integrate with your application without any coding knowledge.
This tutorial helps integrate a PHP SDK with Laravel. We'll install aws-php-sdk into laravel application and access all aws services… Read More
in this quick PHP tutorial, We'll discuss php_eol with examples. PHP_EOL is a predefined constant in PHP and represents an… Read More
This Laravel tutorial helps to understand table Relationships using Elequonte ORM. We'll explore laravel table Relationships usage and best practices… Read More
We'll explore different join methods of Laravel eloquent with examples. The join helps to fetch the data from multiple database… Read More
in this Laravel tutorial, We'll explore valet, which is a development environment for macOS minimalists. It's a lightweight Laravel development… Read More
I'll go through how to use soft delete in Laravel 10 in this post. The soft deletes are a method… Read More
View Comments
thanks a lot.
anyone know how to
dynamic tabs and pills
(link-
http://www.w3schools.com/bootstrap/tryit.asp?filename=trybs_tabs_dynamic&stacked=h
)
if any one knows then
send me mail please ....
(Thanks)
prince.gupta144@gmail.com
Hi,
You can create tabs dynamically using this tutorial.
https://phpflow.com/php/bootstrap-tabs-with-carousel/
Hello,
It's not dynamic in php I want to dynamic tabs and pills .
if you have any idea than send me pls.
Thanks
I am passing tabs in php array,which can be passed by server side.