dynamically open wf presentation with javascript [resolved]

Discuss general WireFusion questions, such as how to create and design presentations.

dynamically open wf presentation with javascript [resolved]

Postby nino4 » Tue Oct 19, 2010 10:01 am

Hi all,
I have a problem and hope to find someone who can help me.
I have an HTML page with some menus
By clicking on one of these menus, an ajax function update a DIV with images, text and any viewable informations.

I have 3 wf presentations and I want to lunch any of them in the DIV by clincking in the menu.

My problem comes from the page that is already loaded. I tried to modify launcher.js, the div by ajax, innerHTML and launch the script but it opens a blank page due to the document.write function in launcher.js

To resume, is there a way to dynamically lunch a wf presentation in an HTML page

tx for your responses
Last edited by nino4 on Wed Nov 03, 2010 5:19 pm, edited 1 time in total.
nino4
 
Posts: 19
Joined: Wed Mar 08, 2006 3:00 pm

Resolved

Postby nino4 » Wed Nov 03, 2010 5:19 pm

in fact it was very simple
create an html page in wich you put your work
in the main page, create a div with an id
insert your work like that:
document.getElementById("div_id").innerHTML = '<iframe src='+your_html_file+' width="451" height="435" align="center"></iframe>';

thats all folks :)
nino4
 
Posts: 19
Joined: Wed Mar 08, 2006 3:00 pm


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron