modelmarket.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //function hotelbtn1(){
  2. // var mess1=document.getElementById("mess1");
  3. // var yinxiang=document.getElementById("yinxiang");
  4. // var mess2=document.getElementById("mess2");
  5. // var fangxin=document.getElementById("fangxin");
  6. // yinxiang.onclick = function(){
  7. // yinxiang.style.borderBottom="2px solid #7FBA00";
  8. // fangxin.style.borderBottom="";
  9. //
  10. //
  11. //
  12. // if(mess1.style.display="none"){
  13. // mess1.style.display="block";
  14. // mess2.style.display="none";
  15. //
  16. // }
  17. // }
  18. // };hotelbtn1()
  19. //
  20. // function hotelbtn2(){
  21. // var mess1=document.getElementById("mess1");
  22. // var fangxin=document.getElementById("fangxin");
  23. // var mess2=document.getElementById("mess2");
  24. // fangxin.onclick = function(){
  25. // fangxin.style.borderBottom="2px solid #7FBA00";
  26. // yinxiang.style.borderBottom="";
  27. // if(mess2.style.display="none"){
  28. // mess2.style.display="block";
  29. // mess1.style.display="none";
  30. //
  31. // }
  32. // }
  33. //};hotelbtn2()
  34. $(".caseerweima").click(function(){
  35. $(this).parent().parent().parent().parent().children(".hoverbox2").show();
  36. })
  37. $(".closebox").click(function(){
  38. $(this).parent().hide();
  39. })