Giter Site home page Giter Site logo

layout's People

Contributors

allpro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

layout's Issues

Button Addon: inst.state[pane] is undefinined during _load() when called from layout()

When using jquery.layout 1.4.3, upon initial page load on Firefox 38.6 or later, the _load() method within the jquery.layout.buttons.js is caught by Firefox 38.6 with Firebug 2.0.19 as having an undefined 'inst.state[pane]'.

The 'pane' value is 'n' in my scenario and there isn't a code path from calling 'layout()' on the main jquery.layout which initializes the inst.state[pane] properly.

Note: Firefox + Firebug cause this where Chome and IE didn't.

inst.state[pane].pins = [];
File: jquery.layout-143_and_plugins.js
Line: 5886

how to use such as addToggleBtn function in latest version

outerLayout = $("body").layout( layoutSettings_Outer );
outerLayout.addToggleBtn( "#tbarToggleNorth", "north" );
var westSelector = "body > .ui-layout-west"; // outer-west pane
$("").addClass("pin-button").prependTo( westSelector );
outerLayout.addPinBtn( westSelector +" .pin-button", "west");
$("").attr("id", "west-closer" ).prependTo( westSelector );
outerLayout.addCloseBtn("#west-closer", "west");

maskContents bug

Hard to pin down, but I'm finding that when having maskContents enabled it sometimes blanks out one of my panes when it shouldn't. It seems to get inverted somehow as during resize the pane becomes unmasked.

Is there a reason why we can't just have one big transparent div over the entire screen which is created on dragstart and removed on dragstop? This approach seems to be working ok for me.

Cannot read property 'split' of undefined

i use jquery-3.1.1 and jquery-ui-1.12.1
i get this error :

VM1567:1832 Uncaught TypeError: Cannot read property 'split' of undefined

in this line (1392):

sC.selector = $N.selector.split(".slice")[0];

Dead "issues" link on http://layout.jquery-dev.com/

On http://layout.jquery-dev.com/ under "Contact information" I see:

Review issues and requests on the issues page page

That link - to http://layout.jquery-dev.com/issues.html - should be changed to https://github.com/allpro/layout/issues, right?

Also, the http://layout.jquery-dev.com/issues.html page is not entirely dead, but opens a frame with src="http://archive.plugins.jquery.com/project/issues/Layout#jq-content" and that gets a "Server not Found". Perhaps http://layout.jquery-dev.com/issues.html should also be changed to point to https://github.com/allpro/layout/issues.

Publish this project on NPM

Hey, @allpro.

We use npm as our package manager. Right now we have to use Napa to install jquery-ui-layout but, this process is flacky and would be so much easier and reliable to use directly from npm repository. Do you have plans to publish jquery-ui-layout as an npm package?

jQuery.fn.bind() is deprecated

jQuery.fn.bind() is deprecated

for (name in layoutMethods) {
    $N.bind("layout" + name.toLowerCase() + "." + sID, Instance[ layoutMethods[name] || name ]);

Change to $N.on(...) and adjust syntax if needed.

project dead?

Is this project dead because it seems pretty inactive.
If so I may make a fork.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.