Buttons dynamically related to the same web purpose all displaying different PDF

I use a web object to display a PDF file. This seems to be the best way to actually display a PDF file inside a captivate training module 9 (I could be wrong).

The ultimate goal is to have the buttons make a URL of a document in a database and display PDF said PDF on a web object. I can't encode a PDF URL in a web object quite easily, but I can't understand to show a specific PDF once a button has been clicked.

Any advice?

I was able to find a solution to the problem.

I've updated all the documents in a database and I've been able to show these documents in my captivate module. This was done by providing the web object with a relative to the document path. The following script was attached to the buttons.

try {}

window.iFrameReference;

Window.frm;

/ * Detect output SWF or HTML5 * /.

If (typeof window.cp = 'undefined') {}

/ * We output SWF * /.

window.iFrameReference = $("iframe[id^='helloiframe']") [0];

} else {}

/ * We have out of HTML5.  Change the name of the element below * /.

Window.frm = $("#WebObject iframe") [0];

/ * Output HTML5 has IFRAME nested up to get a reference to the inner iframe * /.

* Window.iFrameReference = frm.contentWindow.$('#helloiframe') [0] ;*/

}

/ * Get the web address of Captivate * /.

Adresse_web var = window.cpAPIInterface.getVariableValue ('File1');

/ * Change the source of the iframe to the variable cp * /.

Window.frm.SRC = Adresse_web;

} catch (err) {}

Window.Console.log (Err);

}

Where WebObject was the name of the web object that I placed in my module and a file1 is the local variable I created that stored the path relative to the document in the DB.

Tags: Adobe Captivate

Similar Questions

  • If I have two buttons on my menu that go to the same web page, should I have two copies of this web page?

    I am creating a menu bar that will pop up the menus. Some of the pop-up menus will point to the same web pages. I have to make copies of these web pages, or the url can only be repeated?

    Hi Robin,

    If you use the Menu Type of manual, you can repeat the URL. However, if you do not use the manual Menu, you need to make copies of the page because then you cannot assign the URL manually.

    Kind regards

    Aish

  • When I click the icon to open a new tab, how can I be the same web page as the current one I'm clicking a +?

    For example, if I'm on a web page of recipe and I click on the + icon to open a new tab, so I can look at the comments to this recipe while keeping the web page of recipe, open the new tab appears as a blank page research right now. I wish the new coming tab like the page of a recipe where I was when I clicked on the + to a new tab. In this way, I don't have to go get the Web of recipe in the new tab page, and comments... I would already be on the same web page of recipe in the new tab and then simply click on reviews. I hope I have explained this clearly. Thank you!

    This thread has some solutions:

    https://support.Mozilla.org/en-us/questions/762043

    The simplest seems to be: hold CTRL and left click on the button reload. You can also click the reload (for example 'click' with the mouse wheel, if you have a mouse wheel.) The thread above has other options.

    Edit: you could also hold down the Ctrl key and drag a tab beside himself to clone, another suggestion of the thread above.

  • My iphone 6 does not light, I held the home button and power at the same time and no vibration or no sign of life, any suggestions as to what it could be would be appreciated

    Phone bought 3 days ago and I fight to turn it on, it's just a black screen, the phone records into iTunes but does not turn, I tried holding down the home button and power at the same time and still nothing, I presume that it's a battery problem as if it was the backlight then the phone vibrated when you press the power button help Please!

    Marley6921 wrote:

    Phone bought 3 days ago and I fight to turn it on, it's just a black screen, the phone records into iTunes but does not turn, I tried holding down the home button and power at the same time and still nothing, I presume that it's a battery problem as if it was the backlight then the phone vibrated when you press the power button help Please!

    Put it on wait ten minutes if the phone did not come one, then hold down the sleep/Home button until you see the apple logo and then release, make sure that the phone is still connected to the charger.

  • My ipod 5th generation is stuck by resetting the settings and I tried holding the power and the "home" button but has just the same. Also, I tried to sync it upward, so I tunes but it has not been recognized and I can't answer on my ipod. Help, please!

    My iPod 5th generation is stuck by resetting the settings and I tried holding the power and the "home" button but has just the same. Also, I tried to sync it upward, so I tunes but it has not been recognized and I can't answer on my iPod. Help, please!

    Try the remaining shares of:

    - iOS: do not respond or does not light

    -Also try DFU mode recovery mode post-test

    How to put iPod touch / iPhone in DFU "Karthik doodles."

    -If failed and that you cannot completely turn completely the iOS device, leave the battery to drain completely. After loading a hour repeat the foregoing.

    -Try a different cable

    -Try on another computer

    S ' there is still not successful that usually indicates a hardware problem and an appointment at an Apple store Genius Bar is in order.

    Shop Apple Store - Genius Bar

  • PHP & ASP on the same Web site?

    Think I asked this before some time ago.

    PHP and asp can be used on the same Web site?

    Currently the site that I'm reviewing to make some updates uses asp to take advantage of the content in the pages.

    I need to introduce another section of the Web site using php to query a database and return the results. Can I do this using php, even if asp is used in another part of the Web site? I don't want to mix and match the language php and asp on the same page, it should be good, Yes?

    If so presumably, I need to create an additional database using mysql instead of some asp uses. Is it okay to have 2 databases for a single site, all the conflicts? As is standard practice for the server to run asp and php together? I can not in the server at the moment to test whether php is running, but I guess that's the first port of call.

    While I'm here maybe a php person can help me with another php question?

    Below, I'm hidding one line of text if the "location" in the database field is empty. What is the code to hide the row if 2 or more specific database fields are empty?

    <? PHP if (! empty ($row_rsDetails ['location'])) {? >}

    < p > please click on the links for more details < /p >

    <? PHP}? >

    I tried several combinations but it always generates an error.

    Thank you

    Operating system

    Murray * CPA * has written:

    I realized while taking my bike lunch that I gave you the logic wrong here.

    <>

    $foo = empty ($row_rsDetails ['EventWebsite']) + empty($row_rsDetails['LocationWebsite']) + empty($row_rsDetails['Charity1Website']) + empty($row_rsDetails['Charity2Website']);

    If ($foo) {? >}

    Please click on the links for more details

    Even this does not always work. Even if ALL the fields in the database above can clear the line

    Please click on the links for more details

    always appears when details are called

    Never mind. I'm going for the night now. I'll revisit this at some point. Its now become more of a personal question to try to solve this problem.

  • OAM - map multiple URLS for the same web application

    Is OAM, posible to map multiple URLS to the same web application? When the user access to a different URL, it passes to the same application but set up with different strategy?

    In this case, this is the scenario that describes ROISSAC - as he says OAM cannot protect the same resource with two different strategies.

    Perhaps you could do this at the level of the network - if the two companies access the application through different proxy servers, you can use different identifiers to host for the two WebGates on proxy servers. This solution is easier to apply when there is a physical separation of users (for example, the internal/external users) rather than different users coming through the same path.

    Kind regards
    Colin

  • How to make a link to go to a certain point on the same Web page?

    Sorry guys but I am a Nube Dreamweaver...  Can someone please tell me how to link at the top of a page to a specific section within the same Web page?  For example, I want my FAQ listed at the top of the page, when the user clicks on the question, they responded that they click on the question and reject it far this question is answered on the same page.  I was looking through my behavior, and I see nothing of this coinsides with what I'm trying to do.

    Just a little help please for a stupid nube.

    Thank you

    FB

    Hello:

    Please visit the following links and it will clear you

    http://www.w3schools.com/HTML/html_links.asp

    Kind regards

    Vinay

  • I made my largest site and how can keep the same size for all other sites?

    I did the 2 larger site and how to keep the same size for all pages when I re - open the web browser?

    You can use an extension to set a page zoom and the size of the default font on the web pages.

  • How to extract the same song, several times using different bit rates or formats and store all the digital music files in WMP 12 default on the same HDD music library

    Using Windows Media Player 12 (w/under Windows 7), "can I ripping the same song, several times, using different bitrates & and/or formats and store all the digital music files in the music library by default WMP - 12, on the same hard drive?

    1.) #1 goal: tear up the same song repeatedly, w / "different rates" as a WMA file.

    2.) #2 goal: tear up the same song repeatedly, w / "different rates" as an mp3 file.

    3.) #3 objective: NOT to each subsequent copy (version) of the song, deleted & and/or replaced by the previous version of the song [even].

    4.) question Bottom Line Up Front--> is Windows Media Player 12 (included with the Windows 7 operating system) are able to achieve '#1 objectives; #2; & #3 above?

    5.) details/example: I want to tear the piece "Maria Maria by Carlos Santana" to my laptop as a Windows Media Audio [WMA] file.  In addition, I would like to rip the song 'Maria Maria' three several times with 3 different bitrates in format WMA; and, as an MP3 file.  Therefore, my final result wished (after the extraction process), will take place the four 4 audio files split up as follows: (a) 'Maria Maria by Carlos Santana'--> Format: file WMA; Ripped @128 Kbps bitrate.  (b) ' Maria Maria by Carlos Santana'--> Format: file WMA; Ripped to the "Variable bit rate; (c) ' Maria Maria by Carlos Santana'--> Format: file WMA; Ripped commissioning "Lossless." and (d). 'Maria Maria by Carlos Santana'--> Format: MP3 file. Ripped @256 Kbps bitrate.

    6.) my preference: I do NOT want to rename the file (s). {for example, 'Maria Maria by Carlos Santana' renamed/changed for--> "Maria_Maria_by_Carlos_Santana_128kbps.wma",...} 'Maria_Maria_by_Carlos_Santana_256kbps.mp3 '; etc.}.  In addition, I am not concerned about the additional disk space that will be consumed after multiple copies of the same song with different speeds of transmission and different formats.

    7.) my experience w / Windows Media Player 10 (w / the operating system of Windows XP): using WMP - 10, my goal (s) described above is not a problem at all.  Simply insert the CD purchased by Carlos Santana, containing the song "Maria Maria"... Select the desired Format (WMA; WMA VBR; WMA Lossless; or mp3)... Select the desired flow rate (WMA... 128/160/192kbps_mp3: 128/192/256/320 kbit / s; etc.) ; and click on the "RIP" button to start the copy process on the hard disk of of Carlos Santana's "Maria Maria".  This process (w / WMP-10) would result in having the same song, copied on the hard disk, with levels of quality different "audio" (via the different bit rate settings); regardless of the format (MP3/WMA) which was chosen.

    8.) my experience w / Windows Media Player 11 (w / the operating system of Windows XP): using WMP 11, to described above of my objective (s) could not be reached e-a-s-i-l-y.  The problem with WMP - 11 - in short - which was after the desired selection "Rip settings" tab 'Options' of WMP - 11 (i.e., Format & Bit Rate) and heart-wrenching piece wanted to {'Maria Maria by Carlos Santana'} a moment later/second, WMP11 remove / would crush the previous version of the song [even].  Therefore, the program would NOT allow the user to have multiple copies of the same song on the hard drive of the PC; which obviously restricts a user to have the freedom to choose what level of quality digital audio, they prefer to listen to.

    9.) the ability to have multiple copies [at my descretion] of the same song (on my hard drive) with different bitrates and formats in my music library, is important for me because it has a direct impact on "how I enjoy MY music ', and in what form (audio quality), I choose to listen to my music.  {For example, when I exercise and listening to my camera, digital audio player (Zune), a song ('Maria Maria by Carlos Santana'), will usually be torn off at a lower rate due to the unit of capacity reduction of storage - compared to the storage capacity of notebook PCs/desktop/external hard drives PC.}  However, when I listen to my music through my home cinema or entertainment system (which contains a hard disk dedicated with a large storage capacity), I prefer to load the entertainment system with digital music files that have been ripped to WMA... with the bit being rate-setting is for the: settings "WMA Variable Bit Rate" or "WMA Lossless.

    10.) there you have it.  This is my first post in this forum.  I hope that [detailed] explanations, will be sufficient to encourage these "with knowledge & the hands on experience" using Windows Media Player 12 (as well as with WMP-10/WMP-11 respectively), by providing a [step] "How-to"... "solution to my situation.  It would be highly appreciated.  I'm looking forward-'the solution' - and relevant suggestions & and/or community feedback regarding my request for assistance.

    * Thank 'All' (that would) in advance... For your time & Assistance *.

    Certainly, you can, but I would say that they be in different folders, for your convenience as well as Windows.  You can create one for each debit/format, then you will know who is who.

    In Windows Media Player, on the toolbar, select Tools, Options, Rip, and then select the flow you want first, rip music, then change the folder (higher on the same tab) and rip again... and so on and so forth.

    When you are at home on your home theater, you can use the 320 bitrate folder, when you transfer to the Zune, you can use one of the lower bitrate files (although I personally tear it up to 320 and let the Zune reduce as he wants, even with the iPhone via iTunes, hard drive space is not really a problem here) my server has several hard drives, and I can always add more if and when space is low!

  • Copy the selection to the same position in all frames roto

    I use AE CS5 in Production Premium. I also moca AE 3.1 which is perhaps a better way to try to isolate an object using planar tracking.  I need to replace an item that appears in the same position on all frames of a clip.  He is a previous problem I've covered long involving a spiders Web that has been set on a 8mm film door.  Thus, the web appears in the upper left corner of each image in the clip.  Perhaps a different approach will work.  It is complicated because the background of the element changes such as the limits of the selected item are dimmed.  I need to further isolate sections of the clip where there are similar background interference, for example a background of mostly from the dark trees in the left upper part may be passable.  There may be a way that I can gradually replace the web with the background that appears in the following images as the background moves using duplicate layers.

    How I can roto select this item in the first image and copy the limits of selection to all executives or is there a better way to do this?

    How I can roto select this item in the first image and copy the limits of selection to all executives or is there a better way to do this?

    You do not have. You think on bad terms here and work yourself to death if you follow this approach. Instead, export an image, isolate the model clean grey scale as an image in Photoshop. Then you can either use it as cache to perforate disturbances directly or by creating adequate transparency, possibly in a publication before using it as a pole of luma on a white solid, like an entry for one adjustment layer. Then, you can eitehr just fill in the blanks with a copy of your pictures that you have slightly shifted in position or in the second case, apply effects such as Minimax, dilated-eroded repetitive and varius scrambles to fill gaps. CC vector Gaussian with the transparency as input channel will do miracles "sew" these things together. Of course, you can also consider RevisionFX' RE: fill out as kind of a plugin tool in canned and pimp for these kinds of things...

    Mylenium

  • the same sms arrive at two different iphone5

    Why the same sms arrive at two different iphone5?

    SMS or iMessage?   If he were iMessage I guess you share your address Applid or email on 2 phones.  The sender uses one of these identities to send their message instead of your unique phone number.

  • How do you assign at the same speed for all the notes?

    Hi all!  Can any one help with how to assign the same speed to all the notes?  I know that press "Command + A" to select all, but stay to discover how to get more than one note to change both?  Thank you!

    in piano roll, select velocity tool, cmd to select all notes, hold SHIFT-Option and drag upwards or downwards.

  • Find the table if element have the same element in all indexes

    Hello

    I need to check if a table have the same element in all its indexes. (Example: an array of size 4, should have index 0... 3 1 and during the next iteration index whether no. 2 overall indexes...) How can I check if all indexes have same number)

    Attached to the VI I did.

    Anyone can offer better than this.

    get the first element, compare it with the hole dashboard, AND all items

  • using the same indicator of string in different stacked sequences

    Hi guys, I want to use the same string in different sequences stacked indicator. I tried to plug the output of each string constant through the sequence on my indicator chain outside the block in the sequence, but then I get an error "wire connected to a tunnel not channeled. What is the best way to use the same indicator for all sequences?

    Hi JoVMo,

    You can just use a local Variable of this indicator within the sequence...

    Kind regards

    Nitz...

    (Kudos are always welcome)

Maybe you are looking for