I am trying to make a user generated nav bar.

我正在尝试创建一个用户生成的导航栏。

This nav bar because it is dynamically created may have more tabs on it than the width of the nav bar.

此导航栏因为它是动态创建的,其上可能有比导航栏宽度更多的选项卡。

That being the case, I would like to make it so that the nav will scroll from left to right.

在这种情况下,我想这样做,导航将从左向右滚动。

Currently I use an image mapping technique where I plot coordinates on an image and move divs based on position which calculates speed and direction of movement.

目前我使用图像映射技术,我在图像上绘制坐标,并根据计算速度和运动方向的位置移动div。

The problem is background images may not have image maps applied to them. The general workaround is to create invisible divs on top that would represent my coordinates, but since my text would be there, and I don't want to mess with a z-index at all, that option is deprecated.

问题是背景图像可能没有应用图像映射。一般的解决方法是在顶部创建表示我的坐标的不可见div,但由于我的文本将存在,并且我根本不想弄乱z-index,因此不推荐使用该选项。

Any ideas how to do this any other way?

任何想法如何以任何其他方式做到这一点?

1 个解决方案

#1


Here it is.

这里是。

http://valums.com/scroll-menu-jquery/

更多相关文章

  1. 动画在画布中移动图像
  2. Nivoslider(在动态ajax内容中)不会在第一次加载时加载图像
  3. 即使通过一系列图像预先加载也表现不佳
  4. Cordova相机插件ios11无法从库中选取图像
  5. 缩放图像后的鼠标位置(比率/比率)
  6. 在透明背景PNG周围获得“方形”框阴影。如何在图像周围弯曲css阴
  7. 每次在HTML5中加载静态图像
  8. Javascript来自数据库的图像上的图像映射
  9. python 简单图像处理(2) 镜像

随机推荐

  1. Android 基本控件 View 类的常用xml 属性
  2. Android参考
  3. 【Android 清单文件下的 Activity各种配
  4. Android中的Shape使用总结
  5. android:layout_gravity和android:gravit
  6. android 模拟器 自定义分辨率 没有键盘
  7. Android(安卓)中的Service
  8. android adb 使用初阶
  9. 百度地图android客户端的AndroidMainfest
  10. android最佳实践(四)