jywarren / plots2

The Public Lab website!
http://publiclab.org
GNU General Public License v3.0
17 stars 2 forks source link

"drop downs" to expand and collapse text on intro pages #99

Closed ebarry closed 11 years ago

ebarry commented 11 years ago

needed to manage the large amounts of text on pages linked from http://publiclaboratory.org/wiki/new-comer-landing-page

jywarren commented 11 years ago

this could involve some kind of serious HTML on the part of the author... but i guess it's worth it. What about something like:

<a class="toggle" data-toggle="target-area">Toggle</a>

<div id="target-area">
  How about this?
</div>

Would that sort of syntax work? Would you want them always to be buttons or to have some icon indicating that they toggle an area?

On Mon, Apr 15, 2013 at 10:08 AM, Liz Barry notifications@github.comwrote:

needed to manage the large amounts of text on pages linked from http://publiclaboratory.org/wiki/new-comer-landing-page

— Reply to this email directly or view it on GitHubhttps://github.com/jywarren/plots2/issues/99 .

ebarry commented 11 years ago

hmmm, i could not get that to work on the sandbox page, although there was another snippet there that did work to collapse text. I think this piece will only work if it is used once on a page.

there can only be one of these toggles on a page

Hello World!

the page needs to actually load with most text in the collapsed state, and be ready for someone to click when they want to "Read more"

On Mon, Apr 15, 2013 at 10:20 AM, Jeffrey Warren notifications@github.comwrote:

this could involve some kind of serious HTML on the part of the author... but i guess it's worth it. What about something like:

Toggle

How about this?

Would that sort of syntax work? Would you want them always to be buttons or to have some icon indicating that they toggle an area?

On Mon, Apr 15, 2013 at 10:08 AM, Liz Barry notifications@github.comwrote:

needed to manage the large amounts of text on pages linked from http://publiclaboratory.org/wiki/new-comer-landing-page

— Reply to this email directly or view it on GitHub< https://github.com/jywarren/plots2/issues/99> .

— Reply to this email directly or view it on GitHubhttps://github.com/jywarren/plots2/issues/99#issuecomment-16387517 .

@lizbarry http://twitter.com/lizbarry

jywarren commented 11 years ago

Oh, i was just suggesting a syntax, it doesn't actually work, indeed. I'd write some javascript to make it "go". Would a syntax like that work?

On Mon, Apr 15, 2013 at 3:41 PM, Liz Barry notifications@github.com wrote:

hmmm, i could not get that to work on the sandbox page, although there was another snippet there that did work to collapse text. I think this piece will only work if it is used once on a page.

there can only be one of these toggles on a page

Hello World!

the page needs to actually load with most text in the collapsed state, and be ready for someone to click when they want to "Read more"

On Mon, Apr 15, 2013 at 10:20 AM, Jeffrey Warren notifications@github.comwrote:

this could involve some kind of serious HTML on the part of the author... but i guess it's worth it. What about something like:

Toggle

How about this?

Would that sort of syntax work? Would you want them always to be buttons or to have some icon indicating that they toggle an area?

On Mon, Apr 15, 2013 at 10:08 AM, Liz Barry notifications@github.comwrote:

needed to manage the large amounts of text on pages linked from http://publiclaboratory.org/wiki/new-comer-landing-page

— Reply to this email directly or view it on GitHub< https://github.com/jywarren/plots2/issues/99> .

— Reply to this email directly or view it on GitHub< https://github.com/jywarren/plots2/issues/99#issuecomment-16387517> .

@lizbarry http://twitter.com/lizbarry

— Reply to this email directly or view it on GitHubhttps://github.com/jywarren/plots2/issues/99#issuecomment-16406874 .

ebarry commented 11 years ago

i am hoping for a way for pages to load with the "Read More" links collapsed. The pages should not load with everything unfurled.

On Tue, Apr 16, 2013 at 1:00 AM, Jeffrey Warren notifications@github.comwrote:

Oh, i was just suggesting a syntax, it doesn't actually work, indeed. I'd write some javascript to make it "go". Would a syntax like that work?

On Mon, Apr 15, 2013 at 3:41 PM, Liz Barry notifications@github.com wrote:

hmmm, i could not get that to work on the sandbox page, although there was another snippet there that did work to collapse text. I think this piece will only work if it is used once on a page.

there can only be one of these toggles on a page

Hello World!

the page needs to actually load with most text in the collapsed state, and be ready for someone to click when they want to "Read more"

On Mon, Apr 15, 2013 at 10:20 AM, Jeffrey Warren notifications@github.comwrote:

this could involve some kind of serious HTML on the part of the author... but i guess it's worth it. What about something like:

Toggle

How about this?

Would that sort of syntax work? Would you want them always to be buttons or to have some icon indicating that they toggle an area?

On Mon, Apr 15, 2013 at 10:08 AM, Liz Barry notifications@github.comwrote:

needed to manage the large amounts of text on pages linked from http://publiclaboratory.org/wiki/new-comer-landing-page

— Reply to this email directly or view it on GitHub< https://github.com/jywarren/plots2/issues/99> .

— Reply to this email directly or view it on GitHub< https://github.com/jywarren/plots2/issues/99#issuecomment-16387517> .

@lizbarry http://twitter.com/lizbarry

— Reply to this email directly or view it on GitHub< https://github.com/jywarren/plots2/issues/99#issuecomment-16406874> .

— Reply to this email directly or view it on GitHubhttps://github.com/jywarren/plots2/issues/99#issuecomment-16426723 .

@lizbarry http://twitter.com/lizbarry

jywarren commented 11 years ago

that's fine, it's just one extra line to do that. If the syntax looks OK to you, i can implement it in the next couple days. Haven't had a moment to start coding today yet though :-(

On Tue, Apr 16, 2013 at 3:05 PM, Liz Barry notifications@github.com wrote:

i am hoping for a way for pages to load with the "Read More" links collapsed. The pages should not load with everything unfurled.

On Tue, Apr 16, 2013 at 1:00 AM, Jeffrey Warren notifications@github.comwrote:

Oh, i was just suggesting a syntax, it doesn't actually work, indeed. I'd write some javascript to make it "go". Would a syntax like that work?

On Mon, Apr 15, 2013 at 3:41 PM, Liz Barry notifications@github.com wrote:

hmmm, i could not get that to work on the sandbox page, although there was another snippet there that did work to collapse text. I think this piece will only work if it is used once on a page.

there can only be one of these toggles on a page

Hello World!

the page needs to actually load with most text in the collapsed state, and be ready for someone to click when they want to "Read more"

On Mon, Apr 15, 2013 at 10:20 AM, Jeffrey Warren notifications@github.comwrote:

this could involve some kind of serious HTML on the part of the author... but i guess it's worth it. What about something like:

Toggle

How about this?

Would that sort of syntax work? Would you want them always to be buttons or to have some icon indicating that they toggle an area?

On Mon, Apr 15, 2013 at 10:08 AM, Liz Barry < notifications@github.com>wrote:

needed to manage the large amounts of text on pages linked from http://publiclaboratory.org/wiki/new-comer-landing-page

— Reply to this email directly or view it on GitHub< https://github.com/jywarren/plots2/issues/99> .

— Reply to this email directly or view it on GitHub< https://github.com/jywarren/plots2/issues/99#issuecomment-16387517> .

@lizbarry http://twitter.com/lizbarry

— Reply to this email directly or view it on GitHub< https://github.com/jywarren/plots2/issues/99#issuecomment-16406874> .

— Reply to this email directly or view it on GitHub< https://github.com/jywarren/plots2/issues/99#issuecomment-16426723> .

@lizbarry http://twitter.com/lizbarry

Reply to this email directly or view it on GitHubhttps://github.com/jywarren/plots2/issues/99#issuecomment-16465114 .

jywarren commented 11 years ago

All this seems to have been rolled in nicely to the new(er) front page at http://publiclab.org/home