A table in the middle represents a search form. A box points to the search bar after the product category to clearly tell the user where the product category has changed.
Reprinted please indicate the source of blueidea
<! Doctype html public "-// W3C // dtd html 4.0 Transitional // EN"> <HTML> <HEAD> <TITLE> move the box </TITLE> <style language = "javascript "> </style> </HEAD> <BODY> <TABLE style =" border: 1px solid #666666 "cellspacing = 1 bgcolor = # ff1111 cellpadding = 4 border = 0> <TR bgcolor = # ffffff> <TD onClick =" setSource (this); function () {MyMar = setInterval (move, speed)} "> notebook </TD> <TD onClick =" setSource (this); function () {MyMar = setInterval (move, speed )} "> small household electrical appliances </TD> <TD onClick =" setSource (this); function () {MyMar = setInterval (move, speed )} "> refrigerator </TD> <TD onClick =" setSource (this); function () {MyMar = setInterval (move, speed )} "> Bobbi doll </TD> <TD onClick =" setSource (this); function () {MyMar = setInterval (move, speed )} "> small household electrical appliances </TD> <TD onClick =" setSource (this); function () {MyMar = setInterval (move, speed )} "> small household electrical appliances </TD> </TR> </TABLE> <TABLE id =" aim "style =" border: 1px solid #666666; width: 227px; height: 300px; "> <TR> <TD> </TR> </TABLE> <TABLE style =" border: 1px solid #666666 "cellspacing = 1 bgcolor = # ff1111 cellpadding = 4 border = 0> <TR bgcolor = # ffffff> <TD onClick =" setSource (this); function () {MyMar = setInterval (move, speed)} "> notebook </TD> <TD onClick =" setSource (this); function () {MyMar = setInterval (move, speed )} "> small household electrical appliances </TD> <TD onClick =" setSource (this); function () {MyMar = setInterval (move, speed )} "> refrigerator </TD> <TD onClick =" setSource (this); function () {MyMar = setInterval (move, speed )} "> Bobbi doll </TD> <TD onClick =" setSource (this); function () {MyMar = setInterval (move, speed )} "> small household electrical appliances </TD> <TD onClick =" setSource (this); function () {MyMar = setInterval (move, speed )} "> small household electrical appliances </TD> </TR> </TABLE> </BODY> </HTML>
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]
Haha, the effect is great, but there are some minor issues in ff, which have been changed. Addition
<! Doctype html public "-// W3C // dtd html 4.0 Transitional // EN"> <HTML> <HEAD> <TITLE> move the box </TITLE> <meta http-equiv = "Content-Type" content = "text/html; charset = GBK "> <style language =" javascript "> </style> </HEAD> <BODY> <TABLE style =" border: 1px solid #666666 "cellspacing = 1 bgcolor = # ff1111 cellpadding = 4 border = 0> <TR bgcolor = # ffffff> <TD onClick =" setSource (this ); myMar = setInterval (move, speed) "> notebook </TD> <TD onClick =" setSource (this); {MyMar = setInterval (move, speed )} "> small household electrical appliances </TD> <TD onClick =" setSource (this); {MyMar = setInterval (move, speed )} "> refrigerator </TD> <TD onClick =" setSource (this); {MyMar = setInterval (move, speed )} "> Bobbi doll </TD> <TD onClick =" setSource (this); {MyMar = setInterval (move, speed )} "> small household electrical appliances </TD> <TD onClick =" setSource (this); {MyMar = setInterval (move, speed )} "> small household electrical appliances </TD> </TR> </TABLE> <TABLE id =" aim "style =" border: 1px solid #666666; width: 227px; height: 300px; "> <TR> <TD> </TR> </TABLE> <TABLE style =" border: 1px solid #666666 "cellspacing = 1 bgcolor = # ff1111 cellpadding = 4 border = 0> <TR bgcolor = # ffffff> <TD onClick =" setSource (this ); {MyMar = setInterval (move, speed)} "> notebook </TD> <TD onClick =" setSource (this); {MyMar = setInterval (move, speed )} "> small household electrical appliances </TD> <TD onClick =" setSource (this); {MyMar = setInterval (move, speed )} "> refrigerator </TD> <TD onClick =" setSource (this); {MyMar = setInterval (move, speed )} "> Bobbi doll </TD> <TD onClick =" setSource (this); {MyMar = setInterval (move, speed )} "> small household electrical appliances </TD> <TD onClick =" setSource (this); {MyMar = setInterval (move, speed )} "> small household electrical appliances </TD> </TR> </TABLE> </BODY> </HTML>
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]