Home > Web Front-end > JS Tutorial > body text

js implementation of select jump menu new window effect code sharing (super simple)_javascript skills

WBOY
Release: 2016-05-16 15:43:42
Original
1272 people have browsed it

This is a js-based code to implement the new window effect of the select jump menu, share it with everyone to learn


Operation rendering: -----------------------------View the effect---------------- -------

Tips: If the browser does not work properly, you can try switching the browsing mode.
The js code shared with everyone to implement the new window effect of the select jump menu is as follows

<select onchange="window.open(this.options[this.selectedIndex].value)" name="select">
<option value="http://www.jb51.net/jiaoben/" selected="selected">脚本下载</option>
<option value="http://www.jb51.net/list/index_1.htm">网络编程</option>
<option value="http://www.jb51.net/books/">电子书籍</option>
</select>
Copy after login

The above is the js code to implement the select jump menu new window effect shared with you. I hope you like it.

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template