GithubHelp home page GithubHelp logo

Comments (10)

KidSysco avatar KidSysco commented on May 28, 2024 1

Yes, I totally agree with you. I see no reason as to why the ui-state-disabled class was being added.

Most importantly, have FUN while coding this weekend @bsienn!

from jquery-ui-month-picker.

KidSysco avatar KidSysco commented on May 28, 2024

Hello Wallenium,

I was able to put together a fiddle that shows everything working very nicely together. I was unable to spot the problem in your code, it should work fine. But I am unable to debug your code on your site, this is why we usually try to work in JS FIddle, so we can collaborate on code together.

Take a look at the fiddle I have put together here and see if you can adjust your code accordingly. Hard to tell, but to me, it looks like you are doing everything correctly. Your code works very well in JS Fiddle.

https://jsfiddle.net/kidsysco/a6kq6v5q/

Let me know how this goes.

Thanks

-kid

from jquery-ui-month-picker.

KidSysco avatar KidSysco commented on May 28, 2024

Nice job BTW. That is a very interesting UI and I don't think anyone here has EVER thought of using the month picker like you are doing here. This is very clever and creative thinking you are doing here. Good job!

@benjamin-albert @bsienn - You guys should take a look at what Wallenium is doing with the plugin when you get a chance. I always find it very rewarding when someone uses technology in interesting ways.

from jquery-ui-month-picker.

benjamin-albert avatar benjamin-albert commented on May 28, 2024

@wallenium Thank you for opening an issue and helping us make this project better for everyone!

This is happening because (as I've mentioned in #38) my jQuery UI button hacks do not work with the revamped CSS of jQuery UI 1.12 or greater.

When I opened #38 jQuery UI 1.12 was still in Bate and I decided to wait until a user runs into this as an issue before writing support for jQuery 3 and jQuery UI 1.12.

You can easily solve this issue by downgrading to the latest version of jQuery 2 and jQuery UI 1.11.
@wallenium If you cannot downgrade to jQuery UI 1.11 please let us know.

I will also open an issue discussing my ideas for supporting the new jQuery/jQuery UI versions.

As I've mentioned in #71 I am currently really busy furnishing my new apartment on my free time.

Hopefully I can get around to this and other issues that need to be done around here soon.

@KidSysco You can also reach me on Slack and I will try to respond.

from jquery-ui-month-picker.

benjamin-albert avatar benjamin-albert commented on May 28, 2024

I guess we can also mention this in the installation section of the Wiki.

from jquery-ui-month-picker.

wallenium avatar wallenium commented on May 28, 2024

First: thanks a lot fit your help. Pretty impressive

@benjamin-albert sadly downgrade is not an Option for us.. if there is a workaround, would be Great if You Could share it :) not sure why not supporting the latest ui Version.

Kind regards
Simon

from jquery-ui-month-picker.

benjamin-albert avatar benjamin-albert commented on May 28, 2024

@wallenium I am planning to implement support for jQuery UI 1.12 as soon as I finish setting up my apartment.

This should happen sometime at the beginning of April (next month).

In the meanwhile you have a few of options:

  1. Implement support for jQuery UI 1.12 and open a Pull Request (best approach).
  2. Use DOM and plugin events to hack support (this most likely will break when I implement support for jQuery UI 1.12 and you will want to use the latest version).
  3. Try to use version 2.x which does not have the transparent/animated button hacks (this also might not work).
  4. Try to run two versions of jQuery UI (which I don't think will work because the CSS will clash).

from jquery-ui-month-picker.

wallenium avatar wallenium commented on May 28, 2024

i Chose Option 1. Might not be the best implementation, but works for me. Feel free to improve it further.

by the way: http://kompsoft.de/test/eqdkp/ajax/calendarmonthcheck/demos/basic-views.html

Is now a bit better styled than before ;)

from jquery-ui-month-picker.

Iznogood1 avatar Iznogood1 commented on May 28, 2024

Hi All,
not sure to be on topic (it's my fisrt time in github)

To fix the issue with jqueryUI 1.12, I have just commented the lines starting with _setDisabled(this.prev_Button and _setDisabled(this.next_Button

And I also made some updates of the MonthPicker.css file to fix display issues:

.month-picker table {
  /*border-collapse: separate;
  border-spacing: 2px 2px;*/
  border-collapse: collapse;
  border-spacing: 0;
}

.month-picker .ui-button-text {
  /*padding: .4em 0;*/
  padding: 0;
}

.month-picker-header {
   /*margin: 3px 3px 0px 3px;*/
  margin: 0;
}

.month-picker-year-table .ui-button{
	background-color : transparent;
}

.month-picker-year-table a {
    /*border: 1px solid transparent;*/
}

.month-picker-year-table .ui-button {
    font-size: 1.1em;
    margin: 0;
    /*width: 1.5em;
    height: 1.5em;
    cursor: default;*/
    margin: 0;
    border: none;
}


.month-picker td.month-picker-previous{
	padding-left: .25em;
}
.month-picker td.month-picker-next{
	padding-right: .25em;
}


.month-picker-year-table .month-picker-title .ui-button {
	font-size: 1.2em;
	font-weight: bold;
	padding: 0.2em;
	border : none;
}


.month-picker-month-table td {
    /*height: 35px;*/
    text-align: center;
}

.month-picker-month-table .ui-button {
    /*width: 4.2em;
    margin: .2em;*/
    width:3em;
    margin:.25em;
}




from jquery-ui-month-picker.

benjamin-albert avatar benjamin-albert commented on May 28, 2024

@Iznogood1 Welcome to GitHub!

Whenever you want to propose changes on GitHub you:

  1. Check and read this issues. If you read this issue you'll notice there is an open pull request which means someone is already working on resolving the issue with _setVisiblity().

  2. If you can't find an open pull request (or you think you have a better solution) for the issue Fork the repo, make the fix and open a pull request.

  3. Once you've opened a pull request you will get automated test results (see this example of test results) and we can review and discuss your changes.

  4. Once we approve your changes we can merge those changes into the main repo for everybody to use.

from jquery-ui-month-picker.

Related Issues (20)

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.