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

Specific code for stretching and dragging iframe using js_javascript skills

WBOY
Release: 2016-05-16 17:27:06
Original
917 people have browsed it

The iframe on the left holds the tree directory, and the iframe on the right holds the index page. Drag the mouse to control the width and height of two iframes at the same time.
Hope someone can improve it.
How to operate: Point the mouse between two iframes and drag horizontally or vertically (control the height)
Disadvantages: The size of the CSDN page is changed after releasing the mouse, which does not occupy CPU resources. This changes the size in real time, so the speed is too slow. I hope someone can change it. I don't want to do it anymore, since it doesn't use any special technology.
Tip: The secret of dragging lies in the sentence filter:alpha(opacity=0)

Copy the code The code is as follows:


Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!