Skip to content

Comments

Added tutorials for Galaxy Zoo (3), Snapshot Serengeti (2)#97

Open
willettk wants to merge 12 commits intozooniverse-glacier:masterfrom
willettk:master
Open

Added tutorials for Galaxy Zoo (3), Snapshot Serengeti (2)#97
willettk wants to merge 12 commits intozooniverse-glacier:masterfrom
willettk:master

Conversation

@willettk
Copy link

@willettk willettk commented Sep 6, 2013

There are a couple of issues with the tutorial files in CoffeeScript - mostly, I don't know how to select a specific element within the webpage that has the same name as others. For example: if there are multiple Tools open and I want to place an attachment next to the "Data Source" menu, the zootorial won't necessarily pick the correct window. I'm sure this can be designated, but I don't know how.

If @edpaget or @brian-c can fix this (and/or show me how), that'd be appreciated.

@brian-c
Copy link

brian-c commented Sep 6, 2013

The selector part of attachment is just passed off to jQuery, so you can put anything there you can give to jQuery. E.g. .foo[href="#bar"]:nth-child(3).

@willettk
Copy link
Author

Hi @brian-c,

I don't know Javascript or jQuery at all, really, and so a more concrete
example would be helpful for me. For example: if I have two tool windows
open, what would I put in the selector attachment to distinguish between
the source selection menus?

Example:
http://tools.zooniverse.org/#/dashboards/galaxy_zoo/522f4dd1603005558a000019

In zootorial, I currently have:

attachment: 'left center select.sources 1.2 0.0'
  • thanks very much,
    Kyle

On 6 September 2013 18:11, Brian Carstensen notifications@github.comwrote:

The selector part of attachment is just passed off to jQuery, so you can
put anything there you can give to jQuery. E.g.
.foo[href="#bar"]:nth-child(3).


Reply to this email directly or view it on GitHubhttps://github.com//pull/97#issuecomment-23975193
.

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

Successfully merging this pull request may close these issues.

2 participants