JavaScript API Reference: AdfRichTable .getWidth not working.

Hello, I need to write a JAVASCRIPT function that returns the width of table every time is called. The table "id" is 't1'.
My first version of the function was something like this:
          function getElementWidth(event) {
              var tElem = document.getElementById('t1::ch');
              var tWidth = tElem.style.width;
              component = event.getSource();
              AdfCustomEvent.queue(component, "customEvent",{width : '' + tWidth},true);
              event.cancel();
          }The function works fine, still I don't like it because making use of 't1::ch' (which is actually a div inside a more elaborate css/html/javascript construct) is more like a hack.
My next idea was to write another function, making use of AdfPage.PAGE.findComponent.
The function should be something like this:
          function anotherFunction(event) {
             var table = AdfPage.PAGE.findComponent('t1');
             alert(table);
             alert(table.getWidth());
          }The firtst alert window shows: +AdfRichTable [oracle.adf.RichTable] id=t1+
The second alert window shows: null
Any ideea why the getWidth function is not working accordingly ?

I've changed the script.  I now create my path layer using the below function.  However, even after explicitly changing the ruler units to PIXELS, the paths I create all seem to be measured in POINTS.  Even if the original ruler unit is PIXELS this still happens.  Is there any way around this (that is backwards compatable)?
function createPathLayer(title, subPathArray)
    var docRef = app.activeDocument;
    var originalUnit = app.preferences.rulerUnits;
    alert("Orig units " + originalUnit);
    app.preferences.rulerUnits = Units.PIXELS;
    var myPathItem = docRef.pathItems.add(title, subPathArray);
    alert("New units " + Units.PIXELS);
    app.preferences.rulerUnits = originalUnit;

Similar Messages

  • Javascript functions to control QuickTime not working in Firefox

    I am using the provided Javascript functions to control QuickTime (7.6.2); however, the functions are not working in Firefox (3.0.11), whereas they are working in Safari (4.0.1).
    I create a QuickTime Player, as follows:
    QT_WriteOBJECT('Music.mp3', '0', '0', '', 'AUTOPLAY', 'True', 'KIOSKMODE', 'True', 'CONTROLLER', 'False', 'LOOP', 'False', 'obj#id', 'qtp', 'emb#name', 'qtp', 'emb#id', 'qtpID', 'ENABLEJAVASCRIPT', 'True', 'SHOWLOGO', 'False', 'VOLUME', '256');
    The Music.mp3 file starts playing in both Safari and Firefox; however, the Javascript functions to control that playing work only in Safari, not in Firefox.
    Examples of QuickTime functions that work in Safari, but not in Firefox:
    document.qtp.Stop();
    document.embeds[0].GetRate();
    document.embeds["qtp"].GetTime();
    document.embeds["qtpID"].GetQuickTimeVersion();
    The GetRate and GetTime functions always return a "0" in Firefox, the Stop command is ineffectual in Firefox, and the GetQuickTimeVersion function aborts the Javascript code in Firefox.
    Any ideas what's happening?

    Dave, what you have done is very similar to what I have done, with the following exceptions:
    1. I'm using the regular HTML version of QT_WriteOBJECT rather than the XHTML version.
    2. My first parameter is an .mp3 file rather than a .mov poster in combination with an 'href'.
    3. I'm not using some of your parameters, such as, 'target', 'targetcache', 'scale', 'href', and 'name'.
    4. Instead of 'name', I'm using --- 'obj#id', 'qtp', 'emb#name', 'qtp' --- which allows me to then reference the QuickTime functions as --- document.qtp.Play(); document.qtp.Stop(); --- etc.
    5. I'm not creating HTML buttons as player controls; rather I am using my javascript program to detect and control the player operation with functions such as --- document.qtp.GetRate(); document.qtp.GetTime(); document.qtp.GetDuration(); document.qtp.SetVolume(); document.qtp.SetMute(); document.qtp.Play(); document.qtp.Rewind(); document.qtp.Stop() --- etc.
    6. I change my .mp3 files using --- document.qtp.SetURL();
    7. All my javascript is contained in an iWeb HTML snippet using an iframe.
    Essentially, I've created a jukebox with button images of album covers that can be visually scrolled and then clicked to play an album via the HTML onClick, onMouseOver, and onMouseOut functions.
    This all works without a hitch in Safari; however, in FF, NN, and Opera, it only works if the iframe is completely visible on the screen. It can't be scrolled offpage, and the HTML album cover buttons in the iframe cannot be dimensionless, hidden, or blocked from view.
    I really think it's the iframe that is causing this behavior in all the browsers (except Safari).
    BTW, as an aside, I don't have a Windows machine, but no one I know using IE on a PC has been able to get my QuickTime Player working. I think it's because, when I want to collapse an album cover, I set its width to '1px' ('0px' works only in Safari), but I think IE may require a minimum width of '2px'. I have not tried changing my image widths to '2px' yet.

  • Cross reference or hyperlinking not working for InDesign CS5 Book to ePub

    I cannot get hyperlinks or cross reference links to work when generating an ePub from InDesign CS5. (7.0.0.355, Mac OS 10.6.2)
    Here's how to recreate a simple test demonstrating the issue.
    1. Create a new InDesign Book (File -> New -> Book)
    2. Create document one (File -> New -> Document)
    3. Create a text box and type "Table of Contents"
    4. Create document two (File -> New -> Document)
    5. Create a text box in it and type "Story One"
    6. Create a new paragraph style and assign it to the Story One text
    7. Save document 2. I just kept the name Untitled-2.xhtml
    8. Back in document 1, add a cross-reference and select document 2, the style you created, and then "Story One". "Story One" should now appear under the previously typed Table of Contents text, and when highlighed, should show it is an active cross reference in the Hyperlinks panel.
    9. Save document 1. I just kept the name Untitled-1.xhtml
    10. Add both documents to the Book and save the book.
    11. From the Book panel, select Export Book to EPUB...
    12. Save the epub file and open it in Adobe Digital Editions.
    Note that the text "Story One" appears as a hyperlink but when clicked does not switch to the document 2. It does nothing apparent when clicked.
    Looking at the XHTML source for the first document, it is immediately evident why. The filename for document 2.thml is missing.  It looks like this: <a href="#anchor-anchor">
    When it should be : <a href="Untitled-2.xhtml#anchor-anchor">
    The same thing works if you create a hyperlink instead of a cross reference.
    I note then when I use the option to go to the destinate reference in the Cross Link (hyperlink) panel, it does switch to the second InDesign docuemtn. So the cross reference is functioning (in InDesign). But the link is broken in the ePub for the above mentioned reason.
    Bug? Something I'm overlooking?
    Entire source of Untitled-1.xhtml:
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Untitled-1.xhtml</title>
    <link href="template.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div id="untitled-1">
    <div class="generated-style">
    <p class="basic-paragraph" xml:lang='en-us'><span class="no-style-override">Table of Contents</span></p>
    <p class="basic-paragraph" xml:lang='en-us'><span class="no-style-override"><a href="#anchor-anchor">“story one”</a></span></p>
    </div>
    </div>
    </body>
    </html>

    As far as I can tell, it has NOT yet been fixed in CS5.5.  I'm having the same problem.  I have about 90 hyperlinks to fix.
    And the explanation that Teus Dejong gives indicates it's not going to be that helpful:  "we have found that only the links in documents split by the CS5 exporter will be fixed. For books the script does only work for references to earlier documents in the book, not for forward references. This means in practice that for most books the script will not repair the links and should be seen as a means to add the year only. At the moment I see no way to repair this, because the book epub output of InDesign does not contain sufficient information to repair links referencing forward to others documents in a book."
    It's pretty discouraging.

  • HTML5 API - Heat Layer Points Not Working

    Hi everyone,
    Really weird issue this, and I am honestly at a loss to explain what's going on, so hopefully someone can spot my mistake!
    I want to overlay a density-based heat map over a map of Britain, based on longitude/latitude points stored in OBIEE columns. I have copied and pasted some of the code (modifying it for my needs) from the SampleApp v406 "dynamic heat layer" demonstration.
    My "showMap(darray)" function is what is responsible for building and displaying the map. darray in this case is an 2-dimensional array containing all the OBIEE data in [row number][column number] format which is fed in via a narrative view. Note that mapview, heatLayer and eventsLayer are global variables defined in the main script body. Below is the code:
    function showMap(darray) {
       var baseURL  = "http://"+document.location.host+"/mapviewer";
       mapview = new OM.Map(document.getElementById("map"), { mapviewerURL:baseURL });
       mapview.addLayer(new OM.layer.ElocationTileLayer("background"));
       var marker = new OM.style.Marker({src: "/mapviewer/icons/BALL_sel.png", width:7, height:7});
       var heatStyle = getStyle();
      heatLayer = new OM.layer.VectorLayer("heatLayer",
                def:
                    type: OM.layer.VectorLayer.TYPE_LOCAL
                    renderingStyle: heatStyle
      addPoints(darray, heatLayer);
      mapview.addLayer(heatLayer);
    eventsLayer = new OM.layer.VectorLayer("eventsLayer",
                def:
                    type: OM.layer.VectorLayer.TYPE_LOCAL
                    renderingStyle: marker
      addPoints(darray, eventsLayer);
      mapview.addLayer(eventsLayer);
      // Set the initial map center and zoom level
      var mapCenterLat = 51.14076;
      var mapCenterLon = 0.88016;
      var mapZoom = 8;
      var mpoint = new OM.geometry.Point(mapCenterLon,mapCenterLat,8307);
      mapview.setMapCenter(mpoint); 
      mapview.setMapZoomLevel(mapZoom);
      console.log(heatLayer);
      mapview.init();
    Here is the getStyle() function definition, it simply returns a style for the heat map to use.
    function getStyle(){
      var colors = ["#C6DBEF","#6BAED6","#008fff","#00abff","#00d5ff","#00ffff","#00ff7f","#00ff00","#7fff00","#ffff00","#ffd500","#ffab00","#ff7f00","#ff5600","#ff2b00", "#ff0000", "#A50F15"];
      var config = {
        spotlightRadius:25,
        lengthUnit:"pixel",
        colorStops: colors,
        opacity:0.65,                 
        sampleFactor: 1
      var heatStyle = new OM.style.HeatMap(config);
      return heatStyle;
    and here is the addPoints(darray) function which is responsible for plotting points on the layer:
    function addPoints(darray,layer) {
      /*lat,long,estb,metric*/
      for (i=0;i<darray.length; i++) {
          var fid = i;
          var mpoint = new OM.geometry.Point(darray[i][4], darray[i][3], 8307);
          var f_attr = {attributes :{"Car Number":darray[i][0], "Event":darray[i][2], "Time":darray[i][1]}};
          var feature = new OM.Feature(fid,mpoint,f_attr);
          layer.addFeature(feature);
    I apologise for the code dump, but I thought it would be necessary to help troubleshoot.
    My issue is that any layer using the "marker" style displays the points in the correct place, but the heat layer, which uses the "heatStyle" style, stacks all of its points at 0,0 which is somewhere just off the west coast of Africa! You'll notice the call to console.log(heatLayer), investigating this reveals that the correct GPS coordinates are being stored in the heat layer's feature array, it's just for some reason rendering them all at 0,0. This is what normally happens if you use an invalid SRID and it doesn't know where to put them on the map (if I change mpoint in addPoints() to use -1 as a SRID for example, then it does the same thing to the eventsLayer layer), but both layers use the same function. I have torn apart my code several times trying to understand why it's doing this, and compared it to the code in the SampleApp v406 demo and it's identical! The only difference is that I've modified getStyle() to return a static definition since I'm not allowing my users to modify the heat layer style. I've also got another visualisation with the same heat style definition and it works fine, though that is not based on a world-map but a custom one.
    I've also tried clearing all caches, including the presentation layer and mapviewer server, as well as my browser's cache, and it's still not working.
    EDIT: I have also discovered that any functions called from heatLayer, such as setVisible(true/false), produces a javascript error in oraclemapsv2.js "ReferenceError: layer is not defined", but only if the call is made OUTSIDE the showMap function. It looks like, for whatever reason, heatLayer works fine until showMap() is finished, and then it suddenly stops working? Remember that heatLayer is a global variable, so it is not a scope issue. What is going on?! Also, calling console.log(heatLayer) in the same function as my setVisible() call shows that heatLayer is still defined and still contains the same data, it's just that oraclemapsv2.js no longer recognises it. Is this a bug or something?
    If anyone can identify what I've done wrong, I would be extremely grateful!
    Thanks,
    Richard

    Hi Mark,
    Can you post the create index command, as well as the contents of user_sdo_geom_metadata for the point layer?
    Also, can you post the results of doing a select count(*) from the index table as well as select count(*) from the point table?
    Thanks,
    dan

  • MDT - Custom Reference Image does not work with Task Sequence, normal Windows 7 Enterprise Iso media works fine.

    Hi,
    Our MDT server is acting strange!
    I have previously had this system running without problem - i could both capture and deploy computers as is and no changes have been made to mdt.
    But my latest capture does not work. When i capture my reference maching in my VM environment it completes without errors and i can import the latest wim file.
    When i deploy the tast sequence, it install the custom Wim image, but it ends up with "login" screen as the administrator i have entered for the capture/deploy sequence, but it goes to stop at this point and applications is not installed.
    If i change the ISO in the task sequence under Install OS step, to a clean Win7 install media then the capture completes and install applications.
    I have also tried to:
    Capture reference without password
    Capture reference without Windows updates
    Customsettings.ini, bootstrap, BDD.log and SMSTS.log to be found here: https://onedrive.live.com/redir?resid=ED5029A20300B814!365&authkey=!AALV1b2ubD0laEE&ithint=folder%2cini
    Hope you will be able to assist,
    Regards,
    Anders

    if you have noticed your smsts.log, there is same error multiple - 
    Executing in non SMS standalone mode. Ignoring send a task execution status message request
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    User did not specify local data drive TSManager
    1/23/2015 12:50:37 PM 1656 (0x0678)
    Volume A:\ is not a fixed hard drive TSManager
    1/23/2015 12:50:37 PM 1656 (0x0678)
    Volume D:\ is not a fixed hard drive TSManager
    1/23/2015 12:50:37 PM 1656 (0x0678)
    Volume X:\ is not a fixed hard drive TSManager
    1/23/2015 12:50:37 PM 1656 (0x0678)
    Volume Z:\ is not a fixed hard drive TSManager
    1/23/2015 12:50:37 PM 1656 (0x0678)
    TSM root drive = TSManager
    1/23/2015 12:50:37 PM 1656 (0x0678)
    We do not find an available volume to store the local data path
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    Set a global environment variable _SMSTSNextInstructionPointer=1
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    Set a TS execution environment variable _SMSTSNextInstructionPointer=1
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    Set a global environment variable _SMSTSInstructionStackString=0
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    Set a TS execution environment variable _SMSTSInstructionStackString=0
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    Save the current environment block TSManager
    1/23/2015 12:50:37 PM 1656 (0x0678)
    pszPath[0] != L'\0', HRESULT=80070057 (c:\qfe\nts_sms_fre\sms\framework\core\ccmcore\path.cpp,58)
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    Filesystem::Path::Add(sEnvPath, EnvDataFileName, sEnvPath), HRESULT=80070057 (e:\nts_sms_fre\sms\framework\tscore\environmentlib.cpp,639)
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    Failed to save environment to  (80070057)
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    TS::Environment::SharedEnvironment.saveEnvironment(szPath), HRESULT=80070057 (e:\nts_sms_fre\sms\client\tasksequence\executionengine\executionenv.cxx,842)
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    Failed to save the current environment block. This is usually caused by a problem with the program. Please check the Microsoft Knowledge Base to determine if this is a known issue or contact Microsoft Support Services for further assistance.
    The parameter is incorrect. (Error: 80070057; Source: Windows)
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    SaveEnvironment(), HRESULT=80070057 (e:\nts_sms_fre\sms\client\tasksequence\executionengine\executionenv.cxx,420)
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    Failed to persist execution state. Error 0x(80070057)
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    Failed to save execution state and environment to local hard disk
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    Start executing an instruciton. Instruction name: Gather local only. Instruction pointer: 1
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    Set a global environment variable _SMSTSCurrentActionName=Gather local only
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    Set a global environment variable _SMSTSNextInstructionPointer=1
    TSManager 1/23/2015 12:50:37 PM
    1656 (0x0678)
    what about the mass storage driver in your boot image, is it updated?
    Md.Waseem Please remember to click “Mark as Answer” on the post that helps you. Thank you.

  • JavaScript Print Button Page Range Not Working Ubuntu Linux

    I have created a PDF file that has several button programed in Javascript to print a page or page range in the file.  It works great in Windows and Mac but in Ubuntu Linux there is a problem.  When you hit the button it brings up the Print window but it has all pages set to print instead of the 1 or 2 pages it is programed to print.  How do you fix this.  I used the following Javascript.  Please help.
    this.print({
    bUI: true,
    bSilent: true,
    bShrinkToFit: true,
    nStart: 1,
    nEnd: 1
    This is supposed to print only page 2 of the document but in Adobe Reader in Linux it wants to print page 1-12.  Apparently the nStart and nEnd does not work.  Is there another way to do this so it will work in Ubuntu Linux.
    Thanks

    I suspect that the problem has to do with the added security
    included in Flash 8 and above that restricts javascript. If you
    search the flash player KnowledgeBase on Adobe.com you'll find more
    detailed information about fixes, but here is what worked for my
    Javascripted items.
    Find your Program Files > Adobe > Adobe Captivate 4
    > Templates > Publish folder. Within the folder is a
    standard.htm file. Open this file (for this simple task, i just use
    notepad). In the script section, add...
    so.addParam("allowScriptAccess", "always");
    you'll see other similar param declarations. It doesn't
    matter the order.
    You can edit the individual .htm file if you want to test
    this first.
    That should do it.
    Here is the KB article that discusses the security features
    in greater detail:
    http://www.adobe.com/devnet/flashplayer/articles/secure_swf_apps_04.html

  • Javascript drop-down Spry menu not working

    I downloaded the Spry UI 1.7 menu bar from the widget browser and pasted the code into DW CS4. I could not place it as you can in CS5. DW throws up javascript errors, but the styled menu bar works in live view and in the testing environment on Firefox and IE6 (!). However, once I load it, it does not work. It appears as if the browser can't find the javascript or the styles. I've pasted the styles in my main style sheet and in the referenced sheet at: Spry-UI-1.7/css/Menu/basic/SpryMenuBasic.css. I've verified that the Spry-UI-1.7 folder is loaded and contains all the relevant files.
    Any idea what I'm doing wrong? I've been working on this on and off for two days.
    Here is the live page:
    http://www.wengerfeeds.com/test/test2.html
    Code
    <script type="text/javascript" src="Spry-UI-1.7/includes/SpryDOMUtils.js"></script>
    <script type="text/javascript" src="Spry-UI-1.7/includes/SpryDOMEffects.js"></script>
    <script type="text/javascript" src="Spry-UI-1.7/includes/SpryWidget.js"></script>
    <script type="text/javascript" src="Spry-UI-1.7/includes/SpryMenu.js"></script>
    <script type="text/javascript" src="Spry-UI-1.7/includes/plugins/MenuBar2/SpryMenuBarKeyNavigationPlugin.js"></script>
    <script type="text/javascript" src="Spry-UI-1.7/includes/plugins/MenuBar2/SpryMenuBarIEWorkaroundsPlugin.js"></script>
    <script type="text/javascript">
    </script>
    <link href="Spry-UI-1.7/css/Menu/basic/SpryMenuBasic.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div class="wrap">
      <div class="top"></div>
      <div class="nav"> <ul id="MenuBar">
      <li><a href="index.html">Home</a></li>
      <li><a href="about.html">About Us</a>
    <ul>
      <li><a href="history.html">History</a></li>
      <li><a href="mission.html">Mission</a></li>
      <li><a href="sustainability.html">Sustainability</a></li>
      <li><a href="locations.html">Locations</a></li>
      <li><a href="tour.html">Tour</a></li>
      <li><a href="media.html">Media</a></li>
      <li><a href="millogram.html">Newsletter</a></li>
      <li><a href="links.html">Links</a></li>
    </ul>
      </li>
      <li><a href="products.html">Products</a>
    <ul>
      <li><a href="feed.html">Feed</a>
    <ul>
      <li><a href="layers.html">Layer Feed</a></li>
      <li><a href="broilers.html">Broiler Feed</a></li>
      <li><a href="swine.html">Swine Feed</a></li>
      <li><a href="turkey.html">Turkey Feed</a></li>
      <li><a href="specialty.html">Specialty Feed</a></li>
    </ul>
        </li>
      <li><a href="soychoice.html">SoyChoiceTM</a></li>
      <li><a href="soyoil.html">Soy Oil</a></li>
      <li><a href="eggs.html">Eggs</a></li>
      <li><a href="research.html">Research</a></li>
    </ul>
      </li>
      <li><a href="services.html">Services</a>
    <ul>
      <li><a href="eggmarketing.html">Egg Marketing Services</a></li>
      <li><a href="flock.html">Flock &amp; Pullet Services</a></li>
      <li><a href="lab.html">Laboratory Services</a></li>
      <li><a href="hauling.html">Hauling &amp; Warehousing</a></li>
      <li><a href="booking.html">Purchasing &amp; Booking</a></li>
      <li><a href="http://www.wengerfeeds.wordpress.com">Knowledge Center</a></li>
      <li><a href="grain.html">Grain Receiving</a></li>
    </ul>
      </li>
      <li><a href="http://www.wengerfeeds.info">Markets</a></li>
      <li><a href="opps.html">Opportunities</a>
    <ul>
      <li><a href="careers.html">Career</a></li>
      <li><a href="contracts.html">Contracts</a></li>
    </ul>
      </li>
      <li><a href="contact.html">Contact Us</a></li>
    </ul>
    <script type="text/javascript">
    var MenuBar = new Spry.Widget.MenuBar2("#MenuBar", {
          widgetID: "MenuBar",
          widgetClass: "MenuBar  MenuBarRightShrink",
          insertMenuBarBreak: true,
          mainMenuShowDelay: 100,
          mainMenuHideDelay: 200,
          subMenuShowDelay: 200,
          subMenuHideDelay: 200
    </script></div>

    Thanks, Gary. Thanks for the reply. I appreciate it.
    It felt like it wasn't finding the js, but I didn't know why. It turns out my host didn't like the folder name. When you download the folder for the Spry 2.0 menu from the widget browser, all your js and css is stored in a folder named "Spry-UI-1.7." The menu worked locally, but once I loaded it, my server didn't like the folder name. I renamed the folder "Spry" and reset the paths, and it worked. I'm posting this here in case anyone else has this problem. Cheers

  • Javascript-based multi-parameter bookmarks not working in firefox 13

    I have a [http://lifehacker.com/240552/firefox-tip--how-to-set-up-multi+parameter-keyword-searches javascript-based multiparameter bookmark]. Think of it like this: use a keyword to call in the search, then put in two parameters (say, zip code and type of forecast) and it goes straight to the page (my zip code, 7-day. or parents' zip code, hourly) in one shot.
    It's sometimes stopped working recently, and I think it's been since I upgraded to FF13. By 'not working' i mean I can restore the bookmark;s "location" to what used to work, and then the shortcut works just fine until .... I don't know. Usually closing firefox and reopening it again and then trying to use the bookmark will cause the browser to just sit there with the entire javascript string in the subject bar.

    From my observations, it seems that it doesn't work on newly opened tabs, tabs where you didn't visited a single site. After I visited one random site on that tab, and entered the search keyword and parameters, it worked. It also works on the initial start page, because it's about:blank I guess.
    (firefox 13.0.1, linux)

  • JavaScript (College email in ANGEL) not working Firefox 7

    All of my classmates are not able to send email via ANGEL (our course management system). Most of them use Firefox exclusively so it has caused them to have to download IE 9 just to send email (EW!). I have been working to fix the issue but just cannot find the problem. I downloaded a new java extension, when that did not work I searched the forums and they told me to go directly to java.com and get the latest version, so I did:
    ''Your Java is Working! Latest Java Installed!
    Version: Java SE 6 Update 27
    Operating System: Windows 7 6.1
    Architecture: x86
    That did not work either. I have searched the forums but am out of ideas.
    When I try to send an email the window freezes and then this window pops up:
    ''A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
    Script: https://cms.psu.edu/jscript/yahoo/utilities/utilities.js:9''
    If I stop the script the window closes if I continue it just repeats the above issue.
    I found a help article that explains java is different that javascript but it didn't really explain how to troubleshoot the latter.
    Thanks for your help guys! I am sure my school will appreciate it :)
    Jen

    Hi, I was having the same problem. I called a tech guy and he said it might be an issue with your version of firefox.
    To check your version hit Help at the top and click About Mozilla Firefox.
    Right under the firefox logo it should say it's version number. I had version 7.0.something.
    He told me to download version 3.6
    Which you can download here:
    http://www.mozilla.org/en-US/firefox/all-older.html
    Then log in using that and it should resolve your issue. It solved mine.
    Best of luck!

  • Twitter API and Edge Animate not working

    Hi,
    I have watched great video about using Twitter API in Edge Animate on Adobe TV and I thought I would give it a go.
    I followed the steps and unfortunately it's not working for me.... Not even an error message when tested in a browser, nothing...
    Here's my code for compositionReady:
    try {
        // Read tweets, set number of tweets to display
        var 0 = { username: "adobeedge", count: 4};
        var twitterUrl = "http://api.twitter.com/1/statuses/user_timeline.json?screen_name="+o.username+"&count="+o.count;
        // AJAX function for communicating to Twitter API
        $.ajax( {url: twitterUrl, dataType: "jsonp"} )
            .success(function(data) {
            $.each(data, function(index, item) {
                var itemRenderer = sym.createChildSymbol("itemRenderer", "tweetContainer");
                itemRenderer.$("tweet").html( item.text );
                itemRenderer.$("image").css("background-image", "url("+item.user.profile_image_url+")");
    catch(error) {
            alert("Error: "+error.toString());
    Any suggestions?

    Please, could you replace "adobeedge" by "adobeanimate".
    Before:
    After:
    try {
                var o = { username: 'edgeanimate', count: 4 };
                var twitterUrl = 'http://api.twitter.com/1/statuses/user_timeline.json?screen_name='+o.username+'&count='+o.count;
                $.ajax({url: twitterUrl, dataType: 'jsonp'})
                    .success(function(data) {
                       $.each(data, function(index, item){
                            var itemRenderer = sym.createChildSymbol("itemRenderer", "tweetContainer");
                            itemRenderer.$('tweet').html( item.text );
                            itemRenderer.$('image').css( "background-image", "url("+item.user.profile_image_url+")" );
                            itemRenderer.play( index * -100 );
    catch(error) { alert("Error: "+error.toString()); }

  • Add reference to winSCP not working in Production

    Hi,
    I have basic knowledge in c#, I'm developing a website by using visual studio 2012, one fuction is to sftp file to remote server, I noticed that sftp is not supported by asp.net, I downloaded third party dll file (winSCP), in the visual studio I did add
    reference to the dll file and I could sftp and work normally. but then when I needed to transfer my website to the production server, I got error below:
    Compiler Error Message: CS0246: The type or namespace name 'WinSCP' could not be found (are you missing a using directive or an assembly reference?)
    Line 10: using System.IO;
    Line 11: using System.Xml.XPath;
    Line 12: using WinSCP;
    Line 13: using System.Web.SessionState;
    Line 14: using System.Threading;
    C:\Windows\SysWOW64\inetsrv> "C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe" /t:library /utf8output /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.DynamicData\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.DynamicData.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.Web.PageInspector.Loader\v4.0_1.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Web.PageInspector.Loader.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Web\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activities.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Deployment\v4.0_2.0.0.0__31bf3856ad364e35\System.Web.WebPages.Deployment.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activation.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Entity\v4.0_4.0.0.0__b77a5c561934e089\System.Web.Entity.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Deployment\v4.0_1.0.0.0__31bf3856ad364e35\System.Web.WebPages.Deployment.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.Activities.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.Web.PageInspector.Runtime\v4.0_1.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Web.PageInspector.Runtime.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.WorkflowServices\v4.0_4.0.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /out:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\07c93e6a\1853e4e4\App_Web_1p011v4r.dll" /D:DEBUG /debug+ /optimize- /w:4 /nowarn:1659;1699;1701;612;618 /warnaserror- "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\07c93e6a\1853e4e4\App_Web_1p011v4r.13.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\07c93e6a\1853e4e4\App_Web_1p011v4r.3.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\07c93e6a\1853e4e4\App_Web_1p011v4r.1.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\07c93e6a\1853e4e4\App_Web_1p011v4r.18.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\07c93e6a\1853e4e4\App_Web_1p011v4r.11.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\07c93e6a\1853e4e4\App_Web_1p011v4r.6.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\07c93e6a\1853e4e4\App_Web_1p011v4r.4.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\07c93e6a\1853e4e4\App_Web_1p011v4r.16.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\07c93e6a\1853e4e4\App_Web_1p011v4r.5.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\07c93e6a\1853e4e4\App_Web_1p011v4r.14.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\07c93e6a\1853e4e4\App_Web_1p011v4r.2.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\07c93e6a\1853e4e4\App_Web_1p011v4r.0.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\07c93e6a\1853e4e4\App_Web_1p011v4r.12.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\07c93e6a\1853e4e4\App_Web_1p011v4r.17.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\07c93e6a\1853e4e4\App_Web_1p011v4r.7.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\07c93e6a\1853e4e4\App_Web_1p011v4r.10.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\07c93e6a\1853e4e4\App_Web_1p011v4r.15.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\07c93e6a\1853e4e4\App_Web_1p011v4r.9.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\07c93e6a\1853e4e4\App_Web_1p011v4r.8.cs"
    Microsoft (R) Visual C# Compiler version 4.0.30319.18408
    for Microsoft (R) .NET Framework 4.5
    Copyright (C) Microsoft Corporation. All rights reserved.
    d:\inetpub\wwwroot\Dev_Final\intermediateLoad.aspx.cs(12,7): error CS0246: The type or namespace name 'WinSCP' could not be found (are you missing a using directive or an assembly reference?)
    d:\inetpub\wwwroot\Dev_Final\Profile_result.aspx.cs(12,7): error CS0246: The type or namespace name 'WinSCP' could not be found (are you missing a using directive or an assembly reference?)
    d:\inetpub\wwwroot\Dev_Final\Search.aspx.cs(12,7): error CS0246: The type or namespace name 'WinSCP' could not be found (are you missing a using directive or an assembly reference?)
    Please I need your help ... thanks a lot in advance,
    Firas

    Hi Firas,
    Thank you for posting in MSDN forum.
    Since this forum is to discuss this Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.
    As you said the issue, since it is related to this ASP.NET website, so I suggest you could post this issue directly to the ASP.NET forum:http://forums.asp.net/ , you will get better support.
    Thanks for your understanding.
    Best Regards,
    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.

  • UI API GetFormLicenseStatus function is not working

    Hi everyone,
    I am working on an Add-on with B1 2005A SP01 PL16. I just found that the UI API function GetFormLicenseStatus always returns "ls_FullLicense" whenever the connected has the permission or not. Is it a bug?
    David

    Hi David,
    I haven't tested this method, maybe you can show as your code.
    But if you see the answer is always the same one please create a message for support, they will give you more information about it.
    Please don't forget this is only  a discussion forum and problems must be reported to support in order to be fixed by development.
    Regards
    Trinidad.

  • Image display reference control still not working

    Has anyone looked at the Image Display referece control bug? I still can't pass an image display reference to a sub VI since the front panel control in the subVI generates this error:
    "The control requires an external library for its operation. This library is not installed, is not installed to the correct location, or is not loadable, or the library's version is not high enough."
    I know there's some cludgy ways around it (passing panel reference, demoting reference class to 'control' and back), but it seems like such a simple thing to fix that would already have been fixed unless no one's working on it.
    Attachments:
    ImageRefError.vi ‏37 KB

    Hello eaolson,
    Unfortunately, this bug (CAR# 3R1F8KRJ) has not been fixed in LabVIEW 8.5.  The attached VIs, however, do provide a workaround.  The main VI contains an Image control.  The sub VI has a Generic Control Reference Input to which the Image Control Reference is wired.  In the sub VI, a "to more specific class" function is used to get the full properties list for an Imagecontrol. 
    Please note that, according to R&D, this workaround is ineffective when built into an executable.
    I apologize for the inconvenience this bug may cause.  We are aware of the issue and working to resolve the problem.
    Best Regards,
    T. McCarty
    Attachments:
    Main.vi ‏40 KB
    sub.vi ‏10 KB

  • Javascript in acrobat form field not working on IOS

    Can anyone help me with this script. I have found online. It works on MAC but not on iOS?
    its for an acrobat form field, to make cursor at end of text box jump to next.
    'if ( event.fieldFull || event.willCommit ) this.getField("Text1").setFocus();'
    I AM NOT A CODER!
    thanks
    KL

    in acrobat,

  • Mdm abap api retrieve method does not work properly

    Lets say i have
    in a qualified flat lookup several qualifiers.
    i try to get the table using the following code:
      loop at wa_contract_data-CONT_REMINDER into ls_qual_link.
                      wa_keys_reminder = ls_qual_link-QUALIFIED_link_ID.
                      append wa_keys_reminder to lt_keys_reminder.
                CALL METHOD g_mdm_api->mo_core_service->retrieve_simple
                      EXPORTING
                      iv_object_type_code = 'TBL_REM'
                      it_keys = lt_keys_reminder
                      IMPORTING
                      et_ddic_structure = lt_remainder_data.
    endloop.
    finally lt_remainder_data contains only the non qualifier, but not the maintained data of the qualifiers.
    what confuses me is that some fields are even not transfered at all.
    does anyone know how to get what i would expect: the actual data of all other fields?
    Thanks.
    Gideon

    Hi Gideon,
    I have used ABAP API's to successfully retrieve the data from the MDM into a DDIC structure in ECC side using the program Retrive Simple.
    I had followed the webinar by Klaus David. Here is the link for the same:
    ABAP API for SAP NetWeaver Master Data Management - Webinar Replay
    PPT:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/601ddb01-e5c8-2910-d981-b190b51fca44
    Webinar Replay
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00dd47bd-f2f1-2910-5eab-e9ca52465ae4
    These links will take you through the configs, Sample source code for Retrieving data etc using both Retrive Simple & Retrive.
    May be there is a problem with the DDIC that you have designed. ( the data types etc.)
    Here are some additional links:
    Master Data Management ABAP API Overview:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/00c49ffb-e5e5-2910-73ba-c85af1da5b0a
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/tip%2b%2bMDM%2bABAP-API%2b%2bThings%2bto%2bRemember%2b(for%2bStarters)
    Kindly go through the links to figure out the problem.
    Hope it helps.
    Thanks and Regards
    Nitin Jain

Maybe you are looking for