Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 7:55 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: javascript library: flow text between text fields in HTML5
PostPosted: November 30th, 2020, 1:52 am 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Wondered if it is possible to write some JS or use an external JS library to flow text between text fields on separate pages?

The project contains a lot of written content, edited/updated regularly/frequently. So, if each time text is added or removed from these, if it doesn't reflow between them, it becomes difficult to fix these (much cutting, pasting, reformatting every time).

If I could edit/update one text file on the server holding all of this written content, then have the text pulled into the text boxes, re-flowing between them, this would be a big time saver.

But, I wonder if it can be done, especially in an HTML5 pub? Challenging!

Any thoughts, suggestions appreciated.

Kind Regards,

_________________
Stephen


Top
 Profile  
 
 Post subject: Re: javascript library: flow text between text fields in HTM
PostPosted: December 1st, 2020, 11:19 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
I don't see how JS could know where you wanted the formatting. At best, an automatic JS system would be based on character count but it would be a technical cut point rather than a semantic cut point.

If the purpose is to simply avoid re-editing an Opus project, then maybe setting the format on the server would work better. Paginate the text using different fields or a solid block demarcated where each field or block can be displayed on an 'Opus page'.

You then simply have two Opus pages (or use frames) and load the next segment (or previous one) of text accordingly.

</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: javascript library: flow text between text fields in HTM
PostPosted: December 4th, 2020, 5:52 pm 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Thank you, Mack.

I appreciate these suggestions, will see if I can make them work for this project.

Stay safe!

Best Wishes,

_________________
Stephen


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 17 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group