Problem with moving around a image with ease

Hi,
I'm trying to move a image around when a keyboard button is pressed. Everything works until I tried to build in an easing movement. Here is my code:
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
public class Player extends Applet implements KeyListener
     private Image player;
     private int xpos;
     private int ypos;
     private Graphics buffer;
     private Image offscreen;
     private boolean walkright,walkleft;
     public void init()
          xpos = 10;
          ypos = 50;
          player = getImage(getCodeBase(),"mario.gif");
          offscreen = createImage(320,192);
          buffer = offscreen.getGraphics();
          buffer.drawImage(player,xpos,ypos,this);
          addKeyListener(this);
     public void update(Graphics g)
          paint(g);
     public void paint(Graphics g)
          g.drawImage(offscreen,0,0,this);
     public void keyTyped(KeyEvent e){}
     public void keyReleased(KeyEvent e){}
     public void keyPressed(KeyEvent e)
          int keyCode = e.getKeyCode();
          switch(keyCode)
               case 39:
                    moveRight();
               break;
               case 37:
               break;
          repaint();
     public void moveRight()
          walkright = true;
          int newxpos = xpos + 20;
          int temp = 0;
          System.out.println(newxpos);          
          while(walkright)
               if(xpos < newxpos)
                    temp = (newxpos-xpos)/10;
                    xpos += temp;
                    //System.out.println(xpos);     
                    buffer.clearRect(0,0,320,192);
                    buffer.drawImage(player,xpos,ypos,this);
                    repaint();
               else
                    System.out.println("in break");
                    walkright = false;     
}The problem is that the int xpos stayes the same, and I don't know why.

Hmm, everything works but somehow the paint method is only called ones which causes the movement 20 pixels a time. Weird :S
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
public class Player extends Applet implements KeyListener
     private Image player;
     private double xpos;
     private double ypos;
     private Graphics buffer;
     private Image offscreen;
     private boolean walkright,walkleft;
     public void init()
          xpos = 10;
          ypos = 50;
          player = getImage(getCodeBase(),"mario.gif");
          offscreen = createImage(320,192);
          buffer = offscreen.getGraphics();
          addKeyListener(this);
     public void update(Graphics g)
          paint(g);
     public void paint(Graphics g)
          System.out.println("boe");
          buffer.drawImage(player,Math.round((int)xpos),Math.round((int)ypos),this);      
          g.drawImage(offscreen,0,0,this);
     public void keyTyped(KeyEvent e){}
     public void keyReleased(KeyEvent e){}
     public void keyPressed(KeyEvent e)
          int keyCode = e.getKeyCode();
          switch(keyCode)
               case 39:
                    walkright = true;
                    moveRight();
               break;
               case 37:
                    //moveLeft();
               break;
     public void moveRight()
        double endX = xpos + 20;
        while(walkright)
             double stepX = (endX - xpos) / 10;
             if (Math.round(xpos) < endX )
                  System.out.println(Math.round(xpos));
                   xpos += stepX;
                   buffer.clearRect(0,0,320,192);
                  repaint();
                  try
                       Thread.currentThread().sleep(100);     
                  catch(InterruptedException e){}
             else
                  walkright = false;
}

Similar Messages

  • Photoshop CS2 redraw garbage when moving around an image window on my G4 laptop

    Hi.I recently had to reinstall Photoshop CS2 onto my Mac Laptop 1.5 GHz PowerPC G4, running system 10.4.11, which required a new hard drive after the old one died. I am immediatly encountering a serious redraw/image repositioning problem in Photoshop that I have never seen before, and in Imageready as well. This does not happen in Macromedia Fireworks 8 however.
    I am zoomed into an image. Using the hand tool, or the scroll bars or the arrows, as soon as I move an image little messed up line graphic glitches appear and stay in place for the remainder or working with an image, and ultimately covers the image completely after moving around within it a number of times. you can see examples of this in these screenshots I've uploaded:
    http://pixeljam.com/temp/photoshopRedrawGarbage/moveGarbage04.gif
    http://pixeljam.com/temp/photoshopRedrawGarbage/moveGarbage03.gif
    http://pixeljam.com/temp/photoshopRedrawGarbage/moveGarbage02.gif
    and the lines stay the same size and position even when zooming in. here's the same image w/ the same defects zoomed out and in:
    http://pixeljam.com/temp/photoshopRedrawGarbage/moveGarbage01.gif
    http://pixeljam.com/temp/photoshopRedrawGarbage/moveGarbage01_zoomed.gif
    I've tried trashing & re-installing photoshop completely, tried running it before the updates needed from the original Photoshop application disk, and after. still the same problem.
    This occurs only when using the laptop on its own. When I hook it up to my Apple Studio Cinema Display, it works fine. The problem does not occur on the Cinema Display OR the laptop screen! it's very odd. Basically, the laptop is now something I cannot actually use away from my desk until this is resolved.
    Has anyone ever encountered this or possibly have any suggestions or advice? Thanks so much!
    -Rich
    And here are some more specs on my computer & hardware:
    Hardware Overview:
    Machine Name: PowerBook G4 12"
    Machine Model: PowerBook6,8
    CPU Type: PowerPC G4 (1.5)
    Number Of CPUs: 1
    CPU Speed: 1.5 GHz
    L2 Cache (per CPU): 512 KB
    Memory: 1.25 GB
    Bus Speed: 167 MHz
    Boot ROM Version: 4.9.0f0
    Serial Number: 4H5456AZRJ7
    Sudden Motion Sensor:
    State: Enabled
    Version: 1.0
    GeForce FX Go5200:
    Chipset Model: GeForce FX Go5200
    Type: Display
    Bus: AGP
    VRAM (Total): 64 MB
    Vendor: nVIDIA (0x10de)
    Device ID: 0x0329
    Revision ID: 0x00b1
    ROM Revision: 2122
    Displays:
    Color LCD:
    Display Type: LCD
    Resolution: 1024 x 768
    Depth: 16-bit Color
    Built-In: Yes
    Core Image: Supported
    Mirror: Off
    Online: Yes
    Quartz Extreme: Supported
    Cinema Display:
    Display Type: LCD
    Resolution: 1680 x 1050
    Depth: 32-bit Color
    Core Image: Supported
    Main Display: Yes
    Mirror: Off
    Online: Yes
    Quartz Extreme: Supported
    DIMM0/BUILT-IN:
    Size: 256 MB
    Type: Built-in
    Speed: Built-in
    Status: OK
    ATA Bus:
    MATSHITADVD-R UJ-845E:
    Capacity: 1.72 GB
    Model: MATSHITADVD-R UJ-845E
    Revision: DMP2
    Serial Number:
    Removable Media: Yes
    Detachable Drive: No
    BSD Name: disk5
    Protocol: ATAPI
    Unit Number: 0
    Socket Type: Internal
    OS9 Drivers: No
    S.M.A.R.T. status: Not Supported

    Hi. Thanks for your responses. There is definitely some incorrectness in the info I provided about the computer. for the Hard Drive, it's odd.. I copied and pasted that from my system profiler.. In actuality the Hard Drive is 74.53 GB. Not sure how that error occurred.
    Also I looked again at the computer's memory. I forgot the second larger 1GB memory card when I was copying and pasting from the system profiler. Sorry about that. I was in a but of a rush to get the question out.
    DIMM0/BUILT-IN:
    Size: 256 MB
    Type: Built-in
    Speed: Built-in
    Status: OK
    DIMM1/J31:
    Size: 1 GB
    Type: DDR SDRAM
    Speed: PC2700U-25330
    Status: OK
    Another thing I noticed about the problem I'm facing is that it leaves defects from mouse trails as well in the image window. None of the defects are lasting nor will they print. I close the file and they go away, if I zoom, they stay the same size. I'd agree, it sounds like a video card problem, but the reason I posted here is that only in photoshop and imageready do these problems occur. My guess, if it's the video card is that they are just programs that require more of the system. why my video card would be crapping out now, I have no idea. but I guess that's how it goes.
    But why would it work fine when hooked up to the apple cinema display? even on the laptop screen itself the problem is not present. only when the laptop is on its own.
    The computer has served me very well for almost 3 years without this problem, so that's why it's something that is not a normal problem that should be expected from this computer. I am grateful to have it & can't afford a new one.. this one is still sitting on my credit card balance. Thankfully I am under the applecare protection plan and will bring it in to the local Mac shop on monday and demonstrate the issue to them.
    Thanks for your replies.

  • Problems with EAS 11.1.2

    1. After opening Outline, I can't expand the dimension hierarchy
    2. Substitution variables are not visible after i have created one, but when creating the same substitution variable, I get the error, saying it already excists...
    3. When choosing "create calculation script", nothing happends
    4: When validating Business Rule, I get this error (when trying to select member to validate on): *"java.lang.NullPointerException"*.
    Can someone tell me if all these problems are related to Java, or is this a security issue?

    This could be down to an permissions issue on the machine, can the client be run on the eas machine without any issues or does the web client work.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Problem with parallax scrolling moving around randomly

    I have an ipad air. My problem is with the parallax scrolling. It just seems to be moving randomly around the screen even when the ipad is steady and it's quite difficult to get the ipad to change orientation when I stand it on its side. I've reset  the ipad and turned it on and off a few times. Has anyone been having this problem and know how to fix it. I know you can turn it off but I don't really want to.

    Hi there
    I am experiencing the exact same problem with my Ipad Air. Did you manage to find a solution yet? Im hoping it isnt a hardware problem either. Orientation not really co-operating. Background image moving around the whole time as if trying to settle, even when device dead still?!
    Please do let me know
    Thanks
    Greg

  • Problem with missing files after moving folders around

    Hi,
    I keep my music files manually organized. This is mostly because I have a LOT of music and I don't want to take up all the space on my MBP HD. So my music is split up between 2 external drives and the MBP drive.
    I was moving around some folders since I wanted to reorganize my music folders, and iTunes can't seem to find the files anymore, and in order to fix it I see I need to find each and every file I moved (which is really not practical).
    I tried editing the "iTunes Music Library.xml" file, but it seems to get rebuilt from some other place where this information is stored.
    I also tried putting aliases in the old folders' locations pointing to the new ones (iTunes kept saying the files are missing)
    Is there any way to simplify the process of moving folders?? This is really strange that such a feature is missing.
    Thanks
    Yaron

    If you have the 'keep' option enabled and let iTunes do the work - take a sound track album as an example - that has various artists and you didn't tell iTunes that the album was a compilation album - then iTunes will put all the tunes into into the iTunes Music folder as Artist>Album>Song - if you have the compilation option enabled for the tunes on that same album - iTunes will nest it as iTunes Music>Compilation>Album>Song. This helps reduce the clutter in the iTunes Music folder with a thousand artists and only one tune for that artist.
    With the 'keep' option selected iTunes will move tunes automatically within the iTunes Music folder. Since iTunes moved the files it can keep track of the links.
    To create a second library launch iTunes with the 'option' key down and follow the dialog box instructions. I have a 'Master iTunes Library' on my internal HD and several ext HD's with other libraries which I give unique names i.e.: Really Big Music. I give the library data base file its' own unique name so I don't accidentally erase the wrong file. I also keep all the files that you would normally see for an iTunes library on the ext HD (iTunes library. .xml, art work etc.,). If you are into lots of movies and TV Shows you could create a library on and ext HD with only video content and name it accordingly. You would keep all the files for that library including the library 'management' files on the ext HD in the same nesting as you would find on your internal HD.
    This strategy works for me. I tried to manage the files by myself at one point and just had to many problems so I decided to not fight City Hall and go with the flow and it works for me.
    MJ

  • I'm having a minor problem with "screen drift" - the page moves slightly up and down when moving my mouse around the screen, and continues to do so after stoppi

    I've installed the latest version of Shockwave, updated the driver from Logitech for my mouse (Logitech M525), tried both full screen and regular modes, restarted Firefox repeatedly. This drift is very annoying - I spend the majority of my time on FB - seems like the amount of drift varies from not at all to "damn it, I can't even place my mouse on an object without the screen moving".
    I'm on Windows 7 with an Acer V5-671 laptop - help please!

    You can check for problems with current Flash plugin versions and try these:
    *disable a possible RealPlayer Browser Record Plugin extension for Firefox and update the RealPlayer if installed
    *disable protected mode in the Flash plugin (Flash 11.3+ on Windows Vista and later)
    *disable hardware acceleration in the Flash plugin
    *http://kb.mozillazine.org/Flash#Troubleshooting
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Is there a phone number to call Adobe.  I go around an endless loop pressing their contact info tabs?  Maybe someone at this sight can help. I am new to digital photo - I have been a B&W film photographer for many years. I have a problem with a Macbook Ai

    Is there a phone number to call Adobe.  I go around an endless loop pressing their contact info tabs?  Maybe someone at this sight can help. I am new to digital photo - I have been a B&W film photographer for many years. I have a problem with a Macbook Air.  It was working fine - I was using LR and a message came on the screen that said something like the memory was dangerously low.  I stopped and tried to delete LR files.  I couldn't do it.  I closed the program and tried reopening and got the message that there is not enough memory available to open LR.  I contacted Apple.  They spent a half hour on the phone with me and eventually told me they didn't know how to help. The tech said that LR had gobbled up all the memory and said I should contact Adobe and ask where and how my photo files are stored and to delete them.  I have several back-ups.  Thanks - Arthur

    This sort of error message only comes up for Lightroom when your hard disk is full. Indeed this has nothing to do with internal memory as that will be intelligently be dealt with. If you have a mac Book Air that is not so surprising as the cheapest versions come with very small hard disks and if you shoot raw with any recent camera, you'll fill up your hard disk very quickly and you can probably only store a few months of pictures if you are a typical photographer. So the bottom line is that you need to create some room on your hard disk. You should move some of your originals to an external hard disk. You can also delete some of your backup copies of your catalog file that Lightroom automatically generates every few days and that quickly gobble up hard disk space. So first figure out how full your hard disk is. To see that, go to the apple menu, hit -> About this Mac -> More info->Storage. You should see your internal hard disk on top and you'll find that it is almost entirely full with photos. Now find your Lightroom catalog file using Finder. It is usually in a folder in the Pictures folder in your home directory. You should see a Lightroom 5 Catalog.lrcat file, a previews file and a folder called backups. Inside the backups folder, you'll find a lot of subfolders. They have names that show the dates the backups were created. If you have backups of your entire hard disk, you can delete these backups when they are older than a few months. I usually only keep the last 4 around. Just drag the folders into the trash can on the dock on the bottom of your screen and empty the trash. This will probably free up enough space that Lightroom will already run again. Now start thinking about where you will want to store older images. If you have a good USB3 or Thunderbolt hard disk that is probably the best option. There is a video here by Adobe that has some instructions on how to do this: Is Your Hard Drive Full? Here’s How to Move Images to Another Drive in Lightroom. « Julieanne Kost's Blog If that doesn't work because you don't have enough hard drive space to run Lightroom yet, here is another set of instructions to move your files using the finder to the other hard disk: How do I move only my photos to another hard drive, leaving the catalog where it is? - The Lightroom Queen. If you follow that, as soon as you confirm all your images are on the new hard disk, you can delete them from your internal one. She is not so clear about that part but if you don't delete the originals that you moved off you don't free up space. You should move the folder structure over to the new hard disk and then reconnect the folders in Lightroom. That should make it refind all your images.
    That said, if you are uncomfortable with the computer in itself, your best bet is to find a local photography club. There is invariably a Lightroom savvy person in there that could help you move your files. That might be your best bet if you are uncomfortable moving these yourself. A general mac savvy person like you would find at an Apple store or so generally will not be able to help you with this except when they are photographers themselves and know Lightroom. You might get lucky with that.

  • Problems with dark Artifacts on images when viewed on PC screens???

    I have a very urgent problem concerning Adobe Photoshop CS3, my Apple Cinema 20 inch Display and my SpyderPro2 on my Mac Pro Intel Dual Core Xeon 2x 2.66GHz.
    I have been using the Spyder for some years now, but recently I have been having big problems with the results. I only use Photoshop CS3 to enhance digital products images.
    I have a major contract with a jewellery company in London, where I clean up digital photos. Images that I have lightened up to look great on my Cinema Display have been reported by my client to look pretty dark on their PC's in their offices.
    Some of these images show lines and grubby patches??? To check this I opened files in Photoshop and moved the levels 'black' slider down quite some way, and did see evidence of what the client could see at their end? It seems that when I have used a faded eraser brush it leaves a light patch in between the shadows of the jewellery. This shouldn't be visible to the naked eye though?
    I must point out that when I use the eyedropper tool on images, to read the amount of grey or colour in the white areas around the peices, I am shown values of 1,2 or 4 maximum in the CMYK values. 4 percent out of 100 is nothing and should not be visible to the naked eye?
    How is it that my clients PC's can see dark shadows and where my eraser brush has rubbed out???
    I have tried many re-calibrations and also tested all of my older calibrations dating back a few years. I have also tested the same faulty images on Intel iMac's, an eMac, and a few PC's. On the iMac's I can just about make out the artefacts that my client can see, but nothing that I would deem as unacceptable.
    I am at a loss as to the fault, but It may be the Spyder2 Pro's inability to calibrate my Apple Cinema display properly? I may lose my contract which I cannot afford to do, and I simply have to find the cause ASAP.
    I have my Mac's in my office apartment next to two bay windows. I have vertical blinds there. When calibrating I have always turned off all the lights and pulled the blinds right back so that only the light from the two large window doors is coming in.
    For graphic design the calibrations seemed to be okay for quite some time, but recently it is getting harder to achieve good results with the Spyder? This could affect all of my workflow which is very serious. But I must stress that overall the Spyder results are not terrible. I can see good colours and dark levels and in general across all of my calibrated profiles, the jewellery looks acceptable on my Cinema Display?
    I did say to my clients that they should calibrate their PC screen properly but their offices have many Screens and they all show the same artefacts (some much worse than others)? I know that PC Screens are darker than Mac's but a 4% grey should not be visible????
    As these are a web company the images will be seen by PC users around the world and most of these will have no calibration on their screens. What can be done to prevent this and what is the cause of this? I can't possible please everyone, but as a creative professional I have to be 100% certain that my workflow is at its best.
    I need urgent help to solve this or loose valuable business? I hope that you are able to help solve this mystery. Could this possibly be something with Photoshop?
    I have just purchased the new Spyder3 Pro which I hope will give perfect results but I have to find out what the cause of this is. If some of the fault lies with the client, I can charge these for all the testing and calibrating I have done.
    Kind regards,
    Jason Conway
    ideo-sync - inspired design.

    Thanks for all your comments and so quickly.
    To be clearer, I am not working in CMYK for image enhancing at all, but windows RGB in photoshop, which is darker than working CMYK or Monitor RGB. I just use the CMYK colour scale in the photoshop colour picker window to see what values are around the object.
    its not 4 across all four but on average C4, M2, Y1, K0.
    When saving in save for web the images look fine on my screen, pretty much the same as the photoshop tiff file.
    Each image has adobe RGB 1998 embedded when saved as a tiff file.
    The client looks on internet explorer 7 on their PC's and also within Photoshop.
    Colour settings within photoshop are using MacUser magazine's recommended setting from 2006: RGB: Adobe RGB 1998, CMYK: Euroscale Coated V2, Grey: Generic Grey, SPOT: 20% dot gain. Engine: Apple CMM, Intent: Relative Colorimetric. Also Black point compensation and User Dither are checked.
    Also the monitor calibration is set at 6500 at 2.2 gamma.
    To be clearer about the dark shadowing and the artefacts. When using levels I click on a shadow point to remove all but a slight shadow. Then I sometimes need to use the faded eraser to clean up or lessen the shadow. The image looks fine on my screen, but in the levels window I drag the black pointer about a third of the was across the screen to simulate what the client is seeing on their screen. This is quite a long way to drag the slider. I can sometime see the edges of the image, or white holes where the eraser has been. The lines are areas around the object that have been rubbed out a bit.
    I agree that colour values will show on a screen, but the effect of the shadow should be smooth and not clearly visible with an edge?
    http://www.ideo-sync.co.uk/p110741.jpg
    also p110741.tif
    I have uploaded the layered tiff file and the web jpeg to my server, so you can hopefully see something odd?
    If there is a problem with my cinema display at least its under warranty, and the new Spyder3 pro should help when it arrives in a few days time.
    Hopefully I can pinpoint the exact cause to this and take steps to stop this ever happening again. I am very grateful for your advice and help.
    Kind regards,
    Jason.

  • Problem with Image positioning

    Hello everyone I am having a problem with the positioning of an image I want to sit on  top of the background in DW. I want it to sit on top of the background  because I want to use a behaviour effect so that it fades in. Anyway, I  go to Insert and choose the image I want, and it shows up in the  top-left corner of my DW, which I expect it to. However, I want the  Image to sit a lot further down the page (and eventually at the center). So, I select the image and go  to the "V Space" in the properties panel and I alter the value in it so  that the image will be positioned further down the page. However, when I  do this for some reason the whole page shifts to the left a little and I  also get a scroll bar that makes the page a lot longer, which I don't  want. Does anybody know why this is happening and what I could do to  prevent it? I will attach a "before" and "after" screenshot so you can see what I mean a little more clearly.
    If you can see the whole page shifts slightly to the left and I get a scroll bar which makes the page a fair bit longer. I've also experimented a little by moving the image down bit by bit and found that everything is fine until I cross around 200 on "VSpace"-  after that is when the page shifts and I get the scroll bar.
    I greatly appreciate any help! Thanks

    As a starting point, Copy & Paste this code into a new, blank  HTML document.   The comments will guide you.
    <!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=iso-8859-1" />
    <title>Untitled Document</title>
    <style type="text/css">
    html {font-size: 100%}
    body {
    margin: 0;
    background:#000;
    font: 1em Geneva, Arial, Helvetica, sans-serif;
    color: #FFF;
    text-align:center;
    #wrapper {
    width: 960px; /**width in px, ems or %**/
    margin:0 auto; /**centers page**/
    padding: 0;
    border: 2px solid silver; /**optional border**/
    #header {
    text-align: center;
    border: 1px dotted silver; /**optional border**/
    /**Main Menu**/
    #navlist {
    margin: 0;
    padding: 0;
    font: italic 24px "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    text-align: center;
    #navlist li {
    margin: 0;
    padding:0;
    list-style: none;
    display: inline;
    #navlist li a {padding: 0.75em; text-decoration: none;}
    /**link colors**/
    #navlist li a:link,
    #navlist li a:visited { color: #999; }
    /**On mouseover**/
    #navlist li a:hover,
    #navlist li a:active,
    #navlist li a:focus { color: #FFF; text-decoration: underline;
    /**End Menu styles**/
    #content {
    width: 400px;
    font-size: small;
    margin: 20px auto 0 auto;
    text-align: center;
    color: #CCC;
    #content ul li {margin:0; padding:0;
    list-style:none}
    /**Rollover Image**/
    #content a img {
    border:none;
    opacity: 0.6;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
    filter: alpha(opacity=70)}
    #content a img:hover,
    #content a img:active,
    #content a img:focus {opacity: 1.0;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100)}
    #footer {
    border-top: 4px solid #990000;
    font-size: x-small;
    text-align: left;
    margin:0;
    padding: 0 0 0 15px
    /**RE-USABLE CLASSES**/
    .left {text-align:left}
    .right {text-align: right}
    .center {text-align:center}
    </style>
    </head>
    <body>
    <div id="wrapper">
    <!--begin header -->
    <div id="header">
    <h1>Amy Carrier </h1>
    <!--end header --></div>
    <!--begin menu-->
    <ul id="navlist">
    <li><a href="#">AC</a></li>
    <li><a href="#">About</a></li>
    <li><a href="#">Gallery</a></li>
    <li><a href="#">Contact</a></li>
    </ul> <!--end navlist -->
    <!--end menu -->
    <!--begin content -->
    <div id="content">
    <p class="left">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam ac dolor velit, sed adipiscing ipsum. </p>
    <ul>
    <li>details</li>
    <li>details</li>
    <li>details</li>
    </ul>
    <!--Replace this linked image with your own -->
    <a href="http://www.google.com/chrome"><img src="http://dret.net/lectures/web-fall09/img/chrome-logo.png" alt="image" /></a>
    <!--end content --></div>
    <!--begin footer -->
    <div id="footer">
    <p>@ 2010 Footer text goes here</p>
    <!--end footer --></div>
    <!--end wrapper --></div>
    </body>
    </html>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Urgent problems with image viewing on my 20 inch Cinema display???

    I have a very urgent problem concerning my Apple Cinema 20 inch Display and my SpyderPro2 on my Mac Pro Intel Dual Core Xeon 2x 2.66GHz.
    I have been using the Spyder for some years now, but recently I have been having big problems with the results.
    I have a major contract with a jewellery company in London, where I clean up digital photos. Images that I have lightened up to look great on my Cinema Display have been reported by my client to look pretty dark on their PC's in their offices.
    Some of these images show lines and grubby patches??? To check this I opened files in Photoshop and moved the levels 'black' slider down quite some way, and did see evidence of what the client could see at their end? It seems that when I have used a faded eraser brush it leaves a light patch in between the shadows of the jewellery. This shouldn't be visible to the naked eye though?
    I must point out that when I use the eyedropper tool on images, to read the amount of grey or colour in the white areas around the peices, I am shown values of 1,2 or 4 maximum in the CMYK values. 4 percent out of 100 is nothing and should not be visible to the naked eye?
    How is it that my clients PC's can see dark shadows and where my eraser brush has rubbed out???
    I have tried many re-calibrations and also tested all of my older calibrations dating back a few years. I have also tested the same faulty images on Intel iMac's, an eMac, and a few PC's. On the iMac's I can just about make out the artefacts that my client can see, but nothing that I would deem as unacceptable.
    I am at a loss as to the fault, but It may be the Spyder2 Pro's inability to calibrate my Apple Cinema display properly? I may lose my contract which I cannot afford to do, and I simply have to find the cause ASAP.
    I have my Mac's in my office apartment next to two bay windows. I have vertical blinds there. When calibrating I have always turned off all the lights and pulled the blinds right back so that only the light from the two large window doors is coming in.
    For graphic design the calibrations seemed to be okay for quite some time, but recently it is getting harder to achieve good results with the Spyder? This could affect all of my workflow which is very serious. But I must stress that overall the Spyder results are not terrible. I can see good colours and dark levels and in general across all of my calibrated profiles, the jewellery looks acceptable on my Cinema Display?
    I did say to my clients that they should calibrate their PC screen properly but their offices have many Screens and they all show the same artefacts (some much worse than others)? I know that PC Screens are darker than Mac's but a 4% grey should not be visible????
    As these are a web company the images will be seen by PC users around the world and most of these will have no calibration on their screens. What can be done to prevent this and what is the cause of this? I can't possible please everyone, but as a creative professional I have to be 100% certain that my workflow is at its best.
    I need urgent help to solve this or loose valuable business? I hope that you are able to help solve this mystery.
    I have just purchased the new Spyder3 Pro which I hope will give perfect results but I have to find out what the cause of this is. If some of the fault lies with the client, I can charge these for all the testing and calibrating I have done.
    Kind regards,
    Jason Conway
    ideo-sync - inspired design.

    One thing you might want to try adjusting is the gamma setting in Displays Preferences color calibration area. Macs typically are set at 1.8 but PCs will often use 2.2. That could account for the difference.

  • Mail problem with embedded images and links

    Since Yosemite Apple Mail seems to have a problem with images that are used as a hyperlink to a website.
    While links are clickable with external loaded images work fine, links with embedded images just do not anything. Clicking on them selects them, a double-click opens the image in Preview.
    This works:
    <a href="https://www.google.de"><img src="https://www.google.de/images/srpr/logo11w.png" alt="Google Logo"></a>
    This does not work:
    <a href="https://www.google.de"><img src="cid:logo_google" alt="Google Logo"></a>
    Can you reproduce this problem?
    We tried it with OS X 10.10.1 and 10.10.2

    After a bit of digging around I think I have found the reason for the EO being called prior to the CO. In the parent page CO, there is a transaction commit (oapagecontext.getApplicationModule(oawebbean).getTransaction().commit();).
    Therefore, I assume that as my custom AM is a child of standard AM where the transaction is being commit, the child AM is sharing the same transaction/session and hence the EO being called.
    I am running into issues with moving the validation to the EO as the validation requires visibility of the VO values to calculate a total value. Therefore is there a way to ensure that my custom AM maintains a separate database session/transaction to the parent/standard AM? Is it possible to break the parent/child relationship?
    This way I assume that the commit issued by the parent page CO will not affect my custom AM/EO.
    Cheers.
    Jon.

  • Problem with Gif image

    Having a problem with gif image not showing up. It will show up in netscape6.2, but not in IE 5.0. Both are using the java 1.4 plugin. They are basic buttons (zoom in, zoom out, etc) and they actions work, just the icons aren't showing. Any help would be great! Below is a snip of code:
    JPanel toolBarsPanel = new JPanel();
    javax.swing.JToolBar toolbar = new javax.swing.JToolBar();
    JButton zoomin = new JButton(new ImageIcon("tut/zoomin.gif"));
    JButton fullext = new JButton(new ImageIcon("tut/fullextent.gif"));
    JButton identify = new JButton(new ImageIcon("tut/identify.gif"));
    JButton btn = new JButton(new ImageIcon("tut/addtheme.gif"));
    toolbar.add(zoomin);
    toolbar.add(fullext);
    toolbar.add(identify);
    toolbar.add(btn);
    add(toolbar, BorderLayout.NORTH);
    Thanks again for any help!

    I used to do a lot of work in this sort of thing. After a while we were able to convince our bosses to use generated HTML (JSPs, etc.), so the problem moved to porting JavaScript to different platforms! (Platforms in this context means the different browser/OS combinations, etc.).
    The only two things I can recommend are:
    - complete control over you code. You will have to fix it! (Tried you apps on a Mac yet?)
    - assume a minimal install. Don't assume users are going to have any fancy tools installed on their PC, unless you are developing an Intranet app, where you know the spec of the machines that are going to be using it.
    As regarding getting IE to use a relative address, I don't think you are going to have any luck their, I'm afraid! (Although I am curious. It has been some time, but I though it did use relative addresses. Are you absolutely sure about this, did you check this out with System.outs and that?
    HTH,
    Manuel Amago.

  • Just moved my email from entourage to Mail. Having real problems with getting my signatures to work properly. When adding in a small company logo, windows computers only receive signature as an attachment. Am sending email as Rich Text. Any ideas on a fix

    Just moved my email from Entourage to Mail. Having real problems with getting my signatures to work properly despite sending email as Rich Text.
    When adding in a small company logo to the signature, PC's / windows computers only receive signature and logo as attachments.
    I've tried all possible fixes I can find including getting a PC user to format the logo but no joy. Has anyone experienced this and any ideas on a fix gratefully received.

    Send it as html so the signature is an image source URL

  • I've been editing images with ease for a long time but now the changes are not being saved.

    I've been editing images with ease for a long time but now the changes are not being saved.
    Also, it is not liking me adding a large ammount of images in one go?

    Remember: we cannot see your machine. There are 9 different versions of iPhoto and they run on 8 different versions of the Operating System. The tricks and tips for dealing with issues vary depending on the version of iPhoto and the version of the OS.  So to get help you need to give as much information as you can. Basic things like :
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. As full a description of the problem as you can. For instance: 'iPhoto won't export' is best explained by describing how you are trying to export, and so on.
    - History: Is this going on long? Has anything been installed or deleted?
    - Are there error messages?
    - What steps have you tried already to solve the issue.
    - Anything unusual about your set up? Or how you use iPhoto?
    Anything else you can think of that might help someone understand the problem you have.

  • Problems with the background image in IE

    Hi I've been optimizing some pages for the different browsers in Dreamweaver CS4. They all work fine in Safari, Firefox and Opera, Internet Explorer is, however not showing the background image I have selected. I can't for the life of me see what's going wrong! Any help wopuld be appreciated. here is the code on my index page which I built from a template. I don't know if it's the editable areas that are going wrong!
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>test site</title>
    <!-- InstanceEndEditable -->
    <link href="oneColFixCtrHdr.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    body {
    background-repeat: repeat-x;
    background-image:url(file:///Macintosh HD/Users/me/Documents/websites/face_divorce/test/images/test_back.png);
    .oneColFixCtrHdr #container {
    width: 770px;
    margin: 0 auto;
    border: 0;
    padding: 0;
    .oneColFixCtrHdr #header {
    text-align: centre;
    border: 0;
    padding: 0;
    .oneColFixCtrHdr #header h1 {
    <img src="../images/test_logo.png"
    margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
    padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
    font-size: x-large;
    text-align: right;
    .oneColFixCtrHdr #mainContent {
    padding: 0;
    .oneColFixCtrHdr #footer p {
    margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
    padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
    font-family: Verdana, Geneva, sans-serif;
    color: #6699cc;
    font-size: 9px;
    font-style: normal;
    line-height: normal;
    font-weight: lighter;
        text-align: center;
    -->
    </style>
    <!-- InstanceBeginEditable name="head" -->
    <meta name="Description" content="facedivorce.com.com is an online resource tool to help guide you through the various stages of divorce.  Simply click on before, during or after divorce to find everything you could ever need to do with divorce.
    " />
    </head><meta name="keywords" content="test
    " />
    <!-- InstanceEndEditable -->
    <body class="oneColFixCtrHdr">
    <div id="container">
      <div class="oneColFixCtrHdr" id="header">
        <table width="740" border="0" align="center">
          <tr>
            <td  border="0" height="38" ></td>
            <td align="right" valign="bottom"><!-- InstanceBeginEditable name="HeaderLinks" -->
              <p class="TextButtons"><a href="index.html" class="TextButtons">Home</a>   <a href="featuredcompany.html" class="TextButtons">Featured Company</a>   <a href="youngpeople.html" class="TextButtons">Young People</a>    <a href="andmore.html" class="TextButtons">And More</a>    <a href="blog/index.html" class="TextButtons">Blog</a></p>
            <!-- InstanceEndEditable --></td>
          </tr>
          <tr>
            <th height="48" align="left" valign="bottom">
    <h1><a href="index.html" title="test"><img src="images/test_logo.png" alt="test" width="245" height="46" border="0" align="left" /></a></h1>
    </th>
            <td align="right" valign="bottom"><!-- InstanceBeginEditable name="HeaderButtons" --><a href="#"><img src="images/facebook-logo.png" alt="FaceBook Button" width="48" height="48" border="0" align="bottom" /></a> <a href="#"><img src="images/twitter_square.png" alt="Twitter Button" width="48" height="48" border="0" align="bottom" /></a><a href="#"><img src="images/blogbutton.png" alt="Blog Button" width="49" height="47" border="0" align="bottom" /></a>    <!-- InstanceEndEditable --></td>
          </tr>
        </table>
        <!-- end #header -->

    Hi
    The fact you are using a Mac is why both myself and JCellini assumed you where using a pre IE7 version.
    But the code you are using to test in IE will cause a problem with any 'virtual machine' such as crossover, because it cannot reference anything outside its own assigned section of the drive, and referencing the png in the way you are would be for it an invalid reference, it also would not work in any browser when you uploaded the site.
    Change - background-image:url(file:///Macintosh  HD/Users/myname/Documents/websites/test/Test/images/test_back.png);
    To - background-image:url(images/test_back.png);
    But if the region is not editable I would suggest you temporarily make it so, externalize your css to a css file, insert a link to the external css file in your head content, then lock the region once again. This way you will always be able to edit your css without worrying about 'locked regions'.
    PZ
    www.pziecina.com

Maybe you are looking for

  • How can I integrate a blog with my website using Adobe Muse? (I am hosted by Adobe Business Catalyst

    I know I need to start a blog, but want to integrate it into my existing Muse-designed website, which is hosted with Adobe Business Catalyst? Is there any way to do this? (I want my main master page navigation bar to have a link to the blog...which I

  • Dispatcher running but no server connected

    I am getting this error. on http://<host>:<port>/irj/portal error message is: 503 Service Unavailable Dispatcher running but no server connected! Details:   No details available in SAP MMC server0 is in yellow color with status "Starting Application"

  • How To Set Password on WRT54G

    When I first got my WRT54G Wireless Router I chose not to set a password that would have to be used in order for pepole to have access to my wireless internet signal. I now want to set a password which would need to be used by anyone who wants to use

  • MISSING ROXIO from Lenovo recovery DVD install

    Need help!!!! Installed recovery OS from the Lenovo DVD's shipped to me and Roxio or IBM recordnow didn't get included in the install. Was hoping not to have to request another set of recover software from Lenovo. They have an FTP site with updates e

  • Xsu12_817.jar missing from 9.2.0.2 XDK download

    The archive of xdk 9.2.0.2 from technet does not include the xsu12_817.jar file. It's also missing the equivalent files for previous 8i versions. I've managed to get through xdkload by copying the file from the 8.1.7 XDK but this leaves me with a sep