J2EE 7: Page shifting when image is expanded by a Zoom function

We have coded a button to change the size of a image for the purpose of zooming in and out and when the image reaches a size bigger than the monitor it makes the page shift. Scroll bars appear and move the page to the left scrolling right. This situation causes a set of buttons we have coded to perform menu functions to scroll out of view. We were not able to figure out how to build a menu using Java menu functions (Java menu class) so to get things done this is what we needed to do for our deadline. Coding a menu is not the problem. Getting it to work is. Anyway we need the page not to shift. What can we do to correct this problem. Thanks for any help given in advance.

Hi,
Are you using Creator 1 or Creator 2EA?
MJ

Similar Messages

  • Why do the pages shift (DWCS4)?

    I have set up a site in Dreamweaver and wonder why some of the pages shift slightly (and I don't like that) when you select them on the navigation bar and others do not? (When you click from Retailer to Developer, the page shifts; when you click from Developer to Research, it doesn't.)
    Thanks for you help. Here's the link:
    http://www.studiopgraphicdesign.com/sw/index.html

    That's often just a matter of some longer pages have a scrollbar and others don't.
    You can "force" a scrollbar on all pages with CSS.
    There are pros & cons with various solutions
    Here's one:
    html{
      overflow-y:scroll;

  • "Oslo.Master" set as the The default Master Page, but when record selected in "List View Web Part" page shifts to the right.

    Hi All,
    I have set "Oslo.Master" as the The default Master Page for the site.   I have a page with a List View web part and an InfoPath Web Part connected.  When the page loads is it displayed correctly.  However, when a record
    is selected and the infopath web part is updated, the content on the page shifts (indents) to the right.
    Is there something I am missing?   Does anyone know how to correct this?
    Thanks in Advance!

    Hi Dwayne,
    I could reproduce this, as a workaround, we can use javascript code as below to hide the element in the following image.
    <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
    <script>
    $(document).ready(function(){
    $('#contentBox').prev().hide();
    </script>
    Thanks
    Daniel Yang
    TechNet Community Support

  • -Why when I open same PDF in Photoshop in opens as blank page (all the graphic info disappears)??? -And why when I'm trying to measure a page in the "image size" (in order to send to client, for example) the graphic info disappears as well??

    -Why when I open same PDF in Photoshop in opens as blank page (all the graphic info disappears)???
    -And why when I'm trying to measure a page in the "image size" (in order to send to client, for example) the graphic info disappears as well??

    Hi Mac Attack,
    My computer will not disconnect from the internet.  It seems to find a clone router and continues even when I shut down and unplug my my own home iy
    Your main question was 'chopped' in the title. Please reply in the body of a reply box with the full question and anything you have tried. And no, the long report was not helpful .
    If the same website is opening each time you launch a browser (Safari?) hold down the shift key as you launch to prevent previous pages from opening.
    Have a look at your settings in Safari > Preferences. Especially General and Privacy.
    Reset Safari to remove cookies and other stored data.
    System Preferences > General
    Have a look at your settings in System Preferences >  Security & Privacy.
    Call back with more questions.
    Regards,
    Ian

  • Firefox stops responding when trying to "save page" or "save image"

    Windows 7 64 bit and Firefox 28. When trying to 'Save Page' or 'Save Image' the save dialogue window is nearly blank, then info bar shows 'not responding'. I have tried all the tips in the support pages. Resetting Firefox, Starting Firefox in 'Safe Mode'. Upgrading graphics driver to latest version. Turning off 'Hardware Acceleration' in options. Nothing resolves the problem. This issue has only recently started, the last time I tried saving an image it worked fine, certainly prior to Microsoft's most recent 'upgrade Tuesday'.
    Edit:
    Checked the save dates of the last images I successfully saved from within Firefox and compared them to my windows update log. The Microsoft March 'Update Tuesday' was installed on March 14th. My last successfully saved Firefox images were saved the following day on March 15th. Thus it is unlikely that the Firefox saving issue is a result of a Windows Update corruption. So the question is what changes have Mozilla made to Firefox between 15th and 24th March 2014 ???

    I understand that finding a root cause is ideal, and I would be happy to further investigate this with you.
    Since it is still happening in Safe Mode [https://support.mozilla.org/en-US/kb/troubleshoot-issues-with-plugins-fix-problems please try to troubleshoot the plugins and extensions]
    The other route is to troubleshoot the downloads folder and antivirus to make sure the downloading of the image is not having an issue either. [http://mzl.la/LJ0h2w]
    In the meantime there is an add on that enables this [https://addons.mozilla.org/en-US/firefox/addon/save-images/ Save Images]
    Please post back with your results, there have been other reports, but no issue filed yet.

  • I just upgraded to the latest software for my pages.  When I opened an old document it stripped out all the images I had in my tables.  How do I get them back

    I just upgraded to the latest software for my pages.  When I opened an old document it stripped out all the images I had in my tables.  How do I get them back

    Don't save. Close the documents.
    Pages '09 should still be in your Applications/iWork folder.
    Pages 5 will damage/alter older files, something Apple didn't tell its users.
    Pages 5 is a severely stripped down version with over 90+ features removed.
    We recommend trashing/archiving Pages 5 after Exporting any files you may have saved back to Pages '09.
    Also rate/review Pages 5 in the App store.
    Peter

  • What I'm trying to do is when I scroll down the page have the images that are on the page stay the same look as I scroll

    What I'm trying to do is when I scroll down the page have the images that are on the page stay the same look as I scroll

    Use the scroll motion tools and set the settings all to 0

  • Background image shifts when scrolling

    I have a background image on my pages but whenever I hard
    return several times, the image mysteriously shifts over by itself
    here are two different pages. The bg image can be found here:
    http:www.logicorehsv.com/img/bg.png
    PAGE A
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    body {
    background-color: #E8F1FA;
    background-image: url(img/bg.png);
    background-repeat: repeat-y;
    background-position: center;
    </style>
    </head>
    <body>
    </body>
    </html>
    PAGE B
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    body {
    background-color: #E8F1FA;
    background-image: url(img/bg.png);
    background-repeat: repeat-y;
    background-position: center;
    </style>
    </head>
    <body>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    <p> </p>
    </body>
    </html>
    WHAT IN THE NAME OF GREAT CAESAR'S GHOST IS GOING ON HERE??
    The background image on the second page SHIFTS over a few
    pixels simply because I hard returned several times. The completion
    of my entire site has been resting on this simple little headache.
    Please help....

    >>whenever I hard return several times
    Stop doing that. There is never a valid reason in a properly
    designed/constructed page to add empty paragraphs.
    Probably... after adding content, even empty paragraphs, the
    display window
    in DW design view drops a vertical scroll bar thereby
    changing the
    horizontal location of the page's middle. Your bg image is
    aligned middle so
    it moves.
    IOW there is no problem. Just build your page.
    Walt
    "logicore" <[email protected]> wrote in
    message
    news:[email protected]...
    >I have a background image on my pages but whenever I hard
    return several
    >times,
    > the image mysteriously shifts over by itself here are
    two different pages.
    > The
    > bg image can be found here:
    http:www.logicorehsv.com/img/bg.png
    >
    >
    PAGE A
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="
    http://www.w3.org/1999/xhtml">
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    > <title>Untitled Document</title>
    >
    >
    > <style type="text/css">
    > body {
    > background-color: #E8F1FA;
    > background-image: url(img/bg.png);
    > background-repeat: repeat-y;
    > background-position: center;
    > }
    > </style>
    > </head>
    >
    > <body>
    >
    > </body>
    > </html>
    >
    >
    >
    >
    PAGE B
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="
    http://www.w3.org/1999/xhtml">
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    > <title>Untitled Document</title>
    >
    >
    > <style type="text/css">
    > body {
    > background-color: #E8F1FA;
    > background-image: url(img/bg.png);
    > background-repeat: repeat-y;
    > background-position: center;
    > }
    > </style>
    > </head>
    >
    > <body>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > <p> </p>
    > </body>
    > </html>
    >
    > WHAT IN THE NAME OF GREAT CAESAR'S GHOST IS GOING ON
    HERE??
    >
    > The background image on the second page SHIFTS over a
    few pixels simply
    > because I hard returned several times. The completion of
    my entire site
    > has
    > been resting on this simple little headache.
    >
    > Please help....
    >

  • When i put firefox in offline mode, and then click on pages saved in history , it can't load any pages or any images. i put cach size to 250mb but the problem is the same, it saves history for two months, but can't load pages.

    when i put firefox in offline mode, and then click on pages saved in history , it can't load any pages or any images. i put cach size to 250mb but the problem is the same, it saves history for two months, but can't load pages.

    Hi there,
    When I inspect your site in browser tools, I'm getting 404 errors from your page:
    [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (jquery-2.0.3.min.map, line 0)
    [Error] Failed to load resource: the server responded with a status of 404 (Not Found) (edge.4.0.0.min.map, line 0)
    BarnardosIreland wrote:
    I would have thought that publishing should give a complete package that doesn't need any further edits to the code and can just be directly ftp'ed to the web - is this correct?
    In general, you are correct - but also your server does need to be properly configured (and those errors above lead me to think it may not be) to serve the file types that your uploading - but it could be something else entirely. Can you zip up your composition folder, upload it to your Creative Cloud files, set it to share, and then post a link here so I can download it? If you'd rather not share it publicly, can you PM me with a link to your composition files?
    Thanks,
    Joe

  • When i am typing in a browser window, my browser page shifts slightly, highlights in blue, and does not allow me to keep typing.  i have to keep clicking on the page to continue to type letter by letter...is there some function on that i don't know about?

    When I am typing in a browser window, my browser page shifts slightly, highlights in blue, and does not allow me to continue typing...i have to click in the browser to allow typing to continue...is there a function running that I don't know about?

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins and log in as Guest. For instructions, launch the System Preferences application, select Help from the menu bar, and enter “Set up a guest account” (without the quotes) in the search box.
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem(s)?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    Note: If you’ve activated “Find My Mac” or FileVault in Mac OS X 10.7 or later, then you can’t enable the Guest account. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem(s)?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

  • Whenever I go to a site the print gets smaller and the page shifts from left to right. I have tried everything but when I use Google Crome it always is fine. I like fowfire best and I was wondering if there is a promblem on your side.

    The page shifts to the right and it happens when I go on all sites but it doesnt happen with Google

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Freeze page position when tree expands

    I have a tree with quite a few nodes. I scroll down the page . When I expand a node by clicking on the (+) I am taken back to the top of the page. This is very annoying. How do I stay in the same page position where the node is when I click on a node and expand it?
    I am aware of the X_POS, Y_POS scroll javascript code but it seems that the page is not submitted to set these items when you click on the (+).
    Any ideas are welcome.
    Paul P

    Hi Paul,
    I did that by updating the template settings on the Tree definition itself (click on the Tree link for your region to get to this).
    In the Before Tree setting, I added the following above the TABLE tag:
    &lt;div style="height:200px; overflow-y:scroll;"&gt;and in the After Tree setting, I added the following below the close TABLE tag:
    &lt;/div&gt;Obviously, you can change the height to any value you need. You can also add in a width style as well, if required.
    Andy

  • Why is it when i pull up firefox, the whole page shifts to the right. i don't have this problem with internet explorer. please help

    When I pull up firefox, the whole page shifts to the right of the screen and i lose about 40% of the page. This is very difficult when looking on Facebook or Yahoo for my mail. This does not happen when I pull up Internet Explorer. What Gives, please help

    Unfortunately if you have downloaded Babylon toolbar this is probably the culprit. to fix this right click on the menu toolbar the the one with the file menu on it and un-check Babylon toolbar. This should fix the problem.

  • Adjust page boundary when converting eps to pdf

    Hi, I have a problem with the page boundaries when converting eps files to pdf files. The resulting pdf page boundary is the bare minimum around the eps objects, leading to different page sizes when the pdf is viewed on screen. I would like all of my pdf objects to have the standard letter (8.5 by 11 inch) page boundary. Furthermore, when the pdf is printed the size of the objects is not to to the same scale as the eps file (which was created in adobe illustrator), and the orientation of the picture is often rotated to what is displayed on the eps or pdf file! Can anybody help me with this problem?

    I opened Distiller from the regular programs menu. I have a job settings file selected that has a 8.5X11 size. I opened a 5.5X7.5 EPS file in Distiller and it creates a PDF with the image at the bottom of the 8.5X11 page. You can also simply open the PDF that you already have and print to a new PDF -- selecting expand to fit if desired.

  • Color shift when using save for web

    Hello,
    I am converting my psd files to jpegs using "save for web".  I am noticing that the colors are shifting from the original after saving for web. The color shift  does not happen if I just convert the psd files to jpegs by using "save as". The psds have a profile of RGB1998. I am using CS3 and my monitor is color calibrated.
    Do I need to convert the psd documents to sRGB first before I go to "save for web"?
    The preview doesn't look any different if  I check ICC profile in the save for web window. I have been told that you are not supposed to embed the ICC profile in the document when saving for web because most monitors are untagged.
    Anyway I am  wondering if I have to accept a color shift when saving for web or is there something I can do to get the saved for web jpegs to more closely match the original psd?
    Thanks a lot for your help.

    I think the reason why this question is asked often is because the FAQ entry is pretty lame and incomplete, especially for Mac users that by default have a color managed browser and by default have a screwed up rendering mechanism for untagged images.
    Depending on your version of Photoshop, you can convert to sRGB before or during the Save for Web operation.
    cesspool13 wrote:
     ...I have been told that you are not supposed to embed the ICC profile in the document when saving for web because most monitors are untagged.
    You convert to sRGB for the systems that do not fully support color management.
    and...
    You include the sRGB ICC profile for the systems that do support color management.
    Doing both covers your bum in most situations. You may choose to omit the ICC profile if you are working on common interface graphics that do not require strict color management. The ICC profile adds a few kilobytes to the file size that are not necessary on lesser graphic elements on a web page.

Maybe you are looking for

  • MSE wIPS services - NMSP Connection active/not active

    Hi all, Recently deployed Prime Infra 1.3.0.20, MSE 7.4.110.0 and WLC 7.4.110.x. The CAS and wIPS services are up but wIPS Profiles can't be push to controller. Though when using GUI, NMSP is active.. ..but when using CLI via /opt/mse/wips/bin/wips_c

  • Change Exchange Rate VF02

    Hi Friends, I need to change the Exchange Rate in VF02 transaction code, but it is showing GREY field. How can I change the exchange rate before posting to accounting entry. Please suggest the solution for changing the Exchange rate in VF02 or any ot

  • Soap- XI- RFC scenario problem

    Dear all, i am configuring a scenario like SOAP->XI->RFC.the third party software send the PM notification  message to R3 via XI and the notification is created in R3.now i am facing the problem that the scenario works fine but i can't monitor the me

  • What does it mean when there is a flashing file folder with a question mark when trying to start computer?

    When I try to start my computer a flashing file folder with a question mark is on the screen. I can't open anything up. What does this mean?

  • Where do i send my zen micro to get fi

    hi, a few days ago my zen micro got wet(realy wet) and now stops at the first creative screen and only goes that far when pluged into the computer well anyway does any one know where i can send it to get fixed? if you do it would be a big help.