Digital Workshop

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

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Action to launch website using scripting
PostPosted: November 13th, 2004, 8:52 am 
Offline

Joined: November 3rd, 2004, 12:58 pm
Posts: 230
Location: Australia
Hello
I am working on a pub using the flash component. One of my buttons need to launch a webpage, which is cool. My problem is that I want to tell the button that launch that particular webpage as a popup window, using certain dimensions as a small window but I do not know how to produce that action.

My guess is that I have to use scripting but I do not know how to go about this. Could you please somebody help me with this. It is very important since the client want this to be done like that. (the customer is always right?)

Thanks
German

_________________
German Silva
Senior Web & Multimedia Developer
E-solutions Inc
Pro version 8.10 user


For this message Koala has been thanked by : mackavi


Top
 Profile  
 
 Post subject: No answer yet!
PostPosted: November 15th, 2004, 9:10 pm 
Offline

Joined: November 3rd, 2004, 12:58 pm
Posts: 230
Location: Australia
Hello, friends from DW
Anybody home?

I still haven't received any answer for my question and I really need to know if this is possible since the client insist on this to be done.

Thank you for your reply

German

_________________
German Silva
Senior Web & Multimedia Developer
E-solutions Inc
Pro version 8.10 user


For this message Koala has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Please! Answer is required
PostPosted: November 16th, 2004, 2:31 pm 
Offline

Joined: November 3rd, 2004, 12:58 pm
Posts: 230
Location: Australia
Please tell me if this can be done!

German

_________________
German Silva
Senior Web & Multimedia Developer
E-solutions Inc
Pro version 8.10 user


For this message Koala has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: November 16th, 2004, 2:59 pm 
Offline

Joined: October 25th, 2004, 12:27 pm
Posts: 526
Location: Digital Workshop
Hi German,

Please accept my apologies for the delay in getting back to you. I have been trying various methods, but have not yet found a satisfactory solution.

One method is to issue use the normal Launch Web Page and use the following address:

Code:
javascript:window.open('http://www.google.com','Google','width=400,height=400')


Now ensure that the Destination Frame is set to '_top', apply the changes and test.

You will see that this launches a new 400 x 400 pixel browser window named Google, displaying the Google home page.

However, this method also causes the original browser window (displaying the publication) to navigate to a blank white page containing the word [object] and the user would need to click the Back button to return to the publication. I have not yet found a solution to this problem, but will investigate further.

Another possibility (which I have yet to test) would be to add these Javascript commands to a second .htm file on the web server. The Launch Web Page action could then launch this second file, which in turn will create the new browser window to the required dimensions.

I hope this helps. Please do not hesitate to contact me if you have any further queries.

Kind regards,

_________________
Robin Garrett
Digital Workshop Technical Support


For this message Robin Garrett has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Am I missing something here?
PostPosted: November 17th, 2004, 12:39 am 
Offline

Joined: November 3rd, 2004, 12:58 pm
Posts: 230
Location: Australia
Hi Robin
Thank you for your reply...
Perhaps I did not explain properly but I am not using a browser field inside a publication but a button to lauch a browser to display a webpage on the net.
Therefore, any scripting must be placed in the button so when user click the page is launched as per the size setup on the scripting.
I do not know if I am making any sense...I am tired..working to hard to finish a project..
German

_________________
German Silva
Senior Web & Multimedia Developer
E-solutions Inc
Pro version 8.10 user


For this message Koala has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: November 17th, 2004, 11:21 am 
Offline

Joined: October 25th, 2004, 12:27 pm
Posts: 526
Location: Digital Workshop
Hi,

Thank you for your reply.

As stated in my previous post, this address is typed into a 'Launch Web Page' action (which can be applied to a button) and will therefore launch a browser window with the required dimensions and display the specified web page. This should therefore meet your requirements.

Kind regards,

_________________
Robin Garrett
Digital Workshop Technical Support


For this message Robin Garrett has been thanked by : mackavi


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

All times are UTC [ DST ]


Who is online

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