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

  • Select all text on single click

    Text selection has been made easy

    • 186
    • 1
    • 186
    • facebook icon
    • twitter icon
    • google plus
  • Crazy nav highlighter plugin

    Style your menu selection

    • 330
    • 6
    • 330
    • facebook icon
    • twitter icon
    • google plus
  • Validate email by javascript regex

    Validate email field by regular expression

    • 234
    • 4
    • 234
    • 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