Change src of iframe in web page widget (CP 8)

Hi there.
I would like to know how can I dynamically change the src attribute of <iframe> defined in Web Widget in CP 8.
I have tried  many things (for example getElementsById() command, written as an action of CP button) but it didn´t work.
I´ve heard about Web page Widget for CP 6, which enables dynamic changes of widget´s source through the CP variables.
Is there any solution of this problem for CP8 ?
Thank you for you answers.

Ok.
I have only one CP slide (I don´t want to use more slides for presentation),
which contains 30 images (overlayed),some buttons (for stepping and showing images - back and forth. For these actions I use the variable and javascript Script_Window)
and one Web Widget.
For every image I want to view corresponding PDF file (increment/decrement variable => wiev image and change "src" of iframe in Web Widget at the same time).
Switching images is no problem for me.
Unfortunaltely, I don´t know how can I change the "src" attribute directly from Captivate and I don´t have much time to finish the project.
I have tried to write external html file with its own javascript,variables and buttons and linked it to Web Widget.
This works correctly(I mean switching PDF files), BUT when I try to call Captivate functions from this external JS (for example cp.show(),etc.), it doesn ´t work.
Thank You for Your answers.

Similar Messages

  • Web page widget for captivate5.5

    Hi,
    I have installed the web page widget as per the instructions.  I can able to drag the widget to my captivate project stage and I can able to give all kinds of inputs to the widget.  But none of them is not working.
    Please suggest me the how to over come this problem.
    I have downloaded this from http://CaptivateDev.com/.
    Regards,
    Lokesh V

    Hi Lokesh,
    If you read this article http://captivatedev.com/2010/11/05/adobe-captivate-5-web-page-widget/ there is a entry which you need to change after you publish it to Flash. Open .htm file in Notepad and change this entry and then play it.
    NOTE:  The published .htm file needs to have one change where the wmode should be set to “opaque” or “transparent” instead of “window”.
    1
    so.addParam("wmode", "opaque"); 
    Hope this helps.
    Thanks
    Priyank

  • Captivate 7 Web Page Widget misaligned - Transform Property

    I just upgraded to Captivate 7 and am using a Widget to embed Web Page content for the first time.
    The project looks fine when I preview it, but when I publish it and post it to our LMS (SumTotal Maestro), the widget appears skewed in the resulting course window, like the whole widget just shifted 60 pixels to the left and 30 pixels down.
    I have tried using multiple web sites, so I don't think that is the problem.
    There is the Transform Property, which gets set automatically when you drag the widget around the interface screen. On a hunch I moved the widget's Transform Property 60 pixels right and 30 pixels up. That worked, in that the updated widget looks better in the final published project. But now it's skewed both in the workspace and when I preview it, not to mention getting it precisely where it needs to be is going to be a process of moving a couple of pixels, publishing and seeing how it looks, then repeating.
    Has anyone encountered this? Is there a setting I'm missing somewhere that messes up the Transform property?
    Thank you!

    Here is the reply (in bold) I got from Suresh Jayaraman from Adobe when I logged this as a bug.
    "The issue you are facing has nothing to do with SCORM setting. Probably you might have heard about Click Jacking , One of the ways web sites prevent themselves from this attack is by not displaying when loaded in a Frame or iFrame. They achieve this by setting the X-Frame options. They website you were trying to load in Web object was Adobe forums which has this protection and it is the case with some other websites like Google.com, facebook.com as well. As Web object interaction on run time loads the website in an iFrame such protected websites when loaded doesn’t show up."
    "I have attached a test file which would help you to determine whether the website you are loading is Click Jacking protected or not. Change the website address and launch the page from a web server and if it loads all is well, it would load in your Web Object interaction as well. Now enable reporting and try the same page from SCORM.com and It should display the page."
    The test file he is referring to is a html file. Since I cannot attach the file here, I am copy-pasting the source code:
    <html>
       <head>
         <title>Clickjack test page</title>
       </head>
       <body>
         <iframe src="http://www.google.com" width="500" height="500"></iframe>
       </body>
    </html>
    To test, first I changed the website address in the above code to that of Adobe forums. When I had inserted this site in my Web Object interaction, this site failed to show up (see my previous posts). When I launched this test file shared by Suresh from a webserver, the result was same... the site did not open.
    Next, I changed the website address to http://infosemantics.com.au. This site worked in Web Object Interaction and it worked here as well.
    I did not test it in SCORM Cloud as I was convinced by the reason Suresh provided. (I hope I am not wrong.)
    Sreekanth

  • Programmatically Change the styleClass of a Web page element

    Somehow this should be very simple. But being new to jsp, I am unfamiliar with how to do this. Lets say I have some element on a page that looks like this:
    <div id="testElement" class="class1">test text</div>
    I have class1 and class2 defined in my jsp page style section
    How do I reference the testElement item in order to change the styleClass.
    I tried using something like this:
    <%
    testElement.setStyleClass("testClass2");
    %>
    I realize I am missing something very basic here. Any help is much appreciated.

    You are mixing up java/jsp with javascript.
    These two things are not the same, even if they have similar names.
    Java/JSP runs on the server, and produces an HTML page.
    Javascript runs on the client (inside the browser) and handles button clicks/dynamic changing of the page.
    In this case you are wanting to use javascript.
    I think it would be something like
    <script>
    testElement.className = 'testClass2';
    </script>
    <style>
      .redText  {color: red;}
      .blueText {color: blue;}
    </style>
    <div id="testElement" class="redText">  This is an example</div>
    <button onclick="testElement.className='redText'">Red</button>
    <button onclick="testElement.className='blueText'">blue</button>

  • How can I change my settings to show web pages in English on Firefox do to I rescently move to Germany and everything opens in German and not English?

    I moved to Germany and now all my pages start in German instead of English, how can I fix this?
    == This happened ==
    Every time Firefox opened
    == I move to Germany

    Some sites automatically redirect you to a site in the local language.
    There is usually a link on such websites choose a language or go to an international version that allows to chose the language.
    If the Google (Firefox) or Yahoo home page is in the wrong language then see:
    Google: http://www.google.com/support/bin/answer.py?answer=873
    Yahoo: http://help.yahoo.com/l/us/yahoo/homepage/troubleshooting/troubleshoot-02.html

  • Making web page widget in tiger

    A friend of mine was wanting to make a widget that updated from a website. I think he saw the stuff in leaopard that will do that. Anyway I was wondering how one would do it in tiger. Would you have to know code? that kind of thing. Thanks.

    use this:
    http://www.apple.com/downloads/dashboard/status/dashclipping.html
    any URL including local files can be specified...
    very nice.
    Beavis2084

  • My desktop has changed it now has transparent web pages and dock

    how do I get my desktop back to normal. It has transparent icons and safari is black with transparent web sites

    You can't. Not much pointing having a passcode if you can override it.
    You will need to restore the device as new to remove the passcode.

  • Web page widget for captivate6

    Hi,
    Can you suggest the links for downloading the webpage widget for adobe captivate 6.
    Thanks,
    Lokesh V

    It is not upgraded yet to Captivate 6. Keep an eye on Jim's blog, he releases updated widgets regularly:
    http://captivatedev.com/
    Lilybiri

  • How to change font size on web page when have no icon in View tool to do so

    menu bar at top of screen does not have icon to change font size of a web page as described in your support information--you show it as between stop and reload in View icon and I do not have it at all in my toolbar.

    See this: <br />
    https://support.mozilla.com/en-US/kb/Page+Zoom

  • How to change the web page title of a web dynpro app?

    Hello,
    I would like to change the HTML page title of a web dynpro application without renaming the application component itself - but how?
    Thanks for your comments!

    Hi M Walter,
    Assuming you are using Web Dynpro Java, you can change the title of the Web Page for Web Dynpro App by adding the title to the main window of your app.
    Go to Windows and open the properties. There will be a field called 'title'. Give the title you want, save, build, DC->Build and deploy.
    The title you gave to this Window will be displayed as the title of your Web page.
    Regards,
    Ajay

  • Change link for a web-page in CRM 3.0

    Hello.
    I'm new to CRM and have a problem with a link in cic0.
    Before we had a link to linjegods.no, but now we have to change this link to another web-site called schenker.no.
    Where is it possible to do this change?
    This is an old crm (BBPCRM 3.0)
    Please can somebody help me?
    Points will be awarded.
    Best regards
    Harald Vedvik

    Hello Muralidhar and thanks for your answer.
    There is no error here.
    The problem is that the web page www.linjegods.no dont exist anymore.
    Therefore I have to change the link to another web page.
    But I dont know where to change this link.
    Best regards
    Harald Vedvik
    Edited by: Harald Vedvik on Jan 16, 2008 9:36 AM

  • Change background of web page composer

    Hi, someone knows how change the background of the web page composer?
    I have seen that the body have "class=prtlBody urFontBaseFam urScrl", but I do not know where is possible to change that style or to change that line.
    thanks.
    regards.

    Hi,
    WPC uses the theme from the portal and his own theme. The portal theme can be controlled by the online and offline theme editor. There you can also define the background color of the whole portal. The WPC themes can be found at:
    /etc/wpceditor/css/runtime
    -> content.css
    -> sdn_apps.css
    -> sdn_general.css
    These WPC themes can be edited using a CSS editor or any text editor and will only be used by WPC.
    The actual HTML tags (class, id, divs) used by WPC are defined in the page template. In a standard WPC page:
    <table class="wpc_1c_outertable">
        <COLGROUP>
            <COL class="wpc_1c_col1" />
        </COLGROUP>
         <tr class="wpc_1c_tr_o">
    If you would change the background of the WPC content, change / define a CSS for .wpc_1c_outertable
    Of course you can create your own pages and own divs that will be used by WPC.
    br,
    Tobias

  • IWeb Help! Changing web page name from Blank + activating Inspector?

    I am back once more as I am having difficulties. My first problem is that I am unable to change the name of a blank web page to anything else apart from 'Blank'. I have typed in a new name, it turns red, but as soon as I press enter it returns back to 'Blank'. I am having real difficulties here as I am presenting my site very soon at University. I have not had problems up to now. To repeat, I am unable to change the name of my web page that I recently opened to anything but 'Blank'... any suggestions?
    Secondly, to activate Inspector... one does what exactly? I have clicked on inspector but I cannot actually seem to activate it (in terms of been able to do anything once it has opened?) I know these are daft little problems but very annoying. I was looking for the web count in there but had no joy, I just want to be able to activate inspector... any suggestions?
    Thanks for your time here.

    jayjournal1 wrote:
    ...to activate Inspector... one does what exactly?
    Most of the Inspector's functions require an element (such as a text box or image) to have been first selected by clicking once upon it. With an element selected in iWeb's main window, the related controls in the Inspector will no longer be grayed out.
    Page names can be changed by clicking once on the name in the sidebar (on the left side of the iWeb window) and then in the Inspector, click on the Page tab (the second one). Type in your new page name and hit Return.

  • New Widget: Insert Web Page

    Here's a new free Captivate 5 widget to insert a web page into your presentations.  I will be submitting this for the Adobe Captivate Exchange.  In the meantime...
    http://jimleichliter.blogspot.com/2010/11/adobe-captivate-5-web-page-widget.html
    Enjoy,
    Jim Leichliter

    Hi Jim,
    I have tried downloading a couple of your widgets and have had a couple of issues. Sorry about contacting you this way but your new web site will not allow me to email you it gives me an error message. Hopefully you will see this one and fix the email problem if it is something your end and possibly answer my query.
    I have just tried the widget to put variables into a url - I am using Captivate 5 and it tells me that I have all the updates installed, I set up a variable called testurl and set it to www.ladbrokes.com then inserted the widget on slide 1, used it on slide 6 and told it to go to $$testurl$$
    I published the project as a flash player 10 version and export to html. I copied the htm, swf and js file onto our intranet server, I then opened it using the correct url and played it. I got an error message saying page cannot be found with the url of http://www.ladbrokes.home/bs2000help/CSKB/$$testurl$$
    So what am I doing wrong? Is there an extra setting I am missing?
    Thanks for your help
    Erika

  • Embed gallery to existing web page?

    I am creating a html gallery with lightroom 1.4.1, and succesfully uploaded the gallery to my webite with it's own page index.html
    But I would like to embed it in a existing web page.
    Is there a simpleway to do this.
    Thx
    Brad

    I embed the slideshow into another page by using an iframe.  Crude sample code follows where index.html would be the slideshow.
    <html>
    <head>
    <title>2009 Florida Vacation</title>
    </head>
    <body>
    <div align="center">
    <iframe frameborder="0" src="index.html">This web page uses floating frames and your web browser does not support them. Maybe you should consider updating your browser to a newer one.</iframe>
    <p><a href="../index.html">Home Page</a></p>
    </div>
    </body>
    </html>

Maybe you are looking for