close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Thumbnails not "touchable" on iPad

Thread began 3/31/2014 4:03 pm by info72555 | Last modified 11/06/2015 12:32 pm by Ray Borduin | 924 views | 8 replies |

info72555

Thumbnails not "touchable" on iPad

I have been applying all fixes for PG 1.22 and it is working perfectly in all browsers (including Safari on the PC) and Android devices. On the iPad, the ribbon thumbnails are not responding to touch. The tooltips are displaying but pressing a thumbnail is not replacing the main image above.
Gallery being tested: http://halifaxcabinetry.com/new/gallery_TraditionalKitchens.php

I am asking another client with an iPad to test it but I expect the same results. I made edits to the CSS files but as far as I can tell they only affect the layout and colors so I assume this is not the reason. Are there additional files I need to update?

Thank you :-)

Sign in to reply to this post

MikeyT

On my iPad 4 an initial tap triggers the tooltip popover. A second tap seems to trigger the image swap. Desktop browsers won't produce any problems because your tooltips appear on hover. As you know, Its the click that then triggers the image swap. Since you can't hover on Apple touch devices that initial tap will trigger the tooltip first and require you to do a second tap to fire the image swap.

You can check out the following solutions for managing javascript via CSS media queries:
• MediaCheck
• jRespond
• Breakpoints.js

Its quite possible to hide the tooltip functionality on touch devices. From a usability standpoint this wouldn't be that bad since the image names appear below the large images anyway. Just a thought.

Sign in to reply to this post

info72555

How do disable the tooltip? As you can tell I am a definite non-programmer LOL

Thanks for the explanation and suggestion. Could you possibly help me get rid of the tooltip so that you only need to touch the thumbnail once to replace the main image in the PG? :-)

Update:

Since I do not own an iPad I just asked someone to test it. The double tap works BUT you have to do it sloooowly since a quick double tap triggers a different function built into the iPad screen. This is even more of a reason to disable the mouse-over tooltip.

Any assistance is much appreciated.

Sign in to reply to this post

MikeyT

Give this a try. In your gallery.js file you can comment out the tooltip code to hide the functionality. Just note that this will hide the tooltips on desktop browsers as well - this isn't a responsive solution so media queries won't come into play here. I don't believe your site is responsive anyway. If you're comfortable with this, replace lines 113 thru 127 with the following:

/* this.tips = new Tips(this.thumbs.images, {
className: 'pg-gf-tip',
offset: {'x': -100, 'y': -105},
showDelay: 1,
hideDelay: 1,
onShow: function(tip) {
this.options.offset.y = this.tip.getSize().y * -1 - 15;
this.tip.setStyle('top', (pgMousePosition.y + this.options.offset.y) + 'px');
this.tip.fade('show');
},
onHide: function(tip) {
this.tip.fade('hide');
this.tip.setStyle('top', '0px');
}
}); */

If you want to bring the tooltip functionality back, remove the /* */ at lines 113 and 127 that I added. Lastly, I'd suggest that you make a backup of the original gallery.js file before making any modifications to it. It can be a life line if something goes wrong and you need to go back to the original code. Hope this can help.

Sign in to reply to this post

info72555

Thank you Mikey!!!!! :-)

I am getting my client to test it.

Sign in to reply to this post

MikeyT

No worries - glad to help. I checked it out on my iPad and it seems to be functioning as expected.

Sign in to reply to this post

Jason ByrnesWebAssist

@MikeyT:

Thanks for helping out on this one, I don't have an iPad to test with

Sign in to reply to this post

MikeyT

No problem, Jason.

Sign in to reply to this post

Patrice

In case it helps someone else, it is the gallery.js in which ever style of gallery being used. So the line numbers are going to differ. Just look for the
//tooltips section and comment it out with /* .... */

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...