search

Home  >  Q&A  >  body text

The details page template of the pbootcms program wants to achieve multi-section display. I can’t explain clearly. I took a screenshot of it.

The current details page page is as follows:

QQ图片20210511171631.png

I want to change it to a details page template like this:

QQ图片20210511171908.png

That is, wherever you move the mouse on the details page, the content of the modified section will be displayed.

Demo address: http://www.cssmoban.com/preview/index.html?url=http://demo.kangjingept.com:8020/cssthemes6/zly2021010120_17/index.html&id=17851&tid=20125072756579

I hope some teacher or master can help me, maybe just give me money

晓晓科技晓晓科技1324 days ago1494

reply all(1)I'll reply

  • 欧阳克

    欧阳克2021-05-12 13:52:20

    Mouse movement is a js effect. You can follow this template to write the effect. . Write the style first.

    The following is the mouse event, write the style, and write the event

    <script type="text/javascript" src="/jquery/jquery.js"></script> ;<script type="text/javascript">$(document).ready(function(){ $("p").mouseover(function(){ $("p").css("background-color ","yellow"); }); $("p").mouseout(function(){ $("p").css("background-color","#E9E9E4"); });});

    reply
    0
  • Cancelreply