几天前看着群里有人问新年有人接单吗?我看着没人回就自己去问问,一问发现是,很简单的一个功能实现,价格她说50(哇哦)!果断答应了。

就是一个简单的这样一个页面而且布局他们老师弄好了,只要写js就ok了
具体功能1,实现导航栏鼠标放上面时候会展开2,上面蓝条要移动到对应标签上面3,下面轮播图要自动切换,鼠标放上去时候会暂停。
就是这三个功能
实现过程很简单,遍历所以导航元素设置相应的事件,鼠标停留和离开
object.onmouseenter=function(){myScript};//鼠标放上面会触发
object.onmouseleave=function(){myScript};//鼠标离开触法
每次都触发对应函数不久可以了吗!至于蓝条的移动我没想到咋搞,就用了htlm的过度标签直接
object.style.transition = "0.5s";
那么该第三个功能了-轮播图
那肯定要要每n秒触发一次函数吧!那么首先想到的就是
a = setInterval(function(){ alert("Hello"); }, 3000);//每3000毫秒触发一次
不要在意我的命名,a是干啥?肯定有用啊,鼠标放上去还要停止上面的那个呢,这个时候a就出现了
clearInterval(a);//这样就停止了
简单的就这么多了,小白大佬勿喷啊!源码就不放出来了,一是我代码贼丑贼复杂,二是别人毕竟花钱让我搞得,共享出来貌似不太好QAQ
文章有(13)条网友点评
I am a student of BAK College. The recent paper competition gave me a lot of headaches, and I checked a lot of information. Finally, after reading your article, it suddenly dawned on me that I can still have such an idea. grateful. But I still have some questions, hope you can help me.
It’s a great sports betting game. I likе playing it jսst
to һave fun and pass tһe timе. All the mechanics are ratһer ցood and i һave no iissues ԝith thіѕ game.
I fell in loove ᴡith the game. I coᥙld play thе free version forr
hours
Fantastic beat ! I would like to apprentice even as you amend your website,
how could i subscribe for a weblog web site? The account aided
me a applicable deal. I had been tiny bit familiar of
this your broadcast provided brilliant clear concept
Do you mind if I quote a couple of your articles as long as I provide credit and sources back to
your website? My blog site is in the exact same niche as
yours and my visitors would really benefit from
some of the information you provide here. Please let
me know if this ok with you. Thanks a lot!
@ CBD oil robot?
Nice post. I learn something totally new and challenging on blogs I
stumbleupon on a daily basis. It's always interesting to read articles from other writers and practice a little something from their websites.
@ CBD oil for sale robot?
e
:exclaim:
@ 咸鱼
我也要接单 dalao带带我
@ Liues 还没给钱QAQ