PDA

View Full Version : AnyLink JS Drop Down - link not working on iDevices (iPhone/iPad)



neoboy14
10-11-2011, 09:49 PM
1) Script Title: AnyLink JS Drop Down Menu v2.3

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm

3) Describe problem: On iDevices (iPad, iPod), the link inside the anchor is not working.

The example link on the page, "Default Example", when viewed with Safari on iPhone or iPad, the link is disabled.

ddadmin
10-12-2011, 07:59 AM
The anchor link itself is intentionally disabled in mobile devices such as iPad, specifically, the click action on the link. Instead this action is used to display the drop down menu, as in touch based devices, the "mouseover" event is not supported, and hence the only way to show a drop down menu is to attach it to the click event instead. In other words, this isn't a bug, but a workaround for displaying drop down menus in those devices.

neoboy14
10-12-2011, 02:32 PM
Thanks for the help, it makes perfect sense.