Recommend js to classify products to search box friendly prompts (Human-Computer Interaction) page 1/3

Source: Internet
Author: User

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]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.