简体   繁体   English

放大元素,同时仍然能够浏览页面

[英]Zoom in on an element while still being able to navigate page

I'm trying to create the effect of zooming in on a webpage but focusing on one particular element and allowing navigating / scrolling to be present. 我正在尝试创建放大网页的效果,但重点放在一个特定元素上,并允许进行导航/滚动。

I found a few plugins online but none do what I'm really looking for and I've found nothing else. 我在网上找到了一些插件,但没有一个能真正满足我的需求,而我什么也没找到。 Fancybox, Zoomooz etc are great but I need to be able to scroll. Fancybox,Zoomooz等很棒,但我需要能够滚动。

The element in question is a PDF document. 有问题的元素是PDF文档。 I need the user to be able to zoom in and still navigate up/down the page. 我需要用户能够放大并仍然在页面上/下导航。

Possible? 可能?

Here is an example of what you could do... http://www.sitepoint.com/html5-javascript-mouse-wheel/ and http://blogs.sitepointstatic.com/examples/tech/mouse-wheel/index.html 这是您可以执行的操作的示例... http://www.sitepoint.com/html5-javascript-mouse-wheel/http://blogs.sitepointstatic.com/examples/tech/mouse-wheel/index .html

However I would consider the above as a secondary option. 但是,我认为以上是第二选择。 There are many other ways to present the presentation and embed it onto your page. 还有许多其他方式可以演示文稿并将其嵌入到页面中。 A slider is limited to "slide" only. 滑块仅限于“滑动”。 You can for example use a presentation software and embed it onto your page as a widget eg http://prezi.com/ as freeware. 例如,您可以使用演示软件并将其作为小部件(例如, http//prezi.com/)作为免费软件嵌入到您的页面中。

Hope that helps. 希望能有所帮助。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在仍然能够下载其内容的同时阻止元素跳转到新页面? - How to stop a element from jumping to new page while still being able to download its content? 如何在仍加载JavaScript的情况下继续使用页面(点击,任务等) - how to be able to keep using a page(clickin,tasks etc..) while a javascript is still being loaded 在事件函数中引用“ this”,同时仍然能够删除事件TypeScript - Referring to “this” in event function while still being able to remove the event TypeScript 使拖放的元素可拖放,同时仍可拖动 - Making dragged and dropped element droppable while still being draggable 有没有办法限制访问DRF接口,同时仍能访问api-endpoints? - Is there a way to restrict access to DRF interface while still being able to access api-endpoints? 如何使用 require 而不是 import,同时仍然能够访问变量的属性? - How do I use require instead of import, while still being able to access properties of the variable? 有没有一种方法可以禁用用户下拉菜单,同时仍然可以使用禁用的下拉菜单提交表单? - Is there a way to disable a dropdown to users while still being able to submit a form with the disabled dropdown? 如何在仍然能够编辑文本区域的同时动态更新它的值 - React - How can you update a textarea's value dynamically while still being able to edit it - React Javascript 自动滚动 div 内容,同时仍然可以手动滚动 - Javascript auto scroll div content while still being able to manually scroll 绝对定位在两个重叠的 html 图像上,同时仍然可以单击? - Absolute positioning on two overlapping html images while STILL being able to click?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM