Asking for expert guidance: Dreamweaver related issues! _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:10:04
Original
1464 people have browsed it

用dreamweaver写的代码,实现鼠标滑过显示图片,测试成功,可是复制到淘宝,滑过显示图片的效果就没有了,怎么回事了呢?哪位高手能指点一下啊


回复讨论(解决方案)

TB把你的JS代码给过滤了

把代码贴上来


  
    
  
  
    
    
    
  
  
    
  

  
    
  





问一下可以不用JS实现这类似的效果吗?

我把你代码复制过去了 没看到你说的效果。。。。 问一下可以不用JS实现这类似的效果吗?

打开DW,复制进去,可以看到的

我测试过的

如下复制过去就可以看到效果了





  
  
  
  
  
  
   
  

  
   
  


  
  
  


 




  var oimgs = document.getElementById("right").getElementsByTagName("IMG");
  for (var i = 0; i < oimgs.length; i ) {
  oimgs[i].onmouseover = function() {
  document.getElementById("imgad").src = this.adsrc;
  }
  }
 


source:php.cn
Previous article:Display problem of too long title_html/css_WEB-ITnose "> Next article:css if you select the first th_html/css_WEB-ITnose of the first row of
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template