Digital Workshop

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

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: What is the alternative for DocView in Opus pro Html 5 publi
PostPosted: October 13th, 2015, 7:29 pm 
Offline

Joined: September 11th, 2006, 2:38 pm
Posts: 125
Hi mate
AS i mention in the title
What is the alternative for DocView in Opus pro Html 5 publication

when i choose opus pro publication it's work but for html 5 it's disabled ,
it's ok but how I display an html page from local directry ?

_________________
Win windows 7
Opus Pro 9.5


For this message opuslover has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: What is the alternative for DocView in Opus pro Html 5 p
PostPosted: October 13th, 2015, 10:03 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Either use the HTML5 object and manually code an iframe or object element. Or use this trick:

1. Add the browser object but leave the address blank - it should say 'none'

2. Create an onShow for your page (or other trigger)

3. Add a Browser > Navigate action

4. Enter the path of the file relative to the document

</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


For this message mackavi has been thanked by : opuslover


Top
 Profile Visit website  
 
 Post subject: Re: What is the alternative for DocView in Opus pro Html 5 p
PostPosted: October 13th, 2015, 11:46 pm 
Offline

Joined: September 11th, 2006, 2:38 pm
Posts: 125
Hi Mack
Nice to see you again
I didn't get into the forum for long time

please Mack

i have another problem with HTML 5 publication

i'm using some java for writing files like
var txtObj=OpenFile(SYSTEM_PUBLICATION_DIR+"myDoc\\try2.html",true)

Now I have a problem
when publish it to web this ine doesn't work

Do you have any solution?

_________________
Win windows 7
Opus Pro 9.5


For this message opuslover has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: What is the alternative for DocView in Opus pro Html 5 p
PostPosted: October 14th, 2015, 8:40 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
opuslover wrote:
i'm using some java for writing files like
var txtObj=OpenFile(SYSTEM_PUBLICATION_DIR+"myDoc\\try2.html",true)

That looks like OpusScript not Java?

You have to understand that Browsers are supposed to be windows to the world and for safety and security not expose the local file system to that world. This is a key security problem with plugins like Flash and Plexus which is why you need to think differently about how you store persistent data. The current specification has several methods for storing data offline, though not in the sense of (local) as in SYSTEM_PUBLICATION_DIR, and these are in various stages of inclusion.

A good article on the various forms is http://www.html5rocks.com/en/tutorials/offline/storage/

But you will also need to check http://caniuse.com/ for the different forms to see the current level of inclusion as well as reading the supporting notes to see the current development status of each form.

</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: What is the alternative for DocView in Opus pro Html 5 p
PostPosted: October 14th, 2015, 10:18 am 
Offline

Joined: September 11th, 2006, 2:38 pm
Posts: 125
Thanks Again Mack

Links provided were very helpful

My Regards

_________________
Win windows 7
Opus Pro 9.5


For this message opuslover has been thanked by : mackavi


Top
 Profile  
 
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: Google [Bot] and 10 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