Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 10th, 2025, 3:07 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Close browser object
PostPosted: January 3rd, 2007, 5:51 pm 
Offline

Joined: March 4th, 2005, 8:44 pm
Posts: 34
Hi all,

Is there an action to close or stop a web browser object. I know it is possible to hide it but that leaves it running, just hidden from view.

I wanted to add some video to a website I've created using Opus Creator but it just made the download time unacceptable. The alternative was to upload the video clip to Youtube and use the web browser object to view it.
This solves the download time issue but presents a different problem (don't you hate it when it does that :? ) Although I set the browser object properties to "initally hidden" the browser still runs the video clip, you just can see it. I'd like the user to be able open and close the browser window by clicking on the on screen navigation buttons. I tried using the disable / enable actions but this does not seem to have any effect.

I know I could create a new chapter with the browser object in it, to pop up on top of the existing page, but I wanted to avoid this if I can as I'm trying to keep the publication size as small as possible.

I'm using creator so I can't use any scripting because it's not supported.

To see the problem go to http://www.mtpage.co.uk/presentation/Mo ... single.htm

I'd also be interested in any feedback on the site or the download times.

Cheers Telb


Top
 Profile  
 
 Post subject:
PostPosted: January 3rd, 2007, 6:30 pm 
Offline

Joined: November 3rd, 2004, 2:11 pm
Posts: 323
You could try this:

Create an HTML page and save it using the following code:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
</head>
<body onload="self.close()">
</body>
</html>


Have a button somewhere in your Opus pub that navigates the browser object to CLOSER.HTM or whatever name you want to name the HTML file you created above. The user will then see a message box asking if they want to close the window. Now when I try this on my machien it works but it's a little buggy, so try it and see if it works for you.

My next piece of advice is probably something you don't want to hear, but couldn't you just do all of this in HTML? I know the answer, and it's yes, but I'm just asking you if you know enough HTML to do this yourself or if not, that's why you're using Opus. On the surface, it doesn't seem like it would be a difficult thing to do coding-wise in HTML.

The only other thing is to do as you did not want and create the HTML broswer in another chapter and have it open/close when called.

_________________
Opus Pro XE 9.1 Win7 64-bit Core i3 8MB RAM


Top
 Profile Visit website  
 
 Post subject:
PostPosted: January 3rd, 2007, 8:02 pm 
Offline

Joined: March 4th, 2005, 8:44 pm
Posts: 34
Hi bwpatric,

Thanks for comming to my aid once again, I'll give your suggestion a try.
I have absoultly no HTML coding skill whatsoever which is why I'm such a big fan of Opus, it allows me to do thing that I simple wouldn't be able to do otherwise.

Out of interest are thing such as transparancy and flare possible with HTML.

Cheers
Telb


Top
 Profile  
 
 Post subject:
PostPosted: January 3rd, 2007, 9:26 pm 
Offline

Joined: November 3rd, 2004, 2:11 pm
Posts: 323
Transparency can be achieved with images using either transparent .GIFs or .PNGs with transparency.

If you want to have scrollable text over an image that can be done as well with transparency using either Cascading Stylesheets or via transparent IFRAMEs.

Flares can be done with CSS or if you want to stay Internet Explorer-centric, with a filter. Or you could always get a tool such as Swishmax and make them and export as Flash and use SWFs to do your "cool" things.

The benefit of the HTML is that it wouldn't require a plug-in and would be cross-browser compatible if you created it right. There are some decent HTML editors out there that are WYSIWYG that might be easier to use. Some are even free.

I have great feelings for the Opus family, but webwise, I'd go with native (HTML) or Flash. But that's just my opinion, and because I already know HTML. :lol:

But, I did teach myself so it can't be all that hard :wink:

_________________
Opus Pro XE 9.1 Win7 64-bit Core i3 8MB RAM


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 22 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