| |

VerySource

 Forgot password?
 Register
Search
View: 724|Reply: 3

Interface always comes first

[Copy link]

3

Threads

12

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

Post time: 2020-3-1 19:00:01
| Show all posts |Read mode
Start date: <input type = "text" name = "start_rq" size = "10">
<img src = "img / calendar.gif" onclick = "Calendar.display ('start_rq')">
------------------
Click on the image (calendar.gif), execute js, a small interface for selecting the date will pop up, but there is a drop-down box blocking half of the date interface. The interface is always on the front and will not be blocked? Thank you very much!
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 Japan

Post time: 2020-5-16 09:30:01
| Show all posts
Set z-index to a large value, such as 999

If it is <select>, <input> these elements are blocked, it is a bit troublesome to solve.
Reply

Use magic Report

3

Threads

12

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

 Author| Post time: 2020-5-17 11:00:01
| Show all posts
Where is z-index set? Is that so?
<img src = "img / calendar.gif" onclick = "Calendar.display ('start_rq')" z-index = "999">
Reply

Use magic Report

3

Threads

12

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

 Author| Post time: 2020-5-17 21:15:01
| Show all posts
Set to:
<img src = "img / calendar.gif" onclick = "Calendar.display ('start_rq')" z-index = "999">
Or not.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list