Dùng JavaScript trong thiết kế Web

Bài viết JavaScript này liệt kê danh sách hàng chục tài nguyên cực kì hữu ích dành cho việc thiết kế web. Với danh sách đầy đủ các tài nguyên cần thiết trong bài viết này, bạn có thể dễ dàng tạo ra một website đầy cuốn hút. Vui lòng vào bài viết chi tiết để xem thêm.

In today's post, we're going to take a look at how you can effectively use JavaScript in Web Design. JavaScript has allowed web designers to easily enrich their visual designs with new features and elements that can make using a website a much more interactive, intuitive and enjoyable experience. In recent years, the introduction of JavaScript frameworks such as jQuery, MooTools, Scriptalicious and ExtJS has simplified this process considerably, allowing designers to be innovative with their user interfaces. To begin today's post, let's take a look at a generic wireframe to your typical website.


Below you can see a wireframe that consists of a header, a login area, central page elements, a search box, a sidebar, banner adverts, a footer, floating elements and a website toolbar. This could easily be a blog-site, a business's official website or any number of different projects.

As designers, most of our pages share a few key elements and I believe that the elements in this diagram represent the majority of those we might encounter on a daily basis.

pagecontents

So, let's imagine for a moment that we've just created a basic layout for a site using the above as a guideline. We know that we can style any of the elements in this layout using either CSS or some PSD graphics, but what if we want to add more interactivity to our elements so that they allow our users to *do* more with the site?.  This is where JavaScript can come in useful.

JavaScript offers a whole wealth of benefits to web designers and web developers. Let's go through some of them. If I have a standard search box on my site, that allows my users to search through the content that's available and if they're lucky enough, they'll find what they're looking for. If however, I have a JavaScript powered Search-Box that offers them auto-complete features, they'll be able to quickly and easily refine their search queries to get the content they want, without needing to reload the search page lots of times.

diagram1

We've just introduced a time-saving feature and that's going to make life easier for our users. These are the kinds of functional benefits introducing JavaScript powered elements into your design can offer to the people who are going to be using your pages the most.

JavaScript can also offer a lot of benefits to you as a web designer. Let's say that your site depends on ad-revenue a lot and that to maximize this, you might need to be conservative with your use of space. This can have major impacts on your design if you're just using a CSS/XHTML layout, but not if you're using JavaScript to help solve the problem. As an example, if I wanted to include a login-form at the top of my page, but couldn't because we need that space for adverts, I could easily introduce a JavaScript powered button in it's place that could slide-down the login area whenever someone needed it. The result? I, the designer, get to include my login area at the top of the page afterall but the site's advertising needs don't have to be scarified.

It can be safely said that JavaScript has had a huge impact on the web design landscape. Looking at just one JavaScript framework alone, jQuery itself now powers almost 20% of websites online. With this in mind I would certainly recommend continuous learning about your framework of choice so that you get ideas for what's possible with your interfaces. Just remember to cover the basic JavaScript fundamentals before hopping onto the framework bandwagon!.

Okay, so let's get to the really useful content in this post. I wanted to show you guys how you can use JavaScript (in this case jQuery) to enhance all aspects of conventional Web Design, from things you can use JavaScript for to make your Header more interactive, to tutorials you can use to create innovative new menus or search features that your users and clients will be impressed with. We're going to start from the top of the page (with Login Forms) and end it with website toolbars.

I hope you find the post useful!



Login Button/Form


Twitter-like Sign-in Box for Your Header

image

Horizontal User Login Block Using jQuery & CSS

image

An easy-to-create Login Panel with jQuery and CSS

image

An Ajax & jQuery Simple Login Example

image

A Sliding jQuery Login Panel for Wordpress & Buddypress

image

How to create a slick jQuery Login Form for Wordpress

image

Wordpress Front-page login with jQuery Sliding Panel

image

jQuery OpenID Login Form

image





Search Box

How To Create A Twitter-like Search With jQuery and Ajax

image

How To Create An Apple-Style Search Suggestion Form

image

How to Improve your search boxes with jQuery

image

How to Easily add AutoComplete features to your searchbox

image 

How To Create a Facebook-Like Search UI using jQuery

image

jQuery AutoComplete Tutorial (jQuery + JSON + PHP)

image

jQuery AutoComplete Tutorial (jQuery + XML)

image

jQuery AutoComplete Tutorial (jQuery + JSON + GRAILS)

image

jQuery AutoComplete Tutorial (jQuery + JAVA + JSP )

image

Mike More's Realtime Search Stream

image






Page Header

jQuery Caption Slider for your Header

image

A Persistant jQuery Header

image

A Sprite-Based jQuery Animated Header

image

An Impressive Animated Landscape with jQuery

image

How to build an animated Header in jQuery

image

Parallax based Header in jQuery

image

Slide-in Panel with jQuery

image



Page Adverts & Banners

jQuery Rotating Banner 1

image

jQuery Rotating Banner 2

image

jQuery Pop-out Ad

image

jQuery Page Peel

image

jQuery Corner-Ads

image

jQuery Vibrate

image

jQuery Text-Link Ad Rotation

image

Creating a Rotating Billboard System with jQuery & CSS

image




Navigation
How To Build A LavaLamp Style jQuery Menu

image

36 Eye Catching jQuery Navigation Menu

image

10 Incredible jQuery Navigation Menus

image

24 CSS/jQuery Navigation Menus

image

45 jQuery Navigation Plugins And Tutorials

image

jQuery Navigation For Web Design

image

30 jQuery Drop-Down Menus For Navigation

image

How to Build and Enhance a 3-Level Navigation Menu

image

A Different Top Navigation

image



Page Elements


jQuery Masonry

image
 
jQuery Colomnizer Plugin

image

jQuery UI Layout Plugin

image
jQuery Columns Plugin

YouTube-Like jQuery Adaptable Views

jQuery Layout Background Plugins

jPolite jQuery Layout Plugin

Layout Background Plugin

Style Author Comments Differently with jQuery

jQuery Sequential List

jQuery Feed Menu

Read More Button Options (1)

Read More Button Options (2)



Sidebars 

jQuery Sidebar Sliding Tab Menu Tutorial

image

jQuery Dynamic Collapsible Sidebar

image


Creating A Sliding Sidebar That Follows The User



8 Amazing jQuery Accordians

image
Sliding SideBar Menu in JQuery

image

How To Create A 'Mootools Homepage' Inspired Navigation Effect Using jQuery

image  

Apple Flashy jQuery Sidebar

image



Floating Elements

jQuery Floating Slide-In Menu with Anchor Link

image

jQuery Floating Comment-Form

image

Create a Floating Menu with jQuery

image

Create Floating Navigation using jQuery

image

jQuery Floating Message Plugin

image

jQuery Top-Floating Message Box

image

jQuery Sticky Floating Notes


image





Call-To-Action Buttons

Create an Animated Call To Action Button with jQuery
jQuery Animated Buttons with CSS 
jQuery Fancy Radio Buttons
jQuery GlowButtons
jQuery UI Buttons tutorial



Sharing Elements 


Create a Mashable-Style Drag To Share With jQuery

image

Social Sharing Icons With A Cool jQuery ToolTip

image

Create a Fancy Share Box with CSS And jQuery

image

How to Create a Social Menu with jQuery

image

A jQuery Version of ShareIt

image






Page Footer



How to create a Pinned Footer for your site

image

How to create a dynamic animated footer ad for your site

image

Cross-browser Sticky Footer with Fluid Height

image

How to create a Sticky-Footer

How to automatically use jQuery to size your footer Height



Fixed-Position Website Toolbars



How To Create a Website Toolbar And Add Widgets to it

image

Facebook Style Footer-Toolbar from Soh Tanaka

image

JixedBar - A Fixed-Position Toolbar plugin for jQuery

Floating Footer Toolbar

CSS3 Fixed-Position Toolbar for your site with Social Networking Icons

image


And that's it!. If you're interested in learning more about jQuery and JavaScript and would like to stay up to date with the latest articles, please feel free to subscribe to the RSS feed. Alternatively, you can access to my weekly and daily JavaScript recommendations by joining either my Fan page or my Facebook Group, jQuery Awesome. Thanks!


IMAGE_844
Source: http://addyosmani.com/blog/the-ultimate-guide-to-javascript-in-web-design/

Nhận xét

  1. Nặc danh09:04 30/3/13

    I'm not sure exactly why but this website is loading incredibly slow for me. Is anyone else having this issue or is it a problem on my end? I'll
    check back later аnd sеe if the problem stіll exiѕts.


    Here іs my wеb blog - microfinance.ca

    Trả lờiXóa
  2. Nặc danh03:05 2/4/13

    Today, I wеnt to the bеach ωіth my children.
    I found a sеa shell and gaνe it
    to my 4 yeaг old ԁaughter and said "You can hear the ocean if you put this to your ear." She
    placed the shell tο her ear and screamed. There was a hermit
    crab іnsidе and іt pinched hег eаr.
    She never wants to go back! LoL I κnow this іs entiгеlу off
    topic but I had to tell ѕomeоnе!


    My page; web design tutorials html5

    Trả lờiXóa
  3. Nặc danh17:58 2/4/13

    Right away I am going awaу to do my breаkfаst, lаteг than having my bгeаkfast coming again
    tο read aԁdіtionаl
    newѕ.

    Fееl frее to suгf to my weblog: buy domain name

    Trả lờiXóa
  4. Nặc danh10:17 5/4/13

    I got this website fгom my pal who told me concerning this web site anԁ
    now this time I am brοwsing this web pаge and
    геadіng verу infoгmatіve articlеs
    at thiѕ time.

    Ηеre is my webpage: diseño web

    Trả lờiXóa
  5. Nặc danh00:47 6/4/13

    What's up mates, its great paragraph on the topic of teachingand completely explained, keep it up all the time.

    Feel free to surf to my blog come creare un sito internet gratis

    Trả lờiXóa
  6. Nặc danh01:06 11/4/13

    It іѕ perfect timе to mаke somе plаnѕ for the future аnd it is time to be haрpy.
    Ι have read this poѕt anԁ if I coulԁ I wаnt to ѕuggеst you
    ѕоme іnterеsting things οr suggestiοnѕ.
    Mаybe you can wrіte nеxt articlеѕ referrіng to this
    artiсlе. I dеsігe tο rеad evеn more things about it!



    my web blog :: Alojamiento Web

    Trả lờiXóa
  7. Nặc danh23:56 18/4/13

    І ԁon't even know the way I finished up right here, however I assumed this submit was once good. I do not recognize who you might be but certainly you are going to a well-known blogger in case you are not already. Cheers!

    Feel free to surf to my blog post ... www.regioneo.com

    Trả lờiXóa
  8. Nặc danh20:51 1/5/13

    Аω, this waѕ an extremely gοoԁ post.
    Finding the tіme and аctual effort to ρroԁuce
    а good article… but whаt can I say… I procrastіnate a lot and don't manage to get anything done.

    My website :: make a website fast

    Trả lờiXóa
  9. Nặc danh00:45 14/6/13

    Thank you for the good writeup. It іn fact was a amusemеnt account іt.

    Loоk advanсed to far addеd agreeablе fгom yοu!

    Hоwever, hоw cаn ωe cοmmunicаtе?



    Visit my webрage - buy domain from google

    Trả lờiXóa

Đăng nhận xét

Bài đăng phổ biến từ blog này

UpdatePanel Tips and Tricks

Các website về Kinh tế và Quản lý