User Tag List

Results 1 to 4 of 4

Thread: Javascript and window open

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleUniversal Windows Platform Export Module
    Fusion 2.5 (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Oct 2009
    Posts
    247
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Javascript and window open

    Hello,

    I would like to know how to use the javascript window.open method with the html5 object.

    Thank you

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleUniversal Windows Platform Export Module
    Fusion 2.5 (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Oct 2009
    Posts
    247
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Clickteam can you answer this question.

    Thank you

  3. #3
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,081
    Mentioned
    122 Post(s)
    Tagged
    2 Thread(s)
    Is your question about "how to call a javascript function with the HTML5 object"?

    For example, add this function to your HTML file:

    Code:
    <script>
    function TestCallFunction(url) {
    	window.open(url);
    }
    </script>
    and then in Fusion, add a HTML5 object and the following actions:

    Code:
    * User clicks with left button
    	 HTML5 : Reset Parameters
    	 HTML5 : Add String Parameter "http://www.clickteam.com"
    	 HTML5 : Call Function "TestCallFunction"
    There are other examples in this forum.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleUniversal Windows Platform Export Module
    Fusion 2.5 (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Oct 2009
    Posts
    247
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    merci beaucoup pour l'aide

Similar Threads

  1. How can I open a browser window like this?....
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 16th August 2011, 05:40 PM
  2. open url in current window?
    By brett in forum SWF/Flash Export Module Version 2.0
    Replies: 8
    Last Post: 10th August 2011, 07:12 AM
  3. Open Url in a new window
    By videogiochi in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 21st March 2011, 04:08 PM
  4. Open new window/Backpack/Inventory
    By Jeffrey in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 13th March 2008, 12:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •