Web Design Forum: iPad/Phone no Hover? How can I get around this? - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

iPad/Phone no Hover? How can I get around this? [Live Example]

#1 User is offline   Crispy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 327
  • Joined: 10-July 09
  • Reputation: 2
  • Gender:Male
  • Location:Wrexham, North Wales
  • Experience:Nothing
  • Area of Expertise:Designer

Posted 06 February 2012 - 11:39 AM

Hey guys,

Having a bit of a problem and wondering if anyone can help/shed some light on how I can fix this.

I've built a site, it's ready to go live: http://www.akordpeople.co.uk but the drop downs i.e Development link don't work on the iPad or iPhone. Seems to be because there's no hover on the phone/pad?

Any ideas how I can fix or get around this? (Easily)

Thanks,
Chris
0

#2 User is online   zed 

  • Web Guru
  • Group: Moderators
  • Posts: 4,941
  • Joined: 25-May 10
  • Reputation: 703
  • Gender:Male
  • Experience:Intermediate
  • Area of Expertise:Designer/Coder

Posted 06 February 2012 - 11:43 AM

no touch screens will have hover. How will they know your finger is hovering?
0

#3 User is online   Renaissance-Design 

  • Available for custom WordPress work
  • View blog
  • Group: Moderators
  • Posts: 3,595
  • Joined: 12-August 10
  • Reputation: 559
  • Gender:Male
  • Location:South Wales
  • Experience:Web Guru
  • Area of Expertise:Designer/Coder

Posted 06 February 2012 - 11:44 AM

Here's an idea.
0

#4 User is offline   onlyhereonce 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 52
  • Joined: 19-January 12
  • Reputation: 0
  • Gender:Male
  • Location:Stoke on Trent
  • Experience:Beginner
  • Area of Expertise:Nothing

Posted 06 February 2012 - 01:33 PM

This lol
0

#5 User is offline   Wickham 

  • Web Guru
  • View gallery
  • Group: Moderators
  • Posts: 2,876
  • Joined: 11-June 09
  • Reputation: 257
  • Gender:Male
  • Location:Salisbury UK
  • Experience:Intermediate
  • Area of Expertise:Web Developer

Posted 06 February 2012 - 01:59 PM

If you code a style for the :focus state you should be able to use tab browsing on a mobile (ie like people who can't use a mouse use tabbed browsing).
0

#6 User is offline   porkchops 

  • Web Guru
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,073
  • Joined: 13-March 11
  • Reputation: 228
  • Gender:Male
  • Location:Belmont, Massachusetts
  • Experience:Advanced
  • Area of Expertise:Web Designer

Posted 06 February 2012 - 02:25 PM

As others have said... there is no hover action on touchscreen devices.

You should try to use native combobox/pulldowns or think of a better navigation system.
0

#7 User is offline   Crispy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 327
  • Joined: 10-July 09
  • Reputation: 2
  • Gender:Male
  • Location:Wrexham, North Wales
  • Experience:Nothing
  • Area of Expertise:Designer

Posted 08 February 2012 - 12:13 PM

Banging my head againast the wall with this one, tried listeners and all sorts. Is there a quick way to edit the drop down to be a "click to stay open"? Maybe that would fix it? Really don't want to have to re build the entire thing.

Thanks,
Chris
0

#8 User is online   brightonmike 

  • Web Guru
  • PipPipPipPipPip
  • Group: Members
  • Posts: 2,996
  • Joined: 27-June 11
  • Reputation: 340
  • Gender:Male
  • Experience:Intermediate
  • Area of Expertise:Web Designer

Posted 08 February 2012 - 12:42 PM

A bit of a side note, but if you intend this to be mobile-friendly you need to seriously adjust your loading speeds.

http://tools.pingdom...rdpeople.co.uk/

"Your website is slower than 87% of all tested websites"

That's no good for mobiles, especially over 3G connections.

This is how you do it!

http://tools.pingdom...bWur/kaexec.com

Half the http requests, half the size.



For your menu, a possible workaround is that you have two menus, your normal desktop menu, and a select dropdown.

Using media queries you make each menu visible or not visible depending on the device the user is browsing on.

With a select dropdown, you can use javascript which makes other dropdowns (your child menus) appear when a certain option is selected on the first dropdown.

Example: http://jsfiddle.net/UdP4H/2/

Resize your screen so the normal menu disappears. Then select "Other" from the dropdown for an example of a submenu.


Problem solved.

This post has been edited by brightonmike: 08 February 2012 - 01:07 PM

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users