0%

Hey! Do you have any query related to front end?

Sign in Sign up

Centralize your contentBack

How to call:

Many times it has been asked, how to dynamically position our content inside its parent. So accordingly this plugin has been created to solve such problem. This is quiet simple to use. Only you will have to call "centralize()" function for the container, whose content you want to keep in center. There is an option to keep content at left, right, top or bottom too. This plugin will keep your content as appropriate position during resizing window too.

Add this plugin


And call its function.

$('.setLeft .collumn').centralize({
	pos : 'left' // Center from left
});
$('.setRight .collumn').centralize({
	pos : 'right' // Center from right
});
$('.setTop .collumn').centralize({
	pos : 'top' // Center from top
});
$('.setBottom .collumn').centralize({
	pos : 'bottom' // Center from bottom
});
$('.setAllSide .collumn').centralize(); //// Center from allside

How to comment:

  • Create an account in discuss by clicking on login next to arrow.
  • Create password for discuss and varify your email id, through your mail.
  • Refresh page and comment.

You might also like

  • Image selection like checkbox

    Select your image like a checkbox with little jQuery

    • 356
    • 34
    • 356
    • facebook icon
    • twitter icon
    • google plus
  • Side pusher hamburger menu

    Side pusher hamburger menu is a better way put more content on the page.

    • 441
    • 8
    • 441
    • facebook icon
    • twitter icon
    • google plus
  • Pure css3 accordion

    A pure css3 accordion which has been created by target pseudo selector.

    • 334
    • 17
    • 334
    • facebook icon
    • twitter icon
    • google plus

Latest quries posted

gopa kumarabout 3 years ago

amit singhabout 3 years ago

rahmat aliabout 3 years ago

mandavi tiwariabout 3 years ago

rahul sharmaabout 3 years ago

Ask question
Latest video
Learn Angular
Profile pic
Guest Back
Username
Password