equal
deleted
inserted
replaced
503 |
503 |
504 parent.removeChild(tmpgrp); |
504 parent.removeChild(tmpgrp); |
505 |
505 |
506 current_modal = undefined; |
506 current_modal = undefined; |
507 }; |
507 }; |
|
508 |
|
509 function widget_active_activable(eltsub) { |
|
510 if(eltsub.inactive_style === undefined) |
|
511 eltsub.inactive_style = eltsub.inactive.getAttribute("style"); |
|
512 eltsub.inactive.setAttribute("style", "display:none"); |
|
513 if(eltsub.active_style !== undefined) |
|
514 eltsub.active.setAttribute("style", eltsub.active_style); |
|
515 console.log("active", eltsub); |
|
516 }; |
|
517 function widget_inactive_activable(eltsub) { |
|
518 if(eltsub.active_style === undefined) |
|
519 eltsub.active_style = eltsub.active.getAttribute("style"); |
|
520 eltsub.active.setAttribute("style", "display:none"); |
|
521 if(eltsub.inactive_style !== undefined) |
|
522 eltsub.inactive.setAttribute("style", eltsub.inactive_style); |
|
523 console.log("inactive", eltsub); |
|
524 }; |