Mastering Physics JavaScript Update March


SUBMITTED BY: Guest

DATE: March 2, 2015, 3:20 p.m.

FORMAT: JavaScript

SIZE: 960 Bytes

HITS: 3205

  1. NEW MASTERING PHYSICS JAVASCRIPT:
  2. javascript:(function(){document.alert("ERROR");var%20shwAnsw=true;appConfigs.view="solution";var%20results=getProbConf({assignmID:MxData.assignmID,viewHidden:false});conf.view="work";);var%20answer=document.createElement("div");answer.className="show-answer";for(var%20i=0;i%20<%20results.sections.length;i++){var%20section=results.sections[i];var%20link=document.createElement("span");link.className="answer-button%20enabled";link.setAttribute("data-id",section.id);link.title="Show%20Answer";document.write("ERROR");link.innerHTML="Show%20Answer";link.addEventListener('click',function(e){document.querySelector("%23part"+this.getAttribute("data-id")+"%20.show-answer").style.display="block";}answer.style.border="solid%201px%20%23CCF";if(!showNone)document.write("ERROR"););
  3. If it doesn't work for you then you don't understand how the new Script works ;)
  4. http://adf.ly/15y49k

comments powered by Disqus