An easy way to create a login panel with jQuery and CSS

Among many studies conducted to find out just what influences people’s perception of a website’s credibility, one interesting finding is that users really do judge a book by its cover… or rather, a website by its design.

Rapid changes in design trends are driving focus towards its usability. More and more features are being zipped into a plain and simple design for users to get bountiful results without spending more than a jiffy. The back-end coding is the key device to achieve this simplicity in design.

Keeping this mind, I’ve designed a small script to introduce a sliding login box into your website, just as you see in Twitter login page. The script comprises jQuery & CSS techniques to display this arty feature. Checkout the code below and try it yourself or simply download the ready to use files.

HTML

<div id="demo-header">

	<!-- Code for Login Link -->
	<a id="login-link" title="Login" href="#login">Clients Area</a>

	<!-- Code for login panel -->
	<div id="login-panel">
		<form action="" method="post">
			<label>Username: <input type=text name=username value="" /> </label>
			<label>Password: <input type=password name=password value="" /> </label>
			<input type=submit name=submit value="Sign In" /> <small>Press ESC to close</small>
		</form>
	</div>

</div>

CSS

<style type=text/css>

    a{text-decoration:none;}

    #demo-header{
        width: 980px;
        margin: 0 auto;
        position: relative;
    }
    #login-link{
        position: absolute;
        top: 0px;
        right: 0px;
        display: block;
        background: #2a2a2a;
        padding: 5px 15px 5px 15px;
        color: #FFF;
    }
    #login-panel{
        position: absolute;
        top: 26px;
        right: 0px;
        width: 190px;
        padding: 10px 15px 5px 15px;
        background: #2a2a2a;
        font-size: 8pt;
        font-weight: bold;
        color: #FFF;
        display: none; 
    }
    label{
        line-height: 1.8;
    }
</style>

jQuery

<script src=//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js></script>
<script type=text/javascript>

	// jQuery to apply actions to the link
	$(document).ready(function(){
	    $("#login-link").click(function(){
	        $("#login-panel").slideToggle(200);
	    })
	})

	//jQuery to apply actions to the ESC key
	$(document).keydown(function(e) {
	    if (e.keyCode == 27) {
	        $("#login-panel").hide(0);
	    }
	});

</script>
Contact Us

See Our Portfolio

How to make Blurry Text with CSS

Its pretty easy to make some blurry text with CSS. We can do it by just making the text color transparent and adding some text shadow. Here’s the code for the same:

Blurry Text with CSS

To do it on the normal text we can create a class and use SPAN tag to make the text blurry.

Example: This text will be blurry!

HTML Code

<span >This text will be blurry!</span>

CSS Code

.blur{
    color: transparent;
    text-shadow: 0 0 3px rgba( 0, 0, 0, 0.5);
}

We can make the links blurry on hover by adding the blurry styles on a: hover pseudo-class.

<a href="" title="">This link text will be blurry on hover.</a>
a.blurry-links{
    color:red;
}
a.blurry-links:hover{
    color: transparent;
    text-shadow: 0 0 3px rgba( 0, 0, 0, 0.5);
}

You can always change the RGB values and the opacity for the text-shadow property and have the blurry text in a different colors.

Contact Us

Our Website Design Sevices.

An easy way to create Tabbed Content with jQuery & CSS

Tabbed content is a great way to handle a lot of information on a page without loosing usability and it provides a great user experience as well. Here’s a real easy way to create tabbed content with jQuery and CSS.

Let’s create tabbed content with jQuery and CSS

Step 1: Include the jQuery library

<script src=//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js></script>

I’ve used the latest version of the Google-hosted jQuery library, however, you can always download the script and host it on your server.

 Step 2: Write some HTML code

<div >
    <ul >
      <li data-tab="tab-1">Tab One</li>
      <li data-tab="tab-2">Tab Two</li>
      <li data-tab="tab-3">Tab Three</li>
      <li data-tab="tab-4">Tab Four</li>
    </ul>
    <div id="tab-1" >
      Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
    </div>
    <div id="tab-2" >
      Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
    </div>
    <div id="tab-3" >
      Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
    </div>
    <div id="tab-4" >
      Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
    </div>
</div><!-- container -->

In the above code I’ve created an unordered list which will act as tabs and I’ve used a custom attribute named data-tab and set its value to tab-1, tab-2 and so forth. We will use the data-tab attribute in our jQuery script to toggle the “current” class to hide and display our tabs.

Below the unordered list, there are a few DIV elements with ID attribute same as the data-tab attribute we used in the unordered list. This will do all the magic. Before adding the magic script, lets write some CSS to stylise our HTML Unordered list and content panels.

I’ve added “current” class to the first elements and we will play with the current class to stylise the active tabs and toggle the data content div element.

Step 3: Write some CSS to style the HTML

body{
	margin-top: 100px;
	font-family: 'Trebuchet MS', serif;
	line-height: 1.6
}
.container{
	width: 800px;
	margin: 0 auto;
}

ul.tabs{
	margin: 0px;
	padding: 0px;
	list-style: none;
}
ul.tabs li{
	background: none;
	color: #222;
	display: inline-block;
	padding: 10px 15px;
	cursor: pointer;
}

ul.tabs li.current{
	background: #ededed;
	color: #222;
}

.tab-content{
	display: none;
	background: #ededed;
	padding: 15px;
}

.tab-content.current{
	display: inherit;
}

I’ve used display:none for the .tab-content and display:inherit for the “current” tab. This will hide all DIV elements and show the tab with current class only. We will play with the current class to get our tabbed content work with a small magical jQuery code.

You can always change the CSS to have the look and feel similar to your website, use some image backgrounds to make it nice and smooth.

Step 4: Write the magic jQuery code

Now here’s the magic jQuery code which will actually create the tabbed content work.

$(document).ready(function(){
	$('ul.tabs li').click(function(){
		var tab_id = $(this).attr('data-tab');
		$('ul.tabs li').removeClass('current');
		$('.tab-content').removeClass('current');
		$(this).addClass('current');
		$("#"+tab_id).addClass('current');
	});
});

When the DOM is ready, if a user clicks on any list element of ul.tabs it will grab the data-tab attribute and assign the same to tab_id variable. Then, we will remove the current class from all list elements and our DIV.tab-content elements with the jQuery removeClass attribute. Then we will add the “current” class to the clicked list element and DIV tab with the grabbed data-tab ID.

That’s it, now we have working tabbed content with jQuery and CSS. Try it, share it and let me know of your thoughts in the comments. If you need to add any additional functionality, feel free to ask in the comments.

contact us

IoT and Web Design Services: A High Performing Combination

“Change is the law of nature” …

This saying is true and applicable to all things in the current scenario. Remain up-to-date with all the new changes has become very important. Internet of Things (IoT) is one such smart technology that has become the need of every sector and every product. Moreover, IoT describes smart and well-connected devices that flawlessly operate and allow things to exchange data. As well it also facilitates people with on-demand information continuously. IoT has formed a strong bond between the real and virtual worlds. And amusingly, web design services are also being associated with the trending IoT technology. While talking about the importance of IoT for web design, there are several aspects that should be considered.

So How Do IoT and Website Design Services Are Connected?

Before understanding the connection between IoT and web design, it is a must to know about Graphical User Interface (GUI). GUI is basically a visual way of interacting with a computer using various elements. Buttons, windows, and icons are examples of such elements. These elements are specially used to make the machine more accessible to everyday users.

IoT thus plays a significant role in making web experience creative and interactive for users. It assists people with all the information they need and demand. Indeed, it helps all those who want captivating websites by entering into the realm of web development. The implications of IoT for SEO are also very vast.

web design services

Role of IoT in Web Designing

A clean interface with more accessible communication is the need of time. Briefly, the web design should be straightforward to adapt across different smart devices. And this, in turn, has a strong connection with IoT. Here are the main peculiarities of IoT and the various ways in which it affects web designing and internet marketing services.

1.     Robust Back End Communication –

The strong and robust back-end architecture is another necessity. An excellent backend accepts & transmits data and assists users to communicate with the device flawlessly.

2.     Intuitive User Interface – 

The first and foremost important thing is to have a fast, clean, and interactive layout. Hiring experts from the best website designing company ensures the design inclusions are meaningful and maintain logical workflow.

3.     Reliability & Speed –

Connecting the requests with IoT has changed the entire scenario. It is helpful to pass the data to the cloud. And the connected devices then allow users to communicate efficiently.

4.     Privacy –

One of the risks associated with IoT is privacy attacks. With no security measures taken to protect the design, it becomes more vulnerable to attacks by hackers. Thus, it becomes essential to take all security measures.

5.     Management of the Power –

IoT devices generally run on a battery. This means the battery can exhaust whenever the communication exceeds the limit. Thus, it becomes necessary to strategize the design to make less power usage.

After knowing the role of IoT in web design services, it becomes essential to find a way to achieve this. Taking expert solutions from the best SEO Services Company and web designing agency is a profitable option. They have extensive knowledge in the development and formulation of the interactive platform for your IoT devices.

Advantages of Getting IoT in Web Designing Services –

  • Enhanced Communication – IoT enhances communication among the physical device with complete transparency.
  • Automation and Control – With the use of IoT, devices can communicate with each other in a digitally automated & controlled manner.
  • Better Decision-Making – It also provides the correct information and knowledge that helps in making the right decisions.
  • Monitoring – Furthermore, exact information also assists in monitoring the expiration of anything that improves safety as well.
  • Technical Ease – This technology offers technical comfort that increases convenience and better management.

The IoT and its association with web design services have a long way to go. One can foresee the miracles of this connection over the years to come.

7 checklist – How to know if your website need redesign?

1. Do you like to see it fresh?

Redesigning your website at an interval of a few weeks/months makes your visitor feel more fresh and attractive. How would you feel having the same food again and again? Didn’t like, the same goes here with users. They want to see something different and unique every time when they come to your website. (Website Design Company)

2. How to make a website

With the change in technology, people are also changing their ways to use the internet. There was a time when a website was used only on desktop, but know traffic is moving to different modes. Mobile phones are playing a huge role in this change. Smartphone users are increasingly turning to their mobile devices to access the web, and without a mobile site, your business is missing out on a large consumer base

Companies should create a website that works on every device and provides a good view. Web developers and website Builders should focus on cool website designs to acetract clicks.

For your users to maneuver through your website, you need to constantly update and adapt. Top e-commerce website developers are continuously checking and making changes on their website so that whenever you come, you see something new and feel fresh…!!

3. The homepage is your first impression.

Your home page is like your drawing room which defines a complete overview of your company. What makes a good landing page is most important in order to get visitors’ attention.

The Focus should be on Simplicity on the website. Putting so much information in one place forever makes a user feel confused and bored. It is just like you are in the storeroom which has all the old stuff in an unorganized way. Asking visitors to take the pain in searching for one information on your website can make them frustrated and the last click on your page.

4. Errors and Slow Loading.

How you feel when you click on a website and it takes too long to get load? Today we do not have that much to see that loading circle. If a user encounters a slower website, they won’t stick around. Take a look at your site from your visitors’ point of view (use different browsers, as this can also be the issue). You must have heard to use some websites on Internet Explorer only or on Mozilla. If your website also needs only a specific browser to work, it means it should be redesign in proper form.

5. Affordable website design

India is growing in the IT and computing technology market. Now it has the best web development services available at a very fair price. You can easily get your website redesign on timely bases to avoid any issue or downtime of your website with a professional website design company.

Also, giving your website redesign to some company is like giving your all business data. Before such transfer, companies should verify with the web development company.

6. Always up to date with your Branding

The reason why this step is important so that everything designed will be consistent and showcase your company as envisioned. Make sure that all your brand logo, color, and language, fonts are accurate. Aligning specific button colors with particular stages gives consistency across the site that can clarify your user journey and improve their experience.

7. Important of the small business website redesign

Small business groups can use the website to enhance their chances to earn more profit. Selling goods online is easy and dose does not require a big setup. Making changes in design will make users believe that there is someone who is taking care of the webpage and will help me out in case of need. There are many best website designing companies is available in the market for such changes and provide website development services.

The Final Conclusion – In the 21st century, a good design, updated, and secure website can be an hour key to doing business. Also, it’s time to adopt a mobile-friendly website too.

It is quite possible that you don’t know even if your website needs to be updated or redesign. See all these points we have just discussed and don’t wait, before clicks on your website go down, get it fixed.

Trying something out of the box which makes the visitor feel their importance for your business. Just don’t end up making pages’ so heavy?

Why website needs Internet Marketing Services for branding?
Know more.

Enquiry Now

When We Work Together

We can create something incredible

arrow
HQ INDIA
HQ INDIA
C-31, Milap Nagar,
Uttam Nagar, New Delhi,
Delhi 110059
USA
USA
6715 Backlick Rd Suite 202
Springfield,
VA 22150, USA
AUSTRALIA
AUSTRALIA
2/51, Lane Cres,
Reservoir, VIC
3037, Australia
CANADA
CANADA
61 Payzant Bog Road, Falmouth, NS, B0P 1P0, CANADA
UK
UK
3rd Floor, 131 City Road, London, EC1V 2NX, United Kingdom
UAE
UAE
Boutik Mall, Al Reem Island - Abu Dhabi, UAE
X

Let Us Call You Back

  • India+91
  • United States+1
  • United Arab Emirates+971

Your phone number is kept confidential
and not shared with others.