Add cookie logic to bandwidth chooser.

Task 101

You need to login to add comments.
No account yet? Signup is quick and easy.

  • imathis marked a task as done about 2 years ago.

    Me_small
  • imathis added a comment about 2 years ago

    I finished the javascript for the bandwidth chooser. It's pretty simple javascript, but you'll need to set a cookie based on what it's doing. I've already setup a section for you to do so. On line 330 you'll see this:

    if($(this).hasClass('high')){
    //set cookie for high quality
    }else{
    //set cookie for low quality
    }

    That's basically just checking which quality tab was clicked.

    The other thing is that you'll need to hide the appropriate div based on the cookie being read in. If you can stub out the cookie being red in, I'll wire up the hide/show logic if you like, or you can handle that stuff.

    Me_small
  • imathis created a task for Bcasci about 2 years ago.

    Me_small

Task is done

Assigned to:Bcasci

Category:In Progress


Tags: