Javascript in offline html

Hallo.
I have a simple question.
Is javascript in offline html supporteted in DSP?
I tried to place very very simple html with one row javascript into my article. Updating article to the server takes hours!!! .
DL from server to iPad is impossible

I have gotten it to work without a problem. I create an folder for the page and save the inDesign file within that folder, additionally I include a folder named "html" and within that folder I structure the files just like I would on a server, images, js and css folders all linked within the .html. I have used Javascript to embed web pages within the inDesign/DPS workflow that serve as multiple choice quizes, fill in the blank questions and displaying of Twitter feeds. You can even use javascript along with the localstorage function in HTML5 to store answers to questions so that when the iPad is turned off the user's answers are remembered. I have never had a problem uploading, downloading and testing in the content viewer. You may want to delete your pages, recreate and upload.

Similar Messages

  • Transfering offline HTML content to my ipad 3

    Hi.
    I have a folder  called docs that has a list of html content for reading some programming documents offline.
    i want to somehow transfer this folder into my ipad and browse/read throw these offline html files on the go on my ipad.
    Any suggestions on how to do the above and what App i need to read them?
    Thanks

    No, it does not connect to the Internet, so any external linked entities - images, style sheets, etc. - will not render. If your files are just self contained HTML, no problem. If not, which sounds like the case, you have pages designed principally for delivery on a web server platform (pretty much the case for most web pages) and may have difficulty doing what you are attempting on an IOS device.
    There are some apps that will capture and display a page as a webarchive. I've experimented with a combination of iCab Mobile (iPad), dropbox, ShareFile, IE8 (Windows PC), and Chrome (Windows PC) and can't quite get it to work.
    You might consider printing the files to PDF and then transfering over.. HTML isn't really engineered to do what  you need.

  • JavaScript support for HTML Output

    Is anyone aware of any document that explains what client side scripting functions are supported when rendering forms as HTML from FormServer?
    Regards
    Phil

    In the FormServer Documentation, there is a pdf (transformation_reference.pdf) which outlines the objects, properties and methods which you can use from either Server-side scripting or Javascript client in HTML with Form Server.
    You can also look it the xfasubset.js file which is included in every HTML page rendered by form server. This basically maps Browser properties to the XFA object model. You can get it by viewing the source of the HTML form, scroll to the bottom and grab the url for the SCRIPT tag and enter it into the browser. This will download the JS file. If you know javascripting and HTML it should not be much of a problem for anyone to understand what is available.

  • How do I centre javascript in a HTML page? Please help!

    Ok, I recently set up a website with advertising space. The space is split into banner engines of 10 banners each rotating every 7 seconds.
    I have fully tested the coding which I downloaded and it all seems to work as well as I need it to.
    The only problem that I have is that the javascript or at least the banner it produces are always firmly stuck to the left. They need to mbe in the centre to fit the rest of the page, but I can't seem to get them to centre.
    Here's how the page is set up and coded:
    in the page I have:<html>
    <head>
    <center>
    <p>Each test banner links back to this page. Your banner would link to whatever site/location you required.</p>
    <p>
    <script type=text/javascript src="http://www.UkVariety.co.uk/banner/div_construct2.js"></script>
    <script type=text/javascript>
    var _banners = new Array();
    function addBanner(_bannerHTML){
      _banners[_banners.length?_banners.length:0]=_bannerHTML;
    addBanner("<a href='http://www.ukvariety.co.uk/banners.html'><img border=0 alt='Advertiser 1' src='http://www.ukvariety.co.uk/Images/banners/Ad1.gif'></a>");
    addBanner("<a href='http://www.ukvariety.co.uk/banners.html'><img border=0 alt='Advertiser 2' src='http://www.ukvariety.co.uk/Images/banners/Ad2.gif'></a>");
    addBanner("<a href='http://www.ukvariety.co.uk/banners.html'><img border=0 alt='Advertiser 3' src='http://www.ukvariety.co.uk/Images/banners/Ad3.gif'></a>");
    addBanner("<a href='http://www.ukvariety.co.uk/banners.html'><img border=0 alt='Advertiser 4' src='http://www.ukvariety.co.uk/Images/banners/Ad4.gif'></a>");
    addBanner("<a href='http://www.ukvariety.co.uk/banners.html'><img border=0 alt='Advertiser 5' src='http://www.ukvariety.co.uk/Images/banners/Ad5.gif'></a>");
    addBanner("<a href='http://www.ukvariety.co.uk/banners.html'><img border=0 alt='Advertiser 6' src='http://www.ukvariety.co.uk/Images/banners/Ad6.gif'></a>");
    addBanner("<a href='http://www.ukvariety.co.uk/banners.html'><img border=0 alt='Advertiser 7' src='http://www.ukvariety.co.uk/Images/banners/Ad7.gif'></a>");
    addBanner("<a href='http://www.ukvariety.co.uk/banners.html'><img border=0 alt='Advertiser 8' src='http://www.ukvariety.co.uk/Images/banners/Ad8.gif'></a>");
    addBanner("<a href='http://www.ukvariety.co.uk/banners.html'><img border=0 alt='Advertiser 9' src='http://www.ukvariety.co.uk/Images/banners/Ad9.gif'></a>");
    addBanner("<a href='http://www.ukvariety.co.uk/banners.html'><img border=0 alt='Advertiser 10' src='http://www.ukvariety.co.uk/Images/banners/Ad10.gif'></a>");
    var div2 = new NewDiv2(window, "banner", _banners[0],0,0,50,50,500,"ABSOLUTE");
    var count=0; /* which one to start with */
    function doIt() {
    count++;
    count%=_banners.length;
    div2.setBody(_banners[count]);
    setInterval('doIt()',7000);
    </script>
    </p>
    </head>
    <body>
    <script type=text/javascript>
    div2.output();
    </script>
    </body></center>
    </html>The javascript links to a file caled div_construct2.js
    This file contains the following coding:
    isNS = document.layers?true:false;
    isIE = navigator.appName.indexOf("Microsoft") != -1
    isNS6=document.getElementById&&!isIE?true:false;
    function NewDiv2(window, id, body, left, top, width, height, zIndex, absolute) {
        this.window = window;
        this.id     = id;
        this.body   = body;
        var d = window.document;
        d.writeln('<STYLE TYPE="text/css">#' + id + ' {');
         if (absolute) d.write('position:absolute;');
         else          d.write('position:relative;');
        if (left)   d.write('left:'  + left  + ';');
        if (top)    d.write('top:'   + top   + ';');
        if (width)  d.write('width:' + width + ';');
         if (height) d.write('height:' + height + ';');
         if (zIndex) d.write('z-index:' + zIndex + ';');
        d.writeln('}</STYLE>');
    if (isNS) {
        NewDiv2.prototype.output             = function()      { var d = this.window.document;d.writeln('<DIV ID="' + this.id + '">');d.writeln(this.body);d.writeln("</DIV>");this.layer = d[this.id];}
        NewDiv2.prototype.moveTo             = function(x,y)   { this.layer.moveTo(x,y); }
        NewDiv2.prototype.moveBy             = function(x,y)   { this.layer.moveBy(x,y); }
        NewDiv2.prototype.show               = function()      { this.layer.visibility = "show"; }
        NewDiv2.prototype.hide               = function()      { this.layer.visibility = "hide"; }
        NewDiv2.prototype.setZ               = function(z)     { this.layer.zIndex = z; }
        NewDiv2.prototype.setBgColor         = function(color) { this.layer.bgColor = color; }
        NewDiv2.prototype.setBgImage         = function(image) { this.layer.background.src = image;}
        NewDiv2.prototype.getX               = function() { return this.layer.left; }
        NewDiv2.prototype.getY               = function() { return this.layer.top; } //was right .. ??
        NewDiv2.prototype.getWidth           = function() { return this.layer.width; }
        NewDiv2.prototype.getHeight          = function() { return this.layer.height; }
        NewDiv2.prototype.getZ               = function() { return this.layer.zIndex; }
        NewDiv2.prototype.isVisible          = function() { return this.layer.visibility == "show"; }
        NewDiv2.prototype.setBody            = function() { for(var i = 0; i < arguments.length; i++) this.layer.document.writeln(arguments);this.layer.document.close();}
    NewDiv2.prototype.addEventHandler = function(eventname, handler) {this.layer.captureEvents(NewDiv2._eventmasks[eventname]); var newdivel = this;this.layer[eventname] = function(event) { return handler(newdivel, event.type, event.x, event.y, event.which, event.which,((event.modifiers & Event.SHIFT_MASK) != 0),((event.modifiers & Event.CTRL_MASK)  != 0),((event.modifiers & Event.ALT_MASK)   != 0));}}
    NewDiv2.prototype.removeEventHandler = function(eventname) {this.layer.releaseEvents(NewDiv2._eventmasks[eventname]);delete this.layer[eventname];}
    NewDiv2.prototype.centerX = function() {this.layer.moveTo(Math.round((window.pageXOffset+document.width-100)/2),this.layer.top)}
    NewDiv2._eventmasks = {onabort:Event.ABORT,onblur:Event.BLUR,onchange:Event.CHANGE,onclick:Event.CLICK,ondblclick:Event.DBLCLICK, ondragdrop:Event.DRAGDROP,onerror:Event.ERROR, onfocus:Event.FOCUS,onkeydown:Event.KEYDOWN,onkeypress:Event.KEYPRESS,onkeyup:Event.KEYUP,onload:Event.LOAD,onmousedown:Event.MOUSEDOWN,onmousemove:Event.MOUSEMOVE, onmouseout:Event.MOUSEOUT,onmouseover:Event.MOUSEOVER, onmouseup:Event.MOUSEUP,onmove:Event.MOVE,onreset:Event.RESET,onresize:Event.RESIZE,onselect:Event.SELECT,onsubmit:Event.SUBMIT,onunload:Event.UNLOAD};
    if (isIE) {
    NewDiv2.prototype.output = function() { var d = this.window.document;d.writeln('<DIV ID="' + this.id + '">');d.writeln(this.body);d.writeln("</DIV>");this.element = d.all[this.id];this.style = this.element.style;}
    NewDiv2.prototype.moveTo = function(x,y) { this.style.pixelLeft = x;this.style.pixelTop = y;}
    NewDiv2.prototype.moveBy = function(x,y) { this.style.pixelLeft += x;this.style.pixelTop += y;}
    NewDiv2.prototype.show = function() { this.style.visibility = "visible"; }
    NewDiv2.prototype.hide = function() { this.style.visibility = "hidden"; }
    NewDiv2.prototype.setZ = function(z) { this.style.zIndex = z; }
    NewDiv2.prototype.setBgColor = function(color) { this.style.backgroundColor = color; }
    NewDiv2.prototype.setBgImage = function(image) { this.style.backgroundImage = image;}
    NewDiv2.prototype.getX = function() { return this.style.pixelLeft; }
    NewDiv2.prototype.getY = function() { return this.style.pixelRight; }
    NewDiv2.prototype.getWidth = function() { return this.style.width; }
    NewDiv2.prototype.getHeight = function() { return this.style.height; }
    NewDiv2.prototype.getZ = function() { return this.style.zIndex; }
    NewDiv2.prototype.isVisible = function() { return this.style.visibility == "visible"; }
    NewDiv2.prototype.setBody = function() { var body = "";for(var i = 0; i < arguments.length; i++) {body += arguments[i] + "\n";}this.element.innerHTML = body;}
    NewDiv2.prototype.addEventHandler = function(eventname, handler) { var NewDiv = this;this.element[eventname] = function() { var e = NewDiv2.window.event;e.cancelBubble = true;return handler(NewDiv2, e.type, e.x, e.y, e.button, e.keyCode, e.shiftKey, e.ctrlKey, e.altKey); }}
    NewDiv2.prototype.removeEventHandler = function(eventname) { delete this.element[eventname];}
         NewDiv2.prototype.centerX = function() { this.style.pixelLeft=Math.round((document.body.clientWidth+document.body.scrollLeft-300)/2)}
    * The following was written by:
    * Dario Guzik
    * Spam unfriendly email address: dguzik AT bigfoot DOT com
    if (isNS6) {
    NewDiv2.prototype.output = function() { var d = this.window.document;d.writeln('<DIV ID="' + this.id + '">');d.writeln(this.body);d.writeln("</DIV>");this.element = d.getElementById(this.id);this.style = this.element.style;}
    NewDiv2.prototype.moveTo = function(x,y) { this.style.pixelLeft = x;this.style.pixelTop = y;}
    NewDiv2.prototype.moveBy = function(x,y) { this.style.pixelLeft += x;this.style.pixelTop += y;}
    NewDiv2.prototype.show = function() { this.style.visibility = "visible"; }
    NewDiv2.prototype.hide = function() { this.style.visibility = "hidden"; }
    NewDiv2.prototype.setZ = function(z) { this.style.zIndex = z; }
    NewDiv2.prototype.setBgColor = function(color) { this.style.backgroundColor = color; }
    NewDiv2.prototype.setBgImage = function(image) { this.style.backgroundImage = image;}
    NewDiv2.prototype.getX = function() { return this.style.pixelLeft; }
    NewDiv2.prototype.getY = function() { return this.style.pixelRight; }
    NewDiv2.prototype.getWidth = function() { return this.style.width; }
    NewDiv2.prototype.getHeight = function() { return this.style.height; }
    NewDiv2.prototype.getZ = function() { return this.style.zIndex; }
    NewDiv2.prototype.isVisible = function() { return this.style.visibility == "visible"; }
    NewDiv2.prototype.setBody = function() { var body = "";for(var i = 0; i < arguments.length; i++) {body += arguments[i] + "\n";}this.element.innerHTML = body;}
    NewDiv2.prototype.addEventHandler = function(eventname, handler) { var NewDiv = this;this.element[eventname] = function() { var e = NewDiv2.window.event;e.cancelBubble = true;return handler(NewDiv, e.type, e.x, e.y, e.button, e.keyCode, e.shiftKey, e.ctrlKey, e.altKey); }}
    NewDiv2.prototype.removeEventHandler = function(eventname) { delete this.element[eventname];}
    NewDiv2.prototype.centerX = function() { this.style.pixelLeft=Math.round((document.body.clientWidth+document.body.scrollLeft-300)/2)}
    If anyone could help, I would be most grateful and could even offer a free advert for a while if needs be.
    Thanks in advance
    Dave
    "I think my brain exploded"

    You might want to ask this on a JavaScript forum.
    Java and JavaScript are not related.Now his brain probably experienced not just a mere explosion, but more like an atomic one.

  • Javascript and Struts HTML problem

    Hi all,
    I write the following script in my jsp page, but this one does not produce the output at all :
    <script type="text/javascript">
         document.write("<input type="button" value='<bean:message key="btn.show"/>' onclick='onShowClick(this.form,"<bean:write name="vo" property="id"/>",true)'/>")
    </script>While the following script without Javascript works as expected :
    <input type="button" value='<bean:message key="btn.show"/>' onclick='onShowClick(this.form,"<bean:write name="vo" property="id"/>",true)'/>What is wrong ?
    Thanks in advance,
    Setya

    Sure theres an easier way - don't use javascript?
    Why do you want to do this javascript and document.write?
    Can't you do it using JSP?
    About the quotes:
    The same quote that starts a string, ends it.
    You are writing a javascript string, so the first unescaped single quote it comes across will end it.
    Unfortunately in the middle of this string, you are writing HTML onclick event, with some javascript which ALSO needs quotes escaped(sigh)
    So you have a javascript string producing some HTML, which also embeds a javascript string (now thats complicated quoting). Mixing the quotes with the struts tags just makes this a nightmare.
    If you want to use quotes in the middle of a string you have to escape them.
    Simple examples:
    document.write("hello world");  // no quotes
    document.write("hello \"Java\" ");  // escaping the quotes
    document.write('hello "Java" ') // because we used a different quote, we don't have to escape it
    And mixing the two:
    document.write(' hello "Java\'s buddy" ');  // double quotes don't need to be escaped but the single quote does.Your line of code should be
    document.write('<input type="button" value="<bean:message key="btn.show"/>" onclick="onShowClick(this.form,\'<bean.write name="vo" property="id"/>\',true)"')Note that I escaped the single quotes around the string attribute to the javascript method. Needed to do this, so as not to disturb the double quotes encapsulating the onclick="..." method.
    Good luck,
    evnafets

  • Javascript problem with HTML embed

    I'm migrating a large existing site from Sitegrinder to Muse after converting several smaller sites without problem. Unfortunately this site has a javascript button that doesn't work at all. The button was created with the Object/Embed HTML feature, just as coding for several ads was placed in the same way. All the elements displayed properly in the Muse layout and in the browser preview, so I assumed that the code was being read correctly.
    Unfortunately when I click the button on the deployed site, the message "Run script "getPianoDeals()" appears at the bottom of the browser window but nothing else happens. A pop-up window with localized info is supposed to show up. This button appears at the top of every page on a website of hundreds of pages.
    I don't know Javascript, simply place the line of code provided to me. The button has always worked in the past. There's a lot going on in the pages so I don't know if there's a conflict or what to do about it. The site is at www.pianobuyer.com; the white button labeled "view local offers" in the top right corner is the problem. For reference I've reloaded the main pages of the old site at www.pianobuyer.com/Julie/ where the button functions correctly.
    Any suggestions are greatly appreciated.
    Thanks.

    I've tried several things to sort out the problem.
    I isolated the button on a separate layer (helpful with problems between drop-down menu bar and other HTML objects on a page) but it made no difference.
    I then edited the HTML file, moving the relative position of the Muse javascript entries and the problem button script. No matter where the lines were placed, when the button script follows the Muse scripts it works fine; when the button script precedes the Muse scripts it does nothing. Also when the Muse scripts follows the button script the normal actions on the site works fine (drop-down menu bar, slide show); when the Muse scripts precedes the button script none of them work. So the conflict definitely occurs between the scripts.
    I found two discussions on the forum about similar problems. Both refer to a "require.js" file being added to the page. Unfortunately I don't understand what's being discussed.

  • Javascript problem in HTML version of XDP file

    Hi All,
    I have designed a XDP form in adobe livecycle desinger 7.0.
    It has three pages and i have a page navigation custom control for navigation between the three pages.
    From my application i am displaying this xdp form in HTML format.
    my problem is that it loads only the first page. when i click on the next button a javascript error saying "this._peer" is not an object kind of error is thrown.
    I made the event to run at both client and server. even if i change to run at server also its not working
    Please help me in resolving this problem.
    Thanks,
    Rajasekhar MV

    Hi shilps,
    My problem got solved. Thanks,
    thanks,
    raj MV

  • JavaScript and "pdk-html:form" Variables

    I am having a problem using javaScript with my "pdk-html:form" variables.
    Here is what the .jsp looks like:
    <SCRIPT type=text/javascript>
         function test() {
              alert("act = "+window.document.facListBean.act.value);
    </SCRIPT>
    <pdk-html:form name="facListBean" .......>
         <pdk-html:text property="act" />
    </pdk-html:form>
    The problem is that when the HTML is rendered the name of the form field "act" gets translated to "_piref584_1533941_584_1533923_1533923.act"
    Is there a simple way to handle this problem? Can someone suggest a workaround?
    Thanks,

    hi Matt,
    i've faced the same problem. The only solution i've found was that:
    cicle your form and get all the elements in it.
    var field1;
    var x=document.getElementById("myForm");
    for (var i=0;i<x.length;i++) {
    if(x.elements.name.indexOf('field1')) field1 = x.elements[i];
    []s,
    Felippe

  • Using .xsl in javascript for portal .html (document iview)

    Hi,
    I prepared .html document has javascript code in it.
    Javascript code uses activex object to process .xsl for xml operation.
    I used html document in document iview but problem occured.
    I think activex object cause the problem or i gave wrong address  for xsl document.
    If i place xsl document in same folder with html document, how can it be addressed (xsl path)?
    Is there sample html document using javascript code that uses xsl and activex object in it?
    And is it tested as document iview with no problem?
    Thanks.

    I just completed designing a website for my restaurant using Dreamweaver 8. I included my menu as part of the website and now wanted to print it for customer use in the restaurant. The document is in html format.
    You can only print your source code from Dreamweaver. I don't have DW8 installed anymore, but i think it's: File > Print (or Print Code).
    If you want to print how it looks with the HTML rendered, then print it from a browser.
    HTH,
    Randy

  • Refreshing page will not update the content referred JavaScript file of html in WebKit on Mac OS X 10.10.2

    In our project, we use WebKit framework to visit a local HTML file which contains reference to JavaScript file. Our users can modify the JavaScript file and then refresh the page to see the change which works fine until we come up to Mac OS X 10.10.2. It seems that the referred JavaScript file is cached and can be never updated except restarting application. We have already set cache policy to “NSURLRequestReloadIgnoringLocalCacheData”. However it didn’t work.
    Besides there is a similar issue on Safari of Mac OS X 10.10.2. I find that refreshing the HTML in Safari will not renew the content of referred JavaScript file after modifying it. I have tried to check "disable caches" option, but it still didn't work. The behavior is different from OS X 10.10.1. Maybe it is a defect on OS X 10.10.2. Did anyone meet such issue? Is there any solution?

    The web process user is "_www"… that's without the " and with the _.

  • Javascript error in HTML DB

    For simplification purposes, if I have a text box named 'test', in a form named 'InsertForm', and I try to overwrite its value via JavaScript upon the user having clicked into the textbox, I do so as follows (though I continue to receive an error function claiming the window.formname property is null). How would I reference the formname and field name?
    <HTML>
    <SCRIPT LANGUAGE="JavaScript">
    <!-- Beginning of JavaScript -
    </SCRIPT>
    <BODY>
    OnFocus = window.document.InsertForm.test.value = "1"
    </BODY>
    </HTML>

    Scott,
    Have you reviewed this How To:
    http://www.oracle.com/technology/products/database/htmldb/howtos/htmldb_javascript_howto2.html
    Sergio

  • Javascript error with HTML Editor

    HI,
    I was wondering if anyone could help me with a javascript error which appears upon page load. It only appears in internet explorer,
    This person appears to have solved the problem but does not explain where abouts they made the change required.
    FCK Rich Text Editor aka HTML Editor Standard IE Error/Bug
    This problem also appears on the apex demo of new features.
    If anyone can respond with help, it would be greatly appreciated
    Regards
    Kev

    Hello Kevin,
    This is a difficult issue as the init code for the editor item is being generated internally by the APEX engine, and we don’t have any control over it. As I see it, a complete solution can only be provided by the APEX team.
    Until then I’m using a workaround, based on the original init code. The FCK Editor takes a standard textarea and convert it into the editor item, based on its init parameters.
    First I’m uploading the FCK JavaScript code, using the page HTML Header Text (If you are using the editor a lot, you can define a page template to do that for you). The code is:
    <script type="text/javascript" src="/i/fck/fckeditor.js"></script>Now I’m using a regular textarea item as the base item for the editor. I’m using a regular onload event to init this item:
    onload="initFCK('P80_MY_EDITOR');"The JavaScript function I’m using is similar to the following:
    function initFCK(pItem) {
                var oFCKeditor        = new FCKeditor(pItem) ;
                oFCKeditor.BasePath   = "/i/fck/" ;
                oFCKeditor.Width      = '760';
                oFCKeditor.Height     = '105';
                oFCKeditor.ToolbarSet = 'Basic' ;
                oFCKeditor.Config[ "AutoDetectLanguage" ] = false;
                oFCKeditor.Config[ "DefaultLanguage" ]    = "en";
                oFCKeditor.ReplaceTextarea() ;
    }Of course, the init parameters can be changed according to your specific needs.
    This code works fine on IE and FF (didn’t check other clients).
    Regards,
    Arie.

  • Does JEditorPane support JavaScript, CSS, XHTML, HTML?

    Can anyone confirm what JEditorPane actually can support? I can't find anything specific in the J6SE release notes and most of the stuff of Google is pretty dated, I have also searched the forums but nothing much on there that is recent. According to one post it supports some CSS and HTML but no JavaScript.
    Can anyone confirm this?
    What I plan to do is make a lightweight split pane editor for the above but I also want to be able to preview the code in another pane instead of launching a browser. If there still is no support then can anyone suggest an alternative way to get the same results?
    Failing that I will just have to try and then fall back to the browser but it would be nice to know before hand. The online docs I read don't cover a lot on compatibility.
    Cheers

    the answer is no. the html support in JEditorPane is
    very simple to be able to do things like simple help
    manuals and such. But you may be able to integrate
    the mozilla gecko engine into your application if you
    really want this.
    http://jrex.mozdev.org/
    Hi Gimbal,
    Thanks for the info. The jrex thing certainly looks more like what I am after.
    Cheers

  • How to I get access to the Captivate object in javascript within an HTML file?

    I'm still struggling with this and would really appreciate any help/guidance you can .
    here's what I've got right now:
    var g_bIsInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
    document.write("<P><H1> g_bIsInternetExplorer=" + g_bIsInternetExplorer + "</H1></P>");
    document.write("<P><H1> setting objCP....</H1></P>");
    var objCp = g_bIsInternetExplorer ? Captivate : document.Captivate;
    document.write("<P><H1> set objCP....</H1></P>");
    var description = objCp.cpEIGetValue("m_VarHandle.cpInfoDescription");
    document.write("<P><H1> description=" + description + "</H1></P>");
    I've published the captivate project.. I then launch it and then launch the html file that has this code in it
    It does everyting up thru and including line 3
    But it seems to fail on line 4..
    Any ideas /suggestions?
    Thanks in advance.

    Hey Jim - thank you thank you thank you
    Here's what was up with my code:
    This worked:
    alert("about to set objCP...");
    var objCp = document.Captivate;
    alert("completed setting of objCP, about to set get cpInfoDescription...");
    var description = objCp.cpEIGetValue("m_VarHandle.cpInfoDescription");
    alert("description=" + description);
    This did NOT work:
    document.write("<P><H1> AT BEGINNING </H1></P>");
    alert("about to set objCP...");
    var objCp = document.Captivate;
    alert("completed setting of objCP, about to set get cpInfoDescription...");
    var description = objCp.cpEIGetValue("m_VarHandle.cpInfoDescription");
    alert("description=" + description);
    ====
    I'm guessing the 2nd didn't work because i tried to get the captivate object AFTER the script wrote something to an HTML file.  I'm ultimately trying to get Captivate to generate a report for the user to report out what they did in response to the various quiz questions in the course (in HTML in table).   I've posted a query on how to do this here: http://forums.adobe.com/message/5120417#5120417
    Any chance you could take a look at this posting and let me know your thoughts on how best to do this .. It seems like this would be a fairly common thing to do .. It comes stock in Articulate Storyline (through their 'Report.HTML') but I haven't found a comparable one in Captivate.
    Thanks again!
    tom.

  • How to show/hide build in search box in javascript for LightSwitch html clients?

    Hi
    For each collection on content item, there is built-in showSearch button we can add, once the user clicks on the search, a pre-built-in-search-box shows up above the collection so user can search items in the list. How can I show/hide the pre-built-in-search-box
    in javascript?
    Any help will be appreciated
    The built-in showSearch on content item
    The user clicks the search button, and the pre-built-in-search-box shows up to allow user to enter search terms
    jl

    Hi Joe,
    Welcome to Lightswitch forum.
    If you want to show/hide showSearch button, you can execute this line to show the button,
    this.FindControl("showSearch").IsVisible = true;
    Or execute the line below:
    this.FindControl("showSearch").IsVisible = false;
    Please let me know if there is anything that I can do to help.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Problem with ora:output and xmlns attribute

    Using lastest XDK. I am using the built in extension ora:output in a stylesheet running via XSQL called from a small java prg. I am using this to generate several html fragments that will get processed later on not by xsql or xml/xsl but by another j

  • What is Exchange Virtual directory and its role?

    Hello there, I am new to Exchange and I started reading about Exchange Virtual directories. I am struggling to understand the concept behind Virtual directories in Exchange and what is the role of this component. Can someone please shed some light an

  • Can't get my tv shows to sync

    I have had my ipad for a year and have sync'd many tv shows but recently I can't get my shows to sync. The icon will show up on the ipad but not the tv show art work and when I click on the show nothing happens. It is like all the shows (47) have sta

  • Imovie: cant share to facebook due to "wrong password

    when trying to share a movie or a trailer to facebook I am unable to log on to fb due to "incorrect password.  However this is the password !!!

  • How to Update Jar Files

    Can u tell me how to update an JAR file . I have a jar file ,I would like to add a class in that jar. I am able to add it but it goes into the root folder where as i want it go in one of the sub folder. Eg TEST.JAR The structure is Server\a.class Ser