如何实现在网页上加载小图片或者其它什么的?_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 09:47:27
Original
1298 people have browsed it

解决方案

其实,我求的是一个解决方案。
我们要做的是在一个页面上实现根据后台发来的坐标在页面上显示轨迹,显示用户位置的功能。
上面的功能我用javascript已经可以实现,当然,只是象征性的实现,不可能做的像百度地图那样,我们只是预研。
现在我的问题是这样的,我可以通过用js画矩形(其实是一个单元格)+ajax实现点随用户坐标移动。但现在我的需求是,能不能让这个点醒目一点,比如用一个什么小人代表位置。用js肯定不能画小人,是在网页上加载图片么?有什么办法可以解决?

回复讨论(解决方案)

现在100分都没人了。。。。。

可以吧,比如这个单元格看做一个div,在div上加载图片好办。

为什么没有人!!!是我问错地方了么?

div分层可以实现

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!