I want to use the marquee tag to set the font scrolling. The code is written as follows, but it has no effect and the font still does not scroll. How should I write it to achieve this effect? <html:select property=”w_project_cd[]” value=”<%=prj.toString()%>” onchange=”<%=js.toString()%>” style=”width:260px”> <logic:notEmpty name=”proj_list”> <marquee direction=”left” behavior=”scroll” scrollamount=”10″ scrolldelay=”200″> <html:options collection=”proj_list” property=”value” labelProperty=”label”/></marquee> </logic:notEmpty> </html:select> I found a similar example on the Internet, the detailed code is as follows: HTML code: Copy code The code is as follows:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>Untitled Document</title> <script type="text/javascript"> function init(){ var os = document.getElementsByTagName("option"); for(var i=0;i<os.length;i++){ var tx=os[i].innerHTML; var l=tx.length; var b=tx.substring(0,1); var e = tx.substring(1); os[i].innerHTML=e+b; } window.setTimeout(init,1000); } window.onload=init; </script> </head> <body> <select> <option>A usage</option> <option>Maybe that's just how life is</option> <option>Clouds in the sky, water in the bottle</option> </select> </body> </html> |
<<: Some key points of website visual design
>>: CSS Tutorial: CSS Attribute Media Type
background I originally wanted to download a 6.7 ...
Experimental environment: Physical machine Window...
Sometimes some docker containers exit after a per...
Detailed explanation of the usage of DECIMAL in M...
Table of contents 1. Transition from development ...
Preface This tutorial installs the latest version...
Table of contents Purpose Module Installation Bas...
Docker official documentation: https://docs.docke...
A Textbox with Dropdown allows users to select an...
Preface: The "Getting Started with MySQL&quo...
1. When ffmpeg pushes video files, the encoding f...
Previously, react.forwardRef could not be applied...
Some people say that IE9 is Microsoft's secon...
This article records the installation tutorial of...
Introduction Today I will share the use of the su...