NetTalk Central

Author Topic: Vertically Contract/Expand Row option does not work in Mobile Mode  (Read 4486 times)

Rob Kolanko

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Hi Bruce,
A NetWebBrowse field with the Vertically Contract/Expand Row option does not appear when the application is used in mobile mode. I have tried using jQuerymobile icons, but even these icons do not appear. Without the icon, the contract and expand row function does not work. I really need this feature for my mobile app. Compile the Web50 example in mobile only mode as an example of the problem.
My suggestion would be to use the jQuerymobile arrow-d to expand the row and arrow-u to contract the row.

Thanks,
Rob Kolanko
« Last Edit: July 31, 2012, 11:36:41 AM by Rob Kolanko »

Rob Kolanko

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: Vertically Contract/Expand Row option does not work in Mobile Mode
« Reply #1 on: August 06, 2012, 08:19:47 AM »
Hi Bruce,
Any thoughts?
Thanks
Rob Kolanko

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Vertically Contract/Expand Row option does not work in Mobile Mode
« Reply #2 on: August 06, 2012, 09:22:18 PM »
on my list Rob - high on the list - but I'm tied up in some template work right now, so I'm not able to check it out at the moment...

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Vertically Contract/Expand Row option does not work in Mobile Mode
« Reply #3 on: August 10, 2012, 05:52:44 AM »
just an update Rob - this won't make it into the 6.39 build, but I haven't forgotten about it.

Rob Kolanko

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: Vertically Contract/Expand Row option does not work in Mobile Mode
« Reply #4 on: August 14, 2012, 01:40:51 PM »
Hi Bruce,
Thank-you for the update. FYI, a nice enhancement to the Contract/Expand feature would be the ability to contract and expand more than one row on the browse. This can be achieved by changing the JavaScript function contractVertically in the jquery.nt-browse.js and jquery.mobile.nt-browse.js files.

To scroll more than one row, the following line in the function,
var l = this.options.rowsHigh-1;

would need to be changed to
var l = this.options.rowsHigh-X;

where X is JavaScript variable representing the number of rows to contract. It would be nice to set  this JavaScript variable from a value in the NetTalk templates. 

I only have one browse where I am using the Contract/Expand feature in my app, and I need to contract/expand three rows, thus I am modified the application’s copy of the script. And Yes, I have to reapply the modification on every NetTalk update.

Rob Kolanko

Rob Kolanko

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: Vertically Contract/Expand Row option does not work in Mobile Mode
« Reply #5 on: September 08, 2012, 11:35:46 AM »
Hi Bruce,
I just upgraded from 6.40 to 6.44. Unfortunately this fix has not made it to release yet.
Just thought I let you know that I am still interested.
Rob Kolanko