![]() ![]() I was going to use some javascript to get the height of the project-index div and vertically centre it on the page but a bit like the height/number of rows, I’m a bit worried about the amount of overwriting I’ll need to do when the viewport is less than 480px. Is it be possible to have the div draggable like when using a phone or tablet as default, so a drag movement on any element works and only a click on the anchors would go to a new page/act like a click. The drag works great on this example but as soon as I add other elements to the mark-up, anchors + text it’s difficult to drag the interface as you need to find a ‘gap’ to do so. There is a few issues and I was wondering if you think it’s worth persevering with the plug-in. Though when the viewport’s height is less than 600px (for example) this might be a problem when I just want to display 1 row? I’ve used a bit of javascript to calculate the width the containing div needs to be. You can tap your touchpad to click instead of using a button. Touchscreen gestures are covered separately. ![]() You can click, double-click, drag, and scroll using only your touchpad, without separate hardware buttons. I had a look/play around and I found another plug-in, the example below kinda works. Click, drag, or scroll with the touchpad. Unfortunately I couldn’t get the code working …my limited javascript skills rather than to code you provided! ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |