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%;

Similar Messages

  • 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%;

  • 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 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 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 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';

  • Same Code In 2 Different Pages Behaves Differently In Each

    I have a series of three pages such that each, when submitted, calls the next one.  The first page calls the second one correctly, but the second one calls only itself.  Both are using the same code.
    The form code for the first page is:
    <form name="form1" method="post" onSubmit="return show_message();" action="<?php echo $_SERVER['PHP_SELF']; ?>">
    At the top of the page is the following php script:
         In the first page (the one that works):
    if (isset($_POST['submit']))
         echo '<META http-equiv="refresh" content="0;URL=WOTCPg2.php">';     // This works
    //  header('Location: WOTCPg2.php');     // This was tried but didn't work
    ?>
         When the Submit button is pressed, the above code displays the next page, as it should.
         The form code for the second page is:
        <form  method="post" name="QstnrPg1" id="QstnrPg1" action="<?php echo $_SERVER['PHP_SELF']; ?>">
         In the second page is the following php script:
       <?php
    if (isset($_POST['submit']))
    //  header('Location: BlankIOD.php');     // this was tried but didn't work
      echo '<META http-equiv="refresh" content="0;URL=BlankIOD.php">';  // This doesn't work either (???)
    } else
         Other code that executes (correctly) when the form loads
         When the Submit button here is pressed, the form simply refreshes itself.  I can't understand why this is happening, since both pages have essentially the same code.  Can anyone tell me what I'm missing or doing wrong?

    Well, I just discovered something.  Here's a reversal of one of my previous threads (i.e. ... Works in Live View but not on the server.  The second page (above) still doesn't work in my local server (xampp), but just for kicks, I uploaded it to my Yahoo site and guess what? It works there.  Go figure!  I'd really like to know why that would be the case, because it's certainly causing me a lot of confusion.  Are there some xampp settings somewhere that I need to check on?

  • 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

  • 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?

  • How to link the same horizontal page for two different vertical pages without duplicate them?

    Hey guys,
    Is there a way to link the same horizontal page on two different vertical pages without duplicate the horizontal page?
    I have a doublepage of a book splitted in two parts in different vertical pages but i want link the fullsized image in the horizontal page for both of them. Got that? hahaha
    Thank you all

    Confusing But interesing.
    I think it's possible. I have a idea. It will need one advanced trick.
    To explain it, I need test simply haha.

  • Can I view another page from a different application in the same workspace?

    I'm a newbie and I've searched through the threads and can not find exactly what I'm looking for.
    I do not wish to copy a page from a different APP. What I want to do is create an application where on tab is actually a tab from a different App.
    Like this, I have SCHEDULED_TASKS application that has a calander that is updated weekly. I have another appliction that is used for our Database Testers to track testing on the database.
    I have a Tab in CAS_TESTING named TESTING_SCHEDULE. It is this tab that I want to have referance the SCHEDULED_TASKS Calender so testers can view the schedule for service packs.
    Is there a way that I can do this?
    Thanks,
    Mike Long
    Message was edited by:
    mikedlong

    Mike,
    In terms of the UI and tabs, you can use parent tabs (use a two-level tab page template). Or you could just put links in on app's pages that go to the other app using Lists, for example. In any of these links from one app to the other, you must include the session ID (&APP_SESSION.).
    If the application's are both public (no authentication required), you're done.
    If the apps require authentication, edit each app's authentication scheme and put some name in for cookie name (anything you like), using the same name in both apps. Depending on the authentication method, you then have to figure out who owns the login page, etc.
    That should do it.
    Scott

  • Page expire problem in one env of two environments having same code

    Hi,
    We have an web application deployed into two environments. The application versions and server versions are same in both environments. We are using sun one application server.
    When we click on back button (Say Env1) we are getting page exipre problem. The same code is working fine in other env (Say Env2).
    We have not coded anywhere to clear the client side information after it is displayed. It looks like there is some server setting using which we can specify not to save any information at client machine.
    Can any one of you help me in resolving this issue.
    Thanks in advance.
    K Vishnu Chaithanya

    http://support.microsoft.com/kb/234067
    http://lists.evolt.org/archive/Week-of-Mon-20040405/157547.html

  • 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 ';

Maybe you are looking for

  • HTML DB Installation problem on Linux

    I am installing HTML DB on a different ORACLE_HOME on Oracle 9.2.0.4 database. I am getting the following error in Enter HTMl DB Configuration Information window. The error mentions that SQLException error occurred while connection to database. On th

  • Java.sql.SQLException: Cannot disable AUTO_COMMIT

    Hi, I am getting "java.sql.SQLException: Cannot disable AUTO_COMMIT" exception when using mySQL with Weblogic 5.1 EJB (through org.gjt.mm.mysql.Driver JDBC driver). Can anybody help!!!!!! Thank you, Eric [email protected]

  • An Un-noted Bug, And A Question Or Two

    Hello. I heard about Adobe Digital Editions for the first time yesterday, downloaded it immediately, and spent the next 20 straight hours (yes, that's 20 as in two-oh) creating PDFs (using Office Word 2007's PDF-creating SAVE function), and trying th

  • Java Code To UML

    Hi All, I have 30 - > 40 classes and I want to know if there is a tool available which parses all the Java files and creates a UML diagram from it? It should run on Unix. All the tools I have seen and for UML - > Java. Any go the other way. Thanks

  • Hide a company to a windows group connect with trusted connection

    I mean, how can I do, to create two groups in the windows active directory, and do users member of the first group and other to the second groups. Now, when a user from the first group connect with client sap b1 with trusted connections doesn't see a