Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difficulty setting up #1

Closed
alanjdoolan opened this issue Feb 6, 2014 · 11 comments
Closed

Difficulty setting up #1

alanjdoolan opened this issue Feb 6, 2014 · 11 comments

Comments

@alanjdoolan
Copy link

I'm attempting to test this code but I'm getting no result. Do you have an example of it working?

@mateuszmarkowski
Copy link
Owner

A page with examples is something I've been planning to do. I'll try to setup a basic demo within a few days.

@mateuszmarkowski
Copy link
Owner

A few days and commits later here comes a very basic demo page: http://mateuszmarkowski.github.io/jQuery-Seat-Charts/

It's pretty ugly but serves the purpose I believe.

@alanjdoolan
Copy link
Author

That is awesome. Got me set up. I'm messing around with the styling and
loving it but I did have a few questions.

  1. I'm trying to add a stage but having little luck. Any suggestions on
    how I can do this or is it possible to do already?
  2. I'm also looking to have it so that the seats start the other way
    around (bottom to top), how would I do that without manually writing in the
    seat locations?

Thanks again!
Alan

On 22 February 2014 13:22, Mateusz notifications@github.com wrote:

A few days and commits later here comes a very basic demo page:
http://mateuszmarkowski.github.io/jQuery-Seat-Charts/

It's pretty ugly but serves the purpose I believe.

Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-35802403
.

@alanjdoolan
Copy link
Author

Actually, I noticed that if I put an aile in the center of the seats the
aile is being counted as a seat column and so there is a missing seat in
the row (e.g. 1234_6789)
any suggestion on how to overcome this?

On 24 February 2014 12:03, Alan Doolan alanjdoolan@gmail.com wrote:

That is awesome. Got me set up. I'm messing around with the styling and
loving it but I did have a few questions.

  1. I'm trying to add a stage but having little luck. Any suggestions on
    how I can do this or is it possible to do already?
  2. I'm also looking to have it so that the seats start the other way
    around (bottom to top), how would I do that without manually writing in the
    seat locations?

Thanks again!
Alan

On 22 February 2014 13:22, Mateusz notifications@github.com wrote:

A few days and commits later here comes a very basic demo page:
http://mateuszmarkowski.github.io/jQuery-Seat-Charts/

It's pretty ugly but serves the purpose I believe.

Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-35802403
.

@mateuszmarkowski
Copy link
Owner

I'll think about the stage, but the other two are fairly easy:

Bottom to top seats:
You can write a small function that will simply create the rows array:

rows    : (function(length) {
    var rows = [];
    for (var i = length; i >= 1; i--) {
        rows.push(i);
    }
    return rows;
})(6)
//(6) causes the function to run immediately with 6 as length param

For the isle I think you could also write a function but passing a ready array will be easier:

columns : [1,2,3,4,5,'','','',6,7,8,9],

@alanjdoolan
Copy link
Author

I've tried the columns before but the seats don't skip too

On 18 March 2014 07:54, Mateusz notifications@github.com wrote:

I'll think about the stage, but the other two are fairly easy:

Bottom to top seats:
You can write a small function that will simply create the rows array:

rows : (function(length) {
var rows = [];
for (var i = length; i >= 1; i--) {
rows.push(i);
}
return rows;
})(6)
//(6) causes the function to run immediately with 6 as length param

For the isle I think you could also write a function but passing a ready
array will be easier:
columns : [1,2,3,4,5,'','','',6,7,8,9],

Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-37907026
.

@mateuszmarkowski
Copy link
Owner

Hmm, what do you mean by seats not skipping?

@mateuszmarkowski
Copy link
Owner

Alan, I spent some time on the project which resulted in a much better demo with a stage. Also it's now possible to override ids and labels per seat so you're not limited by getLabel/getId functions: 6b181f1

@alanjdoolan
Copy link
Author

excellent, I'll give it a go. Thanks for letting me know!

On 9 June 2014 21:20, Mateusz notifications@github.com wrote:

Alan, I spent some time on the project which resulted in a much better
demo with a stage. Also it's now possible to override ids and labels per
seat so you're not limited by getLabel/getId functions: 6b181f1
6b181f1


Reply to this email directly or view it on GitHub
#1 (comment)
.

@alanjdoolan
Copy link
Author

I only noticed the life map update with sold seats. I'm not fully sure I
get how the information is to be returned to function.

On 9 June 2014 22:17, Alan Doolan alanjdoolan@gmail.com wrote:

excellent, I'll give it a go. Thanks for letting me know!

On 9 June 2014 21:20, Mateusz notifications@github.com wrote:

Alan, I spent some time on the project which resulted in a much better
demo with a stage. Also it's now possible to override ids and labels per
seat so you're not limited by getLabel/getId functions: 6b181f1
6b181f1


Reply to this email directly or view it on GitHub
#1 (comment)
.

@mateuszmarkowski
Copy link
Owner

Btw, the demo url has changed.

What information do you mean and which function?

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants