Same code - different outcome

I've copied a code (AS3) from one FLA-file and pasted it into
an other FLA-file.
The reason for this was to not write the code all over again
(timesaving, huh?).
The code is used for loading a xml-file, extracting the data,
loading the url-paths in the xml-file and place the loaded contents
into thumbnails on the stage.
Although the thumbnails are a bit different from the FLA-file
where the code is copied from the path still remain.
The path for the loaded contents to be placed is 'contArray
.cont_'.
The thumbnail-names is 'th_0', 'th_1', etc. so the path is
like 'th_0.cont_', 'th_1.cont_', etc.
The code:

The background attached to the body tag like that without being absolute positioned will appear at the bottom of the content, not necessarily the page. The home page is too short for that to stick to the bottom. You should try adding the background into the html tag, instead of body and setting the height to 100%. This could solve it.
html {
          background-color: #383637;
          background-image: url(Images/All-Background-Image.jpg);
          background-repeat: no-repeat;
          background-position: center bottom;
          margin: 0px;
          padding: 0px;
          height:100%;

Similar Messages

  • Background Position: 2 pages, same code, different outcome...

    Hey guys,
        I have finished a site that uses the code following CSS:
    body {
              background-color: #383637;
              background-image: url(Images/All-Background-Image.jpg);
              background-repeat: no-repeat;
              background-position: center bottom;
              margin: 0px;
        padding: 0px;
    This code is the same across all pages yet on the index the background does not position itself at the bottom of the screen, it only centers itself, all of the other pages work. Here is the site:
    http://christianstest.info//CherryHillRecreation/Grangerfun.com/Live%20to%20Web/index.html
    You can click the blue tabs to see what I mean... I only noticed it on a screen with a resolution with a height of more than 800pixals, otherwise you can't tell I don't believe... any Ideas why this is happening?

    The background attached to the body tag like that without being absolute positioned will appear at the bottom of the content, not necessarily the page. The home page is too short for that to stick to the bottom. You should try adding the background into the html tag, instead of body and setting the height to 100%. This could solve it.
    html {
              background-color: #383637;
              background-image: url(Images/All-Background-Image.jpg);
              background-repeat: no-repeat;
              background-position: center bottom;
              margin: 0px;
              padding: 0px;
              height:100%;

  • Same code, different positioning

    Hello,
    I am a fairly new person to web design. I was working on a project for my uncle, and for some reason with the same code I got different results on different browsers.
    Here's what I mean:
    1) Chrome
    2) Mozilla
    #1 "read more..." is positioned higher than #2 "read more..."
    I used relative positioning on the parent ( banner ) and absolute positioning on the child ( text ). Does anyone know what could be the problem here? Thank you!

    To add to what John said, are you sure this isn't just browser variation?   You're never going to get pixel perfect precision across all browsers, web devices or even different versions of the same browsers.  If you look hard enough you will invariably see some differences.  That's what makes web development so challenging.
    If things go terribly wrong, check your code for errors and fix them. 
    CSS - http://jigsaw.w3.org/css-validator/
    HTML - http://validator.w3.org/
    Nancy O.

  • Same code; different response

    I am using an extremely simple script that I've used at least
    a half dozen times on different projects and it has always worked
    before. Spent hours re-pasting code, trying variations and this
    stupid thing won't work. There's an iTunes gift certificate for the
    first person that helps me solve this insane dilemma. Here's the
    code:
    menu buttons:
    on(release) {
    _root.link=1;
    _root.play();
    Main timeline rolls and encounters this script:
    label="m" + _root.link;
    gotoAndPlay(label);
    So in this case it should jump to frame label "m1"
    but the code is just ignored.
    As I mentioned, I have this working in about 6 different
    projects and it always functions. I have copied and pasted the code
    over and over, trying to find the bug. Completely lost.

    I tried quickly adding
    _root
    to
    _root.gotoAndPlay(label)
    And it works fine! Amazing how I never needed that before and
    all of the other files still function. Chalk it up to bugs in the
    software I guess. Seen enough with this dodgy program over the
    years!

  • Same code, different result

    I have been using Javascript to create popups in Creator using the onclick property of a button or hyperlink.
    Today any popups created fail with the message:
    HTTP Status 500 -
    type Exception report
    message description The server encountered an internal error () that prevented it from fulfilling this request.
    exception javax.servlet.ServletException: Cannot find FacesContext
    Strangely the popups created earlier still work OK.
    How can Creator cause code that works in older pages not work when cut and pasted into new pages?
    After all the Javascript is standard stuff widely used across the web.
    In the <head> tag I have
    <script Language="JavaScript1.2">
                    function popup(url, name, left, top, width, height)
                    settings=
                    "toolbar=no,location=no,directories=no,"+
                    "status=no,menubar=no,scrollbars=yes,"+
                    "left="+left+",top="+top+","+
                    "resizable=yes,width="+width+",height="+height;
                    MyNewWindow=window.open(url,name,settings);
                    MyNewWindow.focus();
                </script>          and in the link the code is
    <h:outputLink binding="#{yayw$yayw13Content.yw13hyperlink6}" id="yw13hyperlink6"
                    onclick="popup('AidPopup.jsp', 'WinKC6', 150, 250, 600, 200); return false;" styleClass="tabProps">
                    <h:outputText binding="#{yayw$yayw13Content.ywhyperlink6Text}" id="ywhyperlink6Text" styleClass="cmdLnk" value="#{c.w130}"/>
                </h:outputLink>where AidPopup.jsp is the jsp page tp pop up when called by the link.
    The calling page and the popup page are in the same folder.
    Thanks for any advice on this problem.
    John.

    It turns out the solution is that the full path to the popup file has to be given for the URL. So in the example above the code for the link should be
    <h:outputLink binding="#{exer$exer1Content.hyperlink1}" id="hyperlink1" onclick="popup('/attain/faces/exer/RefocusPop.jsp', 'WinRef', 150, 250, 600, 200); return false;">
       <h:outputText binding="#{exer$exer1Content.hyperlink1Text}" id="hyperlink1Text" value="#{es.ex1}"/>
    </h:outputLink>The project name is Attain and exer is a sub-directory containing the calling page and the RefocusPop.jsp.
    I'll leave it to someone at Sun to explain the mystery of why pages written up to a few days ago still work on the old code but new pages must use a full path for them to work.
    John.

  • Same image, same code, different results!!

    Hi,
    I have this HUGE dilema, the following works with a gif or a jpg image but the problem occurs in png images (the format I have chosen to create my images in).
    Here is the source code for the applet:
    * bufferstr.java
    * Created on 23 October 2003, 14:03
    * @author  Ahmed
    package Destruction_BufferStrategy;
    import java.awt.*;
    import java.awt.image.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class appletExecutor extends JApplet {
        private Image offs;
        private Graphics2D g2;
        ImageLoader imageStore;
        Game game;
        public void init() {
            imageStore = new AppletImageLoader();
            imageStore.prepareImage("car2dirty1.PNG");
            imageStore.prepareImage("car2dirty2.PNG");
            imageStore.prepareImage("car2dirty3.PNG");
            imageStore.prepareImage("car2dirty4.PNG");
            imageStore.prepareImage("car2dirty5.PNG");
            game = new Game(imageStore, this.getSize().width, this.getSize().height);
            super.getContentPane().add(game);
            game.startThread();
            game.createStrategy();
            game.requestFocus();
    }and here is the code for the application:
    * appExecutor.java
    * Created on 25 October 2003, 01:08
    package Destruction_BufferStrategy;
    * @author  Ahmed
    import java.awt.*;
    import java.awt.image.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class appExecutor extends JFrame {
        private Image offs;
        private Graphics2D g2;
        ImageLoader imageStore;
        Game game;
        public appExecutor() {
            super("Destruction Derby");
            setDefaultCloseOperation(super.EXIT_ON_CLOSE);
            setResizable(false);
            setBounds(0, 0, 600, 600);
            imageStore = new AppletImageLoader();
            imageStore.prepareImage("car2dirty1.PNG");
            imageStore.prepareImage("car2dirty2.PNG");
            imageStore.prepareImage("car2dirty3.PNG");
            imageStore.prepareImage("car2dirty4.PNG");
            imageStore.prepareImage("car2dirty5.PNG");
            game = new Game(imageStore, 600, 600);
            getContentPane().add(game);
            show();
            game.startThread();
            game.createStrategy();
        public static void main(String[] args) {
            new appExecutor();
    }if I use a jpg or a gif image, everything is as good as gold. However, when I use png images, this error occurs in the applet only:
    java.util.zip.ZipException: invalid stored block lengths
    at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:140)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
    at java.io.FilterInputStream.read(FilterInputStream.java:66)
    at com.sun.imageio.plugins.png.PNGImageReader.decodePass(PNGImageReader.java:1165)
    at com.sun.imageio.plugins.png.PNGImageReader.decodeImage(PNGImageReader.java:1276)
    at com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1362)
    at com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1530)
    at javax.imageio.ImageIO.read(ImageIO.java:1384)
    at javax.imageio.ImageIO.read(ImageIO.java:1348)
    at Destruction_BufferStrategy.AppletImageLoader.loadImage(AppletImageLoader.java:36)
    at Destruction_BufferStrategy.AppletImageLoader.prepareImage(AppletImageLoader.java:45)
    at Destruction_BufferStrategy.appletExecutor.init(appletExecutor.java:28)
    at sun.applet.AppletPanel.run(AppletPanel.java:347)
    at java.lang.Thread.run(Thread.java:536)
    Error Loading Image: car2dirty1.png
    the Error Loading Image: car2dirty1.png is from my Loading Images class which abuse so kindly showed me the light to.
    any help on this issue is of great appreciatence..
    P.S. the error occurs for every image, not just this one!!

    You don't actually show the method you are using to load your image, however from the error msg, I assume you are using ImageIO.read().
    What version of JRE are you using?
    The reason I ask, is because the error you are getting seems to be occuring at quite low-level; the only potencial cause I know of (outside an error of your creation) is the ImageIO loader in 1.4.0 is buggy/broken when dealing with small images.

  • Same code, different result (load the library...)

    I have to use external library. So I programmed short code. But...
    It's work in Illustrator CS3
    var samplelib= 'C:/Program Files (x86)/Adobe/Adobe Bridge CS3/webaccesslib.dll';
    mylib = new ExternalObject ("lib:" + samplelib);
    alert(mylib.version) ;
    It's NOT WORK in Illustrator CS5
    var samplelib= 'C:/Program Files (x86)/Adobe/Adobe Bridge CS5/webaccesslib.dll';
    mylib = new ExternalObject ("lib:" + samplelib);
    alert(mylib.version) ;
    Extend Script Toolkit talk to me : 'I/O error'(i uploded capture image below)
    I don't know what I missed. Could you let me know what I wrong?
    Thank you for reading.
    p.s. I'm using windows7.

    Hi kimDino8,
    Can you check the file path again?
    In my opinion the path should be (sorry, I can't check this here at home - perhaps this is the path for CS5.5):
    var samplelib= 'C:/Program Files (x86)/Adobe/Adobe Bridge CS5.1/webaccesslib.dll';

  • Two different vendor supplier for the same code

    Hi,
    We have the two different suppliers supply the material with same code with different values,
    since they are customized products as per customer requirement,we are stuck up with how could it map into the BOM,
    PPC persons always try it with change BOM or change in order,
    How could be simplified?
    With Regards,
    Devendra

    Hello Devendra
    On the standard ERP, there is no way to map this scenario, however, using the DIMP industry solution there is a functionality called Parts Interchangeability.
    Take a look on the following links where this functionality is described:
    A&amp;amp;D Manufacturer Part Number - Discrete Industries and Mill Products - SAP Library
    Interchangeable Manufacturer Parts in MRP - Parts Interchangeability - SAP Library
    BR
    Caetano

  • The same code behaving different in two files.

    The same code behaving different in two files.
    in pro*c file it is returning rows
    in sql file it is not returning any rows.
    please suggest me.
    regards,
    prasad.

    please find the code.
    sql_stmt := 'SELECT rNum, dpcCode, sID, hDate, fBlock, '||
    'lBlock, recQty, fID, fName, ' ||
    'tSeqNo, sType, tDate, fStatCode, pDate, recCount, r ' ||
    'FROM (SELECT rownum rNum, DPC_CODE_ORIG dpcCode, ' ||
    'SENSOR_ID sID, ' ||
    'to_char(HEADER_DATE, ''YYYYMMDDHH24MISS'') hDate, ' ||
    'FIRST_BLOCK_NUMBER fBlock, ' ||
    'LAST_BLOCK_NUMBER lBlock, ' ||
    'RECORD_QUANTITY recQty, ' ||
    'FILE_ID fID, ' ||
    'substr(FILE_NAME,1,30) fName, ' ||
    'TRACE_SEQUENCE_NO tSeqNo, ' ||
    'SENSOR_TYPE sType, ' ||
    'to_char(TRAILER_DATE, ''YYYYMMDDHH24MISS'') tdate, ' ||
    'NVL(FILE_STATUS_CODE, ''NL'') fStatCode, ' ||
    'to_char(PROCESSED_DATE, ''YYYYMMDDHH24MISS'') pDate, '||
    'NVL(RECIRCULATE_COUNT,0) recCount, ' ||
    'ROW_NUMBER() ' ||
    'OVER(ORDER BY TRAILER_DATE DESC, LAST_BLOCK_NUMBER DESC) r ' ||
    'FROM logfc10t ' ||
    'WHERE DPC_CODE_ORIG = :IN_DPC_CODE ' ||
    'AND SENSOR_ID = :IN_SENSOR_ID ' ||
    'AND (((TRAILER_DATE <= TO_DATE(:IN_TRAILER_DATE, ''YYYYMMDDHH24MISS''))' ||
    ' AND (LAST_BLOCK_NUMBER < :IN_BLOCK_NUMBER)) ' ||
    ' OR (TRAILER_DATE < TO_DATE(:IN_TRAILER_DATE, ''YYYYMMDDHH24MISS'')))) ' ||
    'WHERE r = 1 ';

  • Same code gives different results in Matlab Script in Labview and Matlab

    I am implemeting a Matlab code into a LabVIEW application using Matlab script. When I import the exactly same code to the Matlab Script in LabVIEW it gives a different result than it is in Matlab. This code is a simulation code including first kind bessel functions. Using LabVIEW 7.1 and Matlab R14 service pack 3.

    Labview 8.5
    Matlab R2009b
    Attached are the graphs produced by matlab script in labview and in matlab.
    The minimum of graph produced by matlab code is below 1 and that in labview is above 1.
    Thanks a lot for your reply.
    Sorry, I haven't quantified the "sometimes" yet. 
    Attachments:
    matlabsResult.jpg ‏29 KB
    LV.png ‏84 KB

  • Drawing images gives 2 different results with the same code.

    Im adding my code on here, and its sort of long but ill try to explain it. Most of it you can ignore.
    Anyway i'm making a tree menu with only 1 level of expansion. So you have a TreeMenu object, and this object has some Branch classes. These Branch classes have Leaf classes. That is all. On the menu there is also a little box where you can click to expand and collapse each branch. if a branch is expanded, all of its leaves are shown. if it is collapsed only the branch name is shown.
    So far what I've described above works, there is a small scale compilable working program, that is alright. Theres just a few bugs to fix.
    A little feature of the tree is if a branch or a leaf is selected (has been clicked on in the past) it has a blue background. This sort of works. The branch names seem to work alright, and some of the leaves. However other if you run the example i provided you can click on Leaf 1, and it will be ok, but if you click on Leaf 2 then there blue background is twice as big as it should be. But for the rest, it works ok.
    This is weird to me because the same code handles any of these same situations. So it seems that i get 2 diferent results with the same code. If anyone would like to help heres some stuff you should know:
    You can ignore Leaf class, i dont think theres any errors in there.
    You can ignore just about all of Branch class except the update() method.
    You can ignore all of TreeMenu class except the inner MouseListener class might be useful.
    You can ignore TreeTester. Just the JFrame tester class.
    to run the code:
    javac TreeMenu.java
    java TreeMenu
    http://cs.ucsb.edu/~jsterling/treemenu.zip
    thanks.

    You make a good point Stefan but unfortunately I already checked that.  I have even copied the mapping (right click copy) and pasted it from the working Mapping to the bad Map (Paste) to make sure the context values were all the same.
    I also opened all the queues and compared the values in each.  All values match exactly except for the result(out) queue.
    In both tests I am using the same IDOC XML file. 
    These are the only differences I see.
    1.  The IDOC is exactly the same as far as I can tell but they come from two different source SWCV.  SAP APPL 4.7 and Steelcase_Procurement (ECC 6.0). 
    2.  The working map uses a local UDF.  The bad map calls the UDF from a Function Group.  Is there a Java version difference between the two?
    A better sample of the result queues look like this:
    Correct Result:
    Thickness of Glass: 20
    Height: 10
    Width: 5
    Length: 18
    Thickness of Glass: 10
    Height: 15
    Width: 8
    Length: 14
    Bad Result:
    Thickness of Glass: 20
    <null>
    <null>
    <null>
    Width: 5
    <null>
    <null>
    <null>
    I took this chance to redesign my Variant Config output to separate the characteristics/values, but I'm still bothered that I was unable to determine what would cause the differing values.
    Any ideas?
    Thanks,
    Matt

  • Why differences in the way different machines handle the same code??

    OK, I've posted some other threads re some difficulties in getting the same code to function identically on, not only different platforms, but even on different machines running Windows!
    Here's another, and I would really appreciate an explanation:
    I have a tree control. Per the user's request, I made the right button function the same way it does on MS File Explorer: When they right click, the currently selected nodes are compared to the node they clicked over. If they clicked over a selected node, then the context menu for the nodes selected is displayed. If they clicked over a different node, then the selection is changed to the new node and the context menu displayed. If they right click over the tree control, but not a node in the tree, then the selection is cleared and no context menu is displayed.
    Works great on my machine.
    However, on some machines, no context menu is displayed, nor is the node selected... UNLESS THEY ALREADY HAVE A NODE SELECTED. I.e., if they have no nodes in the tree selected, they cannot display the context menu by right clicking on a node, nor does the selection change to the node they right click over. It only works if they already have something selected.
    My app is distributed as an executable jar file and I am distributing the JRE with it, so there are no class path issues or differences in the JDK. Basically, my problem can be paraphrased as: Why doesnt' Swing behave the same way on different machines...? At least why not the same on the eame machine.
    It's driving me nuts to think that I've resolved some UI glitch only to find out that, no, it's only fixed on some machines, not others.
    Thanks.

    Well, I normally develop on OSX and then deploy to Windows. But, this last build I have switched to Windows XP. The kinds of differences I am seeing are subtle: what triggers a repaint of the UI and now, it seems, what events are getting triggered by mouse clicks.
    My deployment is an executable jar file, therefore it uses the manifest in the jar, not any classpath variables. I deploy an entire JRE along with the app, and the bat file that launches the app ensures that is the JAVA_HOME I'm using.
    I can only guess that it's some underlying difference in versions of the platform and OS that causes this.
    Here's the entire code for this latest issue re the popups:
            private void maybeShowPopup(NodeInfoTree tree, MouseEvent e) {
                if (e.isPopupTrigger()) {
                    //  They clicked the platform dependent popup trigger...
                    int x = e.getX();
                    int y = e.getY();
                    TreePath[] selectedPaths = tree.getSelectionPaths();
                    if (selectedPaths == null) {
                        selectedPaths = new TreePath[0];
                    TreePath clickedPath = tree.getPathForLocation(x,y);
                    if (clickedPath == null) {
                        //  they right clicked, but not on a node, so clear the selection and return
                        tree.clearSelection();
                        return;
                    } else {
                        // They clicked on a path, so let's see if it is a selected
                        // node.  Search the selected array of paths, short circuiting
                        // out if it is found...
                        boolean foundInSelection = false;
                        for (int i=0; (!foundInSelection && (i < selectedPaths.length)); i++) {
                            foundInSelection = clickedPath.equals(selectedPaths);
    if (!foundInSelection) {
    // They right clicked elsewhere than the selection, so
    // reset the selection to the new path...
    tree.setSelectionPath(clickedPath);
    final TreePath menuPath;
    selectedPaths = tree.getSelectionPaths();
    if (selectedPaths == null) {
    return;
    } else {
    menuPath = selectedPaths[selectedPaths.length-1];
    // Since they did click on a node, now we need to determine
    // what popup menu should be displayed...
    tree.scrollPathToVisible(menuPath);
    NodeInfo ni = (NodeInfo) menuPath.getLastPathComponent();
    // If the last path component is null, then they don't have
    // anything selected, so we do nothing
    if (ni == null) return;
    // See if the Node is overriding our default popup menu...
    com.harcourt.applications.tgen.browser.nodes.NodeMenu nodeMenu = ni.getMenu();
    nodeMenu.activate(tree.getView(),ni);
    JPopupMenu popup = (JPopupMenu) nodeMenu;
    if (popup != null) {
    popup.show(e.getComponent(),
    e.getX(), e.getY());
    The nodeMenu.activate call is just used to check whether or not certain menu options need to be enabled or disabled before displaying the menu. My theory right now is that, on some of these machines (all windows), a right click of the mouse is not generating a mouse event unless they have already something selected. I don't think it's a focus issue, because if they left click to select a node, and then ctrl-left click to de-select it, the right button then no longer generates a popup menu. They must select a node, then right click. Maybe there's no mouse event generated, or maybe this line is failing on some machines?:
    TreePath clickedPath = tree.getPathForLocation(x,y);

  • Running the same code multiple times with different paramters automatica​lly

    Hi guys,
    I want to run the same code multiple times with different paramters automatically. Actually, I am doing some sample scans which takes around 2 hours n then I have to be there to change the paramters and run it again. Mostly I do use folowing paramters only
    X_Intial, X_Final, X-StepSize
    Y_Intial, Y_Final, Y-StepSize
       Thanks,
    Dushyant

    All you have to di is put all of the parameters for each run into a cluster array. Surround your main program with a for loop and wire the cluster array through the for loop. A for loop will autoindex an input array so inside the for loop you just have to unbundle the cluster to get the parameters for each run.
    Message Edited by Dennis Knutson on 07-13-2006 07:50 AM
    Attachments:
    Cluster Array.JPG ‏9 KB

  • Pls Help! Drag and Drop problem, identical symbols acting differently - same code! WHY?

    In the attached file, I have a series of symbols that have a drag and drop command to change colour at different sections of a bullseye, and that are also text editable (html).
    However, some of the symbols get stuck and will not be moved after moving once or at all, and some get stuck once their text has been edited.
    I have poured over the code and it appears to be the same for each symbol - can anyone explain as to why this is happening?
    I also cannot now edit the text properly on the ipad (it is really fiddly to change between different symbols to edit their text -- is there maybe a better way to do this? A button to change between symbols to then edit their text, can you help with this too?)
    THANK YOU SO MUCH!!!
    File here:
    https://www.dropbox.com/s/g71gnfichjgyehn/NEW%20RISK%20RADAR.zip

    Hi, I think I undertsand what you mean now, so the code is as below, btu I am not sure what a handler is? but some of my risks still get stuck once the text has been changed on them:
    // Use for loop for attr
    // deleted  yepnope since you load with scropt loading
    // added pos for each symbol so we can replace them there.
    document.ontouchmove = function(e) {
            e.preventDefault();
    var risk = ;
    var Pos = [
    {'x':-9,'y':806},
    {'x':27,'y':854},
    {'x':72,'y':894},
    {'x':71,'y':934},
    {'x':231,'y':811},
    {'x':231,'y':853},
    {'x':231,'y':894},
    {'x':231,'y':934},
    {'x':388,'y':811},
    {'x':388,'y':852},
    {'x':388,'y':893},
    {'x':388,'y':934},
    {'x':543,'y':811},
    {'x':543,'y':853},
    {'x':543,'y':893},
    {'x':543,'y':934}
    var myText = ; 
    for (i=0;i<risk.length;i++){
    sym.getSymbol(risk[i]).$(risk[i]).attr("contenteditable",true);
    sym.$('Quadrant_text').attr("contenteditable",true);
    sym.$('Quadrant1_text').attr("contenteditable",true);
    sym.$('Quadrant2_text').attr("contenteditable",true);
    sym.$('Quadrant3_text').attr("contenteditable",true);
    // apply the draggable JQuery UI plugin to the MyDraggableSymbol symbol on your stage
    sym.$('Risk1').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk1").stop("Initial");
      sym.setVariable("symName","Risk1");
    //adding for risk3_orange similarly add for other symbols
    sym.$('Risk1').draggable();
    sym.getSymbol('Risk1').$("Risk1").bind('click tap',function(ev) {
         sym.$('Risk1').draggable('disable');
    }).unbind('dblclick tap',function(ev) {
         sym.$('Risk1').draggable('enable');
    sym.$('Risk2').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk2").stop("Initial");
      sym.setVariable("symName","Risk2");
    //adding for Risk2 similarly add for other symbols
    sym.$('Risk2').draggable();
    sym.getSymbol('Risk2').$("Risk2").bind('click tap',function(ev) {
         sym.$('Risk2').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk2').draggable('enable');
    sym.$('Risk3').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk3").stop("Initial");
      sym.setVariable("symName","Risk3");
    //adding for Risk3 similarly add for other symbols
    sym.$('Risk3').draggable();
    sym.getSymbol('Risk3').$("Risk3").bind('click tap',function(ev) {
         sym.$('Risk3').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk3').draggable('enable');
    sym.$('Risk4').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk4").stop("Initial");
      sym.setVariable("symName","Risk4");
    //adding for Risk4 similarly add for other symbols
    sym.$('Risk4').draggable();
    sym.getSymbol('Risk4').$("Risk4").bind('click tap',function(ev) {
         sym.$('Risk4').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk4').draggable('enable');
    sym.$('Risk5').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk5").stop("Initial");
      sym.setVariable("symName","Risk5");
    //adding for Risk5 similarly add for other symbols
    sym.$('Risk5').draggable();
    sym.getSymbol('Risk5').$("Risk5").bind('click tap',function(ev) {
         sym.$('Risk5').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk5').draggable('enable');
    sym.$('Risk6').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk6").stop("Initial");
      sym.setVariable("symName","Risk6");
    //adding for Risk6 similarly add for other symbols
    sym.$('Risk6').draggable();
    sym.getSymbol('Risk6').$("Risk6").bind('click tap',function(ev) {
         sym.$('Risk6').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk6').draggable('enable');
    sym.$('Risk7').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk7").stop("Initial");
      sym.setVariable("symName","Risk7");
    //adding for Risk7 similarly add for other symbols
    sym.$('Risk7').draggable();
    sym.getSymbol('Risk7').$("Risk7").bind('click tap',function(ev) {
         sym.$('Risk7').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk7').draggable('enable');
    sym.$('Risk8').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk8").stop("Initial");
      sym.setVariable("symName","Risk8");
    //adding for Risk8 similarly add for other symbols
    sym.$('Risk8').draggable();
    sym.getSymbol('Risk8').$("Risk8").bind('click tap',function(ev) {
         sym.$('Risk8').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk8').draggable('enable');
    sym.$('Risk9').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk9").stop("Initial");
      sym.setVariable("symName","Risk9");
    //adding for Risk9 similarly add for other symbols
    sym.$('Risk9').draggable();
    sym.getSymbol('Risk9').$("Risk9").bind('click tap',function(ev) {
         sym.$('Risk9').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk9').draggable('enable');
    sym.$('Risk10').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk10").stop("Initial");
      sym.setVariable("symName","Risk10");
    //adding for Risk10 similarly add for other symbols
    sym.$('Risk10').draggable();
    sym.getSymbol('Risk10').$("Risk10").bind('click tap',function(ev) {
         sym.$('Risk10').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk10').draggable('enable');
    sym.$('Risk11').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk11").stop("Initial");
      sym.setVariable("symName","Risk11");
    //adding for Risk11 similarly add for other symbols
    sym.$('Risk11').draggable();
    sym.getSymbol('Risk11').$("Risk11").bind('click tap',function(ev) {
         sym.$('Risk11').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk11').draggable('enable');
    sym.$('Risk12').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk12").stop("Initial");
      sym.setVariable("symName","Risk12");
    //adding for Risk12 similarly add for other symbols
    sym.$('Risk12').draggable();
    sym.getSymbol('Risk12').$("Risk12").bind('click tap',function(ev) {
         sym.$('Risk12').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk12').draggable('enable');
    sym.$('Risk13').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk13").stop("Initial");
      sym.setVariable("symName","Risk13");
    //adding for Risk13 similarly add for other symbols
    sym.$('Risk13').draggable();
    sym.getSymbol('Risk13').$("Risk13").bind('click tap',function(ev) {
         sym.$('Risk13').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk13').draggable('enable');
    sym.$('Risk14').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk14").stop("Initial");
      sym.setVariable("symName","Risk14");
    //adding for Risk14 similarly add for other symbols
    sym.$('Risk14').draggable();
    sym.getSymbol('Risk14').$("Risk14").bind('click tap',function(ev) {
         sym.$('Risk14').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk14').draggable('enable');
    sym.$('Risk15').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk15").stop("Initial");
      sym.setVariable("symName","Risk15");
    //adding for Risk15 similarly add for other symbols
    sym.$('Risk15').draggable();
    sym.getSymbol('Risk15').$("Risk15").bind('click tap',function(ev) {
         sym.$('Risk15').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk15').draggable('enable');
    sym.$('Risk16').draggable(,
    drag: function(e,ui)
      sym.getSymbol("Risk16").stop("Initial");
      sym.setVariable("symName","Risk16");
    //adding for Risk16 similarly add for other symbols
    sym.$('Risk16').draggable();
    sym.getSymbol('Risk16').$("Risk16").bind('click tap',function(ev) {
         sym.$('Risk16').draggable('disable');
    }).bind('dblclick tap',function(ev) {
         sym.$('Risk16').draggable('enable');
    sym.getSymbol("Drop").$('Outer').droppable(
    sym.getSymbol("Drop").$('Middle').droppable(
    sym.getSymbol("Drop").$('Target').droppable(
    sym.$('resetBtn').click(function(){
      sym.$('Quadrant_text').html('Quadrant');
      sym.$('Quadrant1_text').html('Quadrant');
      sym.$('Quadrant2_text').html('Quadrant');
      sym.$('Quadrant3_text').html('Quadrant');
    for (i=0;i<risk.length;i++){
      sym.$(risk[i]).css({"left":Pos[i].x,"top":Pos[i].y,"position":"absolute"})
      sym.getSymbol(risk[i]).stop(0);
      sym.getSymbol(risk[i]).$(risk[i]).html("Challenge");
    But is still doesn't work,
    Subject: Re:  Pls Help! Drag and Drop problem, identical symbols acting differently - same code! WHY?

  • Is it possible to have different rendering for RI and Myfaces for same code

    Iam facing with a peculiar problem. I developed custom component using JSF technology. There is a different rendering when I used RI and Myfaces for the same code base. How to overcome such a problem. Please reply.
    Thanks in advance

    Hi, it is normal, the rendered classes for the standard component have been implemented differently, so you have some differences. Normally, they should follow the SUN requirement but every one can code that following its own interpretation.
    Your component is based on which standard component?

Maybe you are looking for

  • PDF Maker crashing Outlook 2013 in Windows 8.1

    I have: Windows 8.1 64-bit Outlook 2013 64-bit Adobe Acrobat XI Standard, 11.0.06 This is what I do: Start Outlook. Outllok crashes: Displays popup window saying "Microsoft Outlook has stopped working". The only option is "Close program" I click whic

  • HT201272 How do I get my music off the cloud and save to my iPad

    How do i get my music off of the cloud and saved onto my ipad?

  • Currency translation issue on SP08 when I use Force close option

    Hi, I am using three RATETYPES (AVG,END, HIST) in account dimension, Income and expenes accounts   - AVG BS accounts (except equity accounts) - END Equity account - HIST Business Rule Configuration 1) For AVG: AVG Rate ( In Formula) 2) For END Source

  • Albums in full

    when i look at the albums in full horizontal (when you can flick the album covers )the program shuts down and goes back to phone view now when look at them in the vertical its fine  i have reset the iphone  but it still does it

  • Poor video quality of Itunes Videos

    All of the videos purchased on Itunes look great...on my Ipod. When i try and view them on my 24" IMAC they look grainy and disgusting. Yes, I realize this is because the video is made to look good ont he Ipod, not the computer. My concern, however,


HashFlare