Closed Bug 865202 Opened 13 years ago Closed 13 years ago

We need collapsible sections JS for Optimizely test

Categories

(support.mozilla.org :: Knowledge Base Software, task, P1)

Tracking

(Not tracked)

RESOLVED FIXED
2013Q2

People

(Reporter: atopal, Assigned: rehandalal+mozilla)

Details

(Whiteboard: u=sumo-team c=wiki p=2 s=2013.9)

We want to test if collapsible sections give us better helpfulness ratings than the the really long articles that we have today. We'd like to use Optimizely to perform the test, and need to manipulate the page to look like this: http://people.mozilla.org/~mverdi/mockups/article-layout1/ Two things are changed here: 1. There is no TOC (a TOC makes no sense when the sections are collapsed) 2. The content between <H1>s is collapsed Please provide the JS for this so we can stick it into our Optimizely A/B test.
I talked with Rehan and this seems very doable. Making it 2pts in case it gets tricky.
Whiteboard: u=sumo-team c=wiki p= s=2013.9 → u=sumo-team c=wiki p=2 s=2013.9
Assignee: nobody → rdalal
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Rehan, can you explain what's happening in that commit? What I was talking to Ricky about was a piece of jquery that we could insert into the test on Optimalsort, It would add the necessary containers and handle the folding etc for our a/b test.
Flags: needinfo?(rdalal)
(In reply to Kadir Topal [:atopal] from comment #3) > Rehan, can you explain what's happening in that commit? What I was talking > to Ricky about was a piece of jquery that we could insert into the test on > Optimalsort, It would add the necessary containers and handle the folding > etc for our a/b test. Oh, sorry we didn't explain how to use it :) just call from js `k.makeWikiCollapsable();` For example: http://cl.ly/image/3s2k2i0l3K3K I assume that works?
Oh, great :) Thanks!
Killing the needinfo.
Flags: needinfo?(rdalal)
You need to log in before you can comment on or make changes to this bug.