This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

GUI menus and touch devices

Post/Debate your Suggestions & Requests of XigmaNAS here. This ONLY pertains to XigmaNAS.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
dnar
Starter
Starter
Posts: 65
Joined: 27 Apr 2013 10:38
Location: Perth Australia
Status: Offline

GUI menus and touch devices

Post by dnar »

Ever since I started using a Samsung tablet running Android, the menus have been an issue for me. I note a bug has been raised for this issue as it affects iPad users also, in fact any touch interface.

The work around is to press and hold a top level menu until the browser asks if you want to open in a new tab or new window, then you touch anywere else on the screen to close the browser popup, leaving the NAS4Free drop down menu visible. Its clunky.

Personally I don't like the menus opening as the mouse (PC) moves over the menus, I would prefer to click to open them. This would also fix the issue on tablets.

I also dont like the current click handlers that open the main status page on all tabs.

Will this be adressed soon?
NAS 1: NAS4Free 9.3.0.2 x64 embedded, Intel Core 2 E8400, 8GB, 6 x WD Green 1TB in RAIDZ2, Highpoint 2720 SAS x 8 card 6Gbps
NAS 2: NAS4Free 10.2.0.2 x64 embedded, Intel Core i3-3220, 8GB, 7 x WD Green 750GB in RAIDZ1, onboard SATA 3Gbps

User avatar
kkd
Forum Moderator
Forum Moderator
Posts: 306
Joined: 08 May 2013 21:47
Location: Budapest, Hungary
Contact:
Status: Offline

Re: GUI menus and touch devices

Post by kkd »

hi,
onmouse and onclick now has two different functions, so If u want to change to onclick, you loose the existsng click function. But to do so change usr/local/www/fbegin.inc (line 198):

Code: Select all

/*	echo "	<a href=\"{$link}\" onmouseover=\"mopen('{$menuid}')\" onmouseout=\"mclosetime()\">".htmlspecialchars($menu[$menuid]['desc'])."</a>\n"; */
	echo "	<a href=\"javascript:mopen('{$menuid}');\" onmouseout=\"mclosetime()\">".htmlspecialchars($menu[$menuid]['desc'])."</a>\n";
XigmaNAS x64-embedded | INTEL Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz | 9216MiB RAM | X x YTB WD Red ZFS mirror compressed

User avatar
dnar
Starter
Starter
Posts: 65
Joined: 27 Apr 2013 10:38
Location: Perth Australia
Status: Offline

Re: GUI menus and touch devices

Post by dnar »

Thank you, works a treat.
NAS 1: NAS4Free 9.3.0.2 x64 embedded, Intel Core 2 E8400, 8GB, 6 x WD Green 1TB in RAIDZ2, Highpoint 2720 SAS x 8 card 6Gbps
NAS 2: NAS4Free 10.2.0.2 x64 embedded, Intel Core i3-3220, 8GB, 7 x WD Green 750GB in RAIDZ1, onboard SATA 3Gbps

Post Reply

Return to “Suggestions & Requests”