简体   繁体   中英

Javascript mouse out issue

Hi i dont know so much of javascript and currently trying to debug. http://llondon.online-folio.com/index.php on slider area on mouse over the slider stops rotating, but when i mouse out that area it still remains idle and doesnt start rotation again. this is the plugin for slider: http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm

this is the code stoping the rotation on mouse over:

this.tabs[i].onmouseover = function() {
    tabinstance.expandtab(this)
    tabinstance.cancelautorun() //stop auto cycling of tabs (if running)
    return false
}

to start the rotation there is a function

.autorun()

so can some one write me some lines of code so on mouse out this starts rotating again.

Why don't you write a mouse out event for this?
eg
this.tabs[i].onmouseout = function() {
tabinstance.autorun(); //restart auto cycling of tabs
return false
}

请尝试使用Jquerytools http://jquerytools.org/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM