Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 12:14 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Adding Scrollbars in Android Device
PostPosted: August 14th, 2016, 1:26 pm 
Offline

Joined: July 18th, 2016, 1:59 pm
Posts: 17
Opus: New user
OS: Win 10
System: Lenovo T510, intel i7
Hello, does Adding Scrollbars is supporting on Android devices? hope somebody respond
Thanks...


For this message Lars Mars has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Adding Scrollbars in Android Device
PostPosted: September 2nd, 2016, 4:26 pm 
Offline

Joined: August 22nd, 2005, 11:56 am
Posts: 125
Location: The Netherlands
Opus: Pro 9.75 (Build 16749)
OS: Windows 10 Pro 64-bit
I use the following code in a HTML5 publication which works OK when I view it in a web browser on my PC, but when I view the same website on an Android device, the frame with the text is there, but it can't be scrolled any more :(

var myTextArea = document.createElement("pre");
myTextArea.textContent = "Some tekst...;
myTextPlaceHolder = document.getElementById("frmTextD");
myTextPlaceHolder.appendChild(myTextArea);
document.getElementById("frmTextD").style.overflow = "auto";


Jan

_________________
"World War II Allied Aircraft Crashes in the Netherlands & North Sea" (Made with Opus Pro 9.75), available via https://www.airwar4045.nl


For this message Jan has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Adding Scrollbars in Android Device
PostPosted: September 5th, 2016, 10:38 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
This method seems to work:

http://www.live.interaktiv.co.uk/?secti ... evine.info

</mack>

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Adding Scrollbars in Android Device
PostPosted: September 6th, 2016, 9:13 pm 
Offline

Joined: July 18th, 2016, 1:59 pm
Posts: 17
Opus: New user
OS: Win 10
System: Lenovo T510, intel i7
OK, thanks...should I insert the code from the .js file into my project? or how should I use it in my project..


For this message Lars Mars has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Adding Scrollbars in Android Device
PostPosted: September 8th, 2016, 12:20 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Apologies, it was meant as a technical response to Jan's specific technical question - it should not be in the Basic Section!

If you want to try it anyway, then you need to follow the same method as the example which is just two steps.

1. Create the 'textFrame' in Opus.
2. Link the touch.js file during publishing.

</mack>

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group