I see that there is a sftouchscreen option available for beta but it does not appear to be working and I was not able to find documentation. Is this currently available and working in the dev version? If not, is there a timeframe for this feature?

Please advise.

Thanks
Melissa

Comments

mehrpadin’s picture

Hey there,

It should work, which version are you using exactly? latest development release with the latest library (Feb 2013)?

oystercrackher’s picture

StatusFileSize
new64.51 KB

Hi-

I am using the latest dev version with the latest library. I also verified that the superfish configuration has the following library paths added:
sites/all/libraries/superfish/sftouchscreen.js
sites/all/libraries/superfish/sfsmallscreen.js

I am able to get smallscreen to run but not touchscreen.

For the superfish menu, I have the following configured for the block:
sf-touchscreen- enable jquery sf-touchscreen for this menu depending on the user's web browser window width
sf-smallscreen-disabled

Below is a screenshot of the output. Is this the expected result? I was expecting something similar to the menu for microsoft.com.

Please advise.

Thanks

mehrpadin’s picture

The one on Microsoft is an accordion, which is a good idea however, I guess I can add such a thing to the sfSmallscreen, will think about it! as for sfTouchscreen, it does not convert the menu to anything, it just makes it possible to open dropdowns with a click instead of "onhover" etc, good for tablets etc, for a mobile, I guess you should use the sfSmallscreen.

oystercrackher’s picture

Will do.

Thank you.

nodecode’s picture

@mehrpadin
If this issue is a feature request for adding an accordion-style menu to sfsmallscreen.js then I want say I think this is a fantastic idea. I just switched from using Nice Menus to Superfish due to the introduction of sfsmallscreen.js because I develop responsive/adaptive websites. Thank you for that.

I am sure you're aware of the following link, but I want to include it here for reference:
http://bradfrostweb.com/blog/web/responsive-nav-patterns/#toggle

tboornaz’s picture

I visited this post as I was also having problems getting the touchscreen option to work. I followed the instruction yet it still did not work. Under the admin/config/development/jquery_update I increased the version 1.7 and then the touchscreen option worked.

mehrpadin’s picture

Status: Active » Fixed

Hey everybody,

Apologies for missing this; long been added! anyone interested, try the development release (with the master branch of the Superfish library).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.