Trying to make a banner stretch 100% of screen

Hi everybody. I am having a big problem with some css. I have been working on this all day and it is driving me crazy. I have tried all different types of css elements and I can't replicate the banner stretch thing.
I would like to have a header banner that stretches 100% of the width of the screen but below that I still want the body stuff centered in the middle of the page. I can't seem to get this to work at all.
This is the code I have so far:
@charset "utf-8";
/* CSS Document */
#body{margin:0 auto; width:100%;}
/*** Header ***/
.header {width: 960px; height: 126px; float:left; padding:0 68px;}
.header_content {width:630px; float:left; text-align:right;}
.logo {width: 162px; float: left; padding: 0 0 0 0}
.social_content {width: 640px; float: left;}
.social_content img {padding: 0 10px 0 0;}
.navigation { width:635px; float:left; font-size:14px; font-weight:bold; padding:20px 0 0 0;}
.navigation a {color:#000; text-decoration:none; margin:0 20px;}
.navigation a:hover {text-decoration:underline;}
/*** banner background ***/
.bannerbkg {margin: 0 auto; width: 100%; height:334px; float:left; top:0; left:0; position:relative; z-index:5; background:url(../business/images/banner.png) repeat; margin: 0 auto; background-repeat: repeat-x;}
/*** banner ***/
.banner_container{width:100%; float:left; top:0; left:0; z-index:10; padding:0 68px;}
and this is the html
<!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>
<link rel="stylesheet" href="/business/css/styles2.css" />
<link href="styles2.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="body">
    <div class="header">
        <div class="logo"><img src="/business/images/logo.png" alt="" /></div>
           <div class="header_content">
              <div class="social_content"><a href="#"><img src="business/images/ico1.png" alt="" /></a><a href="#"><img src="/business/images/ico2.png" alt="" /></a><a href="#"><img src="business/images/ico3.png" alt="" /></a>
              </div>
              <div class="navigation"><a href="#">Home</a> <a href="Contact">Contact</a> <a href="Services">Services</a> <a href="About Us">About Us</a>
              </div>
           </div>
        <div class="banner_container">
        <div class="bannerbkg">
             <div class="banner_details">
                 <div class="video"><iframe width="440" height="240" src="" frameborder="0" allowfullscreen></iframe></div>
                 <div class="phone"><img src="/business/images/call.png" alt="" /><br /><br /></div>
                 <a href="#"></a><br /><br />
          <a href="#"><img src="/business/images/btn1.png" alt="" /></a><img src="/business/images/btn3.png" alt="" /><a href="#"><img src="/business/images/btn1.png" alt="" /></a></div>
                  <div class="text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce quis lectus vel libero vestibulum scelerisque vel ac nulla.</div>
              </div>
              </div>
         </div>

I think you want a Liquid Header & Footer layout.  See link below.
http://alt-web.com/TEMPLATES/I-page.shtml
Nancy O.

Similar Messages

  • I'm trying to make a logo animate onto the screen - is there a technique for that?

    I'm editing a TV spot for a client and want to animate their logo, by making it "draw" itself onto the screen. Any recommendations for how to do that?

    depends on how the logo looks like and what kind of 'appearance' you want ...
    drop-dead-simple:
    use any paint.app which supports psd-layers (recommending Pixelmator …), 'split' the diff. elements into separate layers (needs perhaps some retouch) and fade in/move in each layer. (made that for some other request awhile ago : http://youtu.be/uEDjHtADYj8 )
    not-that-complicated:
    in Motion, matte tool, paint some lines, which cover the logo, use the write-on behavior... (thousands of tuts at YT ... )
    all-bells-and-whistles:
    use tools as Blender, Cinema4D or mObjects (=the 3D-plugin for Motion) to re-enact the logo in 3D, flying, tumbling, lens flares, chrome shine, fire balls, Hollywood!

  • How do you make a folder on my home screen? It doesn't seem to be liking the simply drag. Why?

    I have tried to make a folder on my home screen the way everyone is saying I should but it just isn't working. I don't see what I am doing wrong. Is there a button I have to push to make it happen? Thanks so much.

    Just hold down on one icon until they all start to wiggle, then drag two on top of each other. If the app you're trying to folderize doesn't work, try a different one. Some of them will not easily go into a folder on their own. (for example, if you want to tuck newsstand into a folder, you have to use two other app icons to make the folder then quickly drag newsstand into that folder)

  • I'm trying to make "Stop motion videos"  in Final Cut EXPRESS by using 100's of still photos and setting them to music.  They are coming out blurry if viewed larger than 4x6 in size

    I'm trying to make "Stop motion videos"  in Final Cut EXPRESS by using 100's of still photos and setting them to music.  They are coming out blurry if viewed larger than 4x6 in size.
    I don't understand why this is happening. 

    Quick follow up, since I was on my phone earlier and am back to a real keyboard.
    To access Easy Setup, hit Control Q.
    If you click on the blue discosure triangles, a dropdown menu with about a dozen different presets will be displayed. Select the one you want, (Here, I've selected 720P.)
    Whatever you select for a preset will not be applied until you make a new sequence. (I don't like to have sequences with different properties in the same project so I prefer to make a new project if I change the Easy Setup.)
    Because photo aspect ratios are different than video, I typically put a solid generator of some compatible color on the first track (v1) and put my photos on the track above (v2). Looks better, IMO, than black bars. There are other creative ways to display them. And of course, you could scale them up to fill the frame…but then you probably would have to re-position them.
    Good luck.
    Russ

  • I have a line (stroke, no fill) and an eps graphic. I'm trying to make a clipping mask of the single line art but all it does is cut the eps graphic instead of making a mask?

    I have an eps graphic and a single line drawing 2 pt wt. I'm trying to make a clipping mask of the line drawing. When I tried it all that happened was the eps graphic was cut in half. I did the exact steps from AdobeTV except the line drawing [pink camera.ai*@1200% (CMYK/Outline)] is an ai pen line drawing instead of a vector graphic and the other is [vector flower lillies.eps @ 100% (RGB/Preview)]. If you need more info on the graphics please tell me where to find it and I will send it.
    This is all because the eps graphic has a white background. I have tried everything I know including opening it in Photoshop and deleting the background and it always pastes with a white background. My thought was if I can't change the background then maybe I can make a clipping mask of the pink camera and just paste it in front.
    Please help this has been a thorn in my side for too long...

    please post a screen shot of the graphic(s) as it's hard to understand exactly what you are asking
    IF these are 'vector' graphics there should be no need for a clipping mask--also--if the .eps files are small (MB or KB) try posting one of those

  • Error messages when trying to make selection

    Hi, I am new at Photoshop, I use CS6, and today I followed a tutorial on how to make a robot on a picture and at first everything went ok but when I was almost done and tried to make a selection with the lasso tool I all of a sudden got an error message that says "Warning: No pixels are more than 50% selected. The selection edges will not be visible." And when I press OK my selection is not there. I had no problem when I started the project but now it won't work.
    And now I get this error messages everytime I try to make a selection and it doesn't matter if I use the pen, marque or whatever.
    Anyone here who knows what I'm doing wrong?
    Best regards

    Basically, what that warning message is telling you is that the "marching ants," will not be fully representative of your Selection.
    Now, if you want to make a Selection, that includes 100% of the pixels, check the Lasso Options, to make sure that you do not have something like a large Feather, with a small Selection.
    Good luck,
    Hunt

  • Cant make a recovery NB-100

    first of all.. if my english doesnt make sence. im sorry.
    I have a mini NB-100 and i want to make a recovery of it. But i cant!!
    i press '0' before i turn it on and it freezes, black screen after the toshiba logo.
    I have a pendrive because i cant start windows, thats why i want to restore it. From there i can see the partition where the recovery is, there's an .iso named BASE.iso. I tryed to make a penndrive with it but i didnt succeed.
    what can i do??
    pls help me im getting tired of this.

    If you were able to make your Toshiba Recovery disks, then your Toshiba Recovery Partition on your hard drive is still intact and in good condition.  You only make the Recovery disks, as an emergency backup, in case your recovery parition becomes corrupted or is accidentally deleted.
    Make sure you have backed up all your own user files, favorites, bookmarks, etc, before you run the recovery utility.
    To run the Toshiba Recovery Utility from your hard drive, immediately press and hold down the '0' (zero) key on power up, while the Toshiba logo is still on the screen.
    In the future, if there is a problem with your recovery partition and you cannot start the utility from there, insert Toshiba Recovery Disk 1 in your CD/DVD drive, reboot or power on your machine, when you see the Toshiba logo on the screen press the 'F12' key at the top of your keyboard, at the Boot Sequence menu choose 'Optical disk drive CD/DVD drive', you will then see 'To boot from CD/DVD press any key.....' with the dots at the end counting down, before the dots finish counting down, press any key and your unit will boot from Recovery Disk 1.
    Here's Toshiba USA Downloads page. Surf there for your specific model number, look at your User Guide's Contents for your Recovery instructions page number.
    Good luck.
    Mike

  • Help : Lost in Code - Trying to make a simple Click-Through

    Hey Everyone -
    I've come in search of some help and expertise. I've found a
    website which I would like to copy in functionality - in hopes of
    creating a simple slideshow of images. They are using the MOOTOOLS
    framework for the Slide animation - i've gotten that to work
    - but i can't figure out how to replicate the clickthrough-
    SO - what i'm trying to do is copy this page exactly -
    http://www.thegraphicgraphic.com/
    you'll see that it's just three lines of text ( rollovers )
    and the last line opens up a javascript slider window - now i've
    managed to copy most of it by taking the code and figuring out the
    urls for the javascript and such .
    check out my version here :
    http://www.nontype.com/beograd.html
    i've got the css and java stuff working okay - but what i
    can't seem to figure out at all is how they are getting the
    rollover links to link to the NEXT IMAGE - they're using some tags
    that i don't understand : it looks something like this : : :
    <div id="header">
    <ul>
    <li>
    <a href=""
    onmouseover="this.innerHTML = 'NEXT'"
    onmouseout="this.innerHTML = 'THE'">
    THE</a>
    </li>
    <li>
    <a href=""
    onmouseover="this.innerHTML = 'PREVIOUS'"
    onmouseout="this.innerHTML = 'GRAPHIC'">
    GRAPHIC</a>
    </li>
    <li>
    <a href="#" id="button" onmouseover="this.innerHTML =
    'INFORMATION'"
    onmouseout="this.innerHTML = 'GRAPHIC'">
    GRAPHIC</a>
    </li>
    </ul>
    </div>
    AND The JAVASCRIPT Used for both the sliders ( and I assume
    the click-through functionality ) is :
    window.addEvent('domready', function() {
    var Slider = new Fx.Slide('about',{mode: 'horizontal',
    duration: 100}).hide();
    $('button').addEvent('click', function() {
    Slider.toggle('horizontal');
    function noSpam(user,domain) {
    locationstring = "mailto:" + user + "@" + domain;
    window.location = locationstring;
    function MM_openBrWindow(theURL,winName,features) { //v2.0
    window.open(theURL,winName,features);
    I just want to click NEXT to progress to the next background
    image / and PREVIOUS for the prev. image . . . . . . . . Could
    anyone here tell me how to do this as in the first site ? ? ? Would
    I be able to simply create multiple HTML Pages - use an Embed tag -
    and then link the PREV and NEXT buttons with tags ?
    I'm just trying to make this work by any means but am finding
    the code impossible to crack -
    I tried asking this question in the mootools forum but was
    told to look elsewhere - I'm more than willing to use
    any other means in order to make this work .
    MANY THANKS IN ADVANCE FOR YOU HELP . . .

    Have you asked the authors?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "aerolex" <[email protected]> wrote in
    message
    news:f2naeu$q66$[email protected]..
    > Hello - would anyone have any advice - or should i
    somehow reword the
    > question ?
    >
    > or could some provide some insight as to where i might
    look to resolve
    > this question ?
    >
    > THANKS AGAIN

  • Trying to make a simple voting/poll system.

    Hi everyone. I am trying to make a very basic voting system and the only part i am having trouble with is the results. The DB table has QuestionID and VoteResult. In the VoteResults you can enter the word "Excellent", "Good", "Bad". I would like it to show the result of all the "excellent" vote and add a recordcount next to it showing how many people voted Excellent and how many selected good...and so on.I also tried showing the results with cfchart, but i have a very limited knowledge or the cfchart and just couldn't get it to work....so ya.
    For example:
    Excellent 20 votes
    Good 5 votes
    Bad 75 votes
    Hope this makes sense.
    Thanks

    Here is my code
    =====   Code  =====
    <cfparam name="URL.Question" default="1" />
    <cfquery name="qResults" datasource="poll">
    SELECT QuestionID,COUNT(VoteResults) AS Votes
    FROM PollSystem
    WHERE QuestionID = <cfqueryparam value="#URL.Question#" cfsqltype="cf_sql_numeric">
    GROUP BY QuestionID
    </cfquery>
    <!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>
    </head>
    <body>
      <cfchart format="flash"
                 scalefrom="0"
               scaleto="100"> 
    <cfchartseries type="bar" 
                   query="qResults">
    <cfchartdata item="Excellent" value="#qResults.Votes#">
    <cfchartdata item="Good" value="#qResults.Votes#">
    <cfchartdata item="Bad" value="#qResults.Votes#">
    </cfchartseries>
    </cfchart>
    </body>
    </html>
    ===== End code =========
    It's showing me 4 bars, 3 are named according to the code, but there's an extra one with no name and i don't know where it came from. Plus it's show the entire vote results, for example questionid 1 has 9 votes in total. it's counting the excellent, good and bad votes together.
    Again the database table only consists of QuestionID and VoteResults. that's it.

  • Trying to make sense on how and if RBAC and MOAC could work together

    Hi All,
    We upgraded from 11.5.9 to R12.1.1 in Nov-2009.
    Since the time we have upgraded to R12, we are trying to make sense as to how and if RBAC and MOAC could work together.
    The use case is as below:
    *11i Days*
    US Accountant - accesses ‘AR superuser US’
    Canada Accountant - accesses ‘AR superuser Canada’
    France Accountant - accesses ‘AR superuser France’
    Spain Accountant - accesses ‘AR superuser Spain’
    North America Financial controller - Switches between 'AR superuser US' and 'AR superuser Canada'
    European Financial controller - Switches between 'AR superuser France' and 'AR superuser Spain'
    CFO - Switches amongst 'AR superuser US','AR superuser Canada', 'AR superuser France' and 'AR superuser Spain'
    Now in R12- (Wow there is MOAC!)
    US Accountant - accesses ‘AR superuser US’
    Canada Accountant - accesses ‘AR superuser Canada’
    France Accountant - accesses ‘AR superuser France’
    Spain Accountant - accesses ‘AR superuser Spain’
    North America Financial controller - accesses 'AR superuser North America'
    European Financial controller - accesses 'AR superuser Europe'
    CFO - accesses 'AR superuser Global'
    With R12 now there are 3 additional responsibilities.
    We have (like most of the other EBS customers) custom responsibilities and so there is maintenance.
    More the responsibilities more the maintenance...More the SOD issues.
    To prevent creating new responsibilities, we could use the ‘MO: Security Profile’ at the user level BUT that would mean that now these users would have access to multiple OUs for all the responsibilities...that is not good.
    What-If: There is only 1 responsibility 'AR SuperUser' and somehow using RBAC, roles are created and assigned to users so that they only have access to specific OUs.
    Apparently, MOAC works based on MO:Security Profile that is something that RBAC cannot control.
    Am I missing something...RBAC seems to be no good?
    In PROD(R12.1.1)- We are expecting that we would end up creating 100+ new responsibilities since we have many shared services users and they all want to benefit from MOAC...Appreciate, if you could please help us understand how we can prevent these 100+ new responsibilities from getting created?
    Thanks
    Rahul Gupta

    Hi Rahul,
    your question is quite interesting. I did a lot in the area of RBAC to understand the background.
    RBAC mainly allows you to
    - group responsibilities
    - build hierarchies
    - manage low level data access (via VPD)
    - Grant permissions (new with R12)
    Unfortunately you can't control profile options via RBAC. Therefore, the MO:Sec Profile has to stay on responsibility level. I was playing with the alternative to put this profile option on user level, but also in this case the number of maintenance steps will stay the same.
    I would like to share a document with you, what's your email (or search my name in linkedin)?
    kr
    Volker Eckardt

  • Trying to make a slideshow of image with iMovie

    Trying to make a slideshow of images for clients. Images are good quality images (5616x3744), edited in Lightroom.
    As soon as I import the images in iMovie, I see a clear degradations in quality. All the blacks are full of pixels. Impossible to work with.
    I can't even imagine the export that this file would suffer in term of quality.
    I did change in Preferences - Video : Import video in HD format. I've tried both options. Doesn't change a thing.
    Anyone? Am I a fool to think that iMovie should be doing a better job at handling those files ?
    Let me know !
    Thanks !

    Hi
    (5616x3744)
    • is a far higher resolution than iMovie can handle
    • downscaling is done badly in iMovie
    • is far more resolution that any screen / Projector I know of can show
    • and if You go for a DVD as result the quality loss will be even worse
    iMovie - should be able to handle 1920x1080 (at it's best I guess)
    DVD is as standard - interlaced SD-Video (at it's best)
    • NTSC (29.97fps) 520 lines - about 640x480 pixels (square) 720x480 rectangular (narrow) pixels
    • PAL  (25 fps)   625   lines - about 768x576 pixels (square) 720x576 rectangular (narrow) pixels
    If iMovie'08 to 11 is used in a DVD process then 50% of SD-Video quality is lost as they all discard every second line in the picture.
    So when I do my SlideShows I do
    • Use iMovie HD6 or FinalCut any version - as they deliver max (100% interlaced SD-Video) to DVD authoring software
    • FotoMagico™ - included in Roxio Toast™ bundle - then burn as Blu-Ray (on standard DVDs - CAN ONLY be played on BD-Players as PlayStation3 (not even on the Mac))
    Yours Bengt W

  • HT4009 I am trying to make an in-app purchase and it just keeps telling me to contact itunes support , why is it telling me this, it has never done this before??

    I just redeemed 100.00 on itunes and am trying to make an in-app purchase on a game and it let me make one purchase, when i went to make a second purchase a message popped up telling me to contact itunes support, not sure why??

    You contact iTunes support.

  • Trying to make a graph that actually works

    I’m trying to make a graph for my boss that displays
    the number of tickets each staff member have completed.
    I found this tutorial:
    http://www.flashkit.com/tutorials/Dynamic_Content/Creating-Zoubin_Z-61/index.php
    However when I finished it, I wanted to create a dynamic text
    box that would display the value for each graph when it said that
    the code used was written in Flash 4, so it can’t do that. :(
    So I started rebuilding the tutorial in flash 9 but then
    realized that the old code wouldn’t work with the new
    version!! ARGH!!
    So basically I’m a bit stuck.
    I’m a beginner to intermediate flash user. But
    don’t have much knowledge of the coding side of things.
    The main part I need converted is this:
    quote:
    Set Variable: "a"=1
    Loop While (A<29)
    Set Variable: "bar"&a = Random (100)
    Set Variable: "a" = a+1
    End Loop
    Set Variable: "a"=1
    Loop While (a<29)
    Begin Tell Target ("var"&a)
    Goto and Stop (Eval("_level0/:bar"&../:a))
    End Tell Target
    Set Variable: "a" = a+1
    End Loop
    Which was written for version 4, but needs to work with the
    latest which is 9 (?).
    All I know so far is that, the Set Variable, has been
    replaced with LoadVariable for the new version. Is that right?
    I’ve been stressing over this for hours last night and
    this morning, trying all different methods from forums and tutorial
    sites, but nothing is working. So as a last resort I’m
    reaching out for help from the experts.
    Thanks in advance!!

    I've been messing with your graph all day and I'm having a
    lot of fun just playing with the code
    It's nice to see some code made especially for this purpose.
    Really clears things up.
    So thanks again clbeech!
    If you don't mind, I've got 3 more questions, if you've got
    the spare time to look:
    Screenshot
    of what I've done so far
    Here is the
    modified action script:
    quote:
    stop();
    var chartScale = 300; //max scale number
    var xml = new XML();
    xml.ignoreWhite=true;
    xml.onLoad = function() {
    date_txt.text = updated;
    var xpos =graph._width /
    (this.firstChild.childNodes.length+1);
    for(var i=0; i<this.firstChild.childNodes.length; i++) {
    graph.attachMovie('bar','bar'+i, i, {_y:xpos*(i+0),
    _x:100});
    graph['bar'+i].name_txt.text = this.firstChild.childNodes
    .attributes.staff;
    graph['bar'+i].num_txt.text =
    this.firstChild.childNodes.attributes.tickets;
    graph['bar'+i].imp_txt.text = this.firstChild.childNodes
    .attributes.improvement;
    var pct =
    Number(this.firstChild.childNodes.attributes.tickets) /
    chartScale * 200;
    graph['bar'+i].bar_bg._yscale = pct;
    xml.load('graphData.xml');
    And this is the
    modified XML data:
    quote:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <graphdata>
    <data staff="david" tickets="300" improvement="12"/>
    <data staff="trent" tickets="267" improvement="9"/>
    <data staff="andrew" tickets="250" improvement="14"/>
    <data staff="nathan" tickets="2" improvement="22"/>
    <data staff="matt" tickets="274" improvement="2"/>
    </graphdata>
    <data date="9th June 2008"/>
    1.
    In the top right hand corner of the screenshot, you'll see
    there is a "Last Updated" static text box followed by a dynamic
    text box called "date_txt". But I wasn't sure where to put the
    code, in the XML file! If I put it between the <graphdata>
    tags then it creates a new graph bar called "UNDEFINED" lol
    Do I create a new tag called 'datedata' or something and put
    it in there? I tried various methods but none of which worked. Any
    idea how to make that work?
    I googled and found this page:
    Webby
    But it seems to write the code in a completely different way to
    you. Also their method doesn't work.
    2.
    Is it at all possible to make the graphs sort themselves and
    arrange from highest to lowest according to the ticket value?
    3.
    How difficult would it be to animate the graphs?? So that
    when you open the flash file, the bars go zooming across and stop
    at the right value?
    I'd imagine it'd be a fair amount of work. But I thought I'd
    ask anyway.
    Thanks showing me the ways guys!
    I'm learning a lot.

  • New to Java and trying to make a game

    I'm really new to Java so please try not to roll over laughing at the following code. At the moment, as you can hopefully pick up from the code, i'm trying to get a shape(Polygon) to respond to keyboard events and i'm trying to make the object primarily respond to the cursor keys and to move the Polygon in the corresponding directions of the cursors. I'm stuck and i think i have initialised everything but i can't get the shape to move. I'm pretty sure i'm missing required code in the paint method.
    <code>
    import java.awt.*;
    import java.awt.Event.*;
    import java.applet.*;
    import java.io.*;
    public class PlodInvaders extends Applet implements Runnable {
    Point start, end, fire, shield, target;
    int co_x, x, y;
    int co_y;
    int current_x, current_y;
    char current_key;
    Font theFont;
    Thread th;
    Image ship;
    Polygon p;
    public void init() {
    setBackground(Color.black);
    // mouse co-oridnates
    co_x = this.size().width + 5;
    co_y = this.size().height + 5;
    theFont= new Font("Courier", Font.BOLD, 24);
    current_x = 150;
    current_y = 100;
    public void start() {
    th = new Thread(this);
    th.start();
    public boolean KeyDown(Event evt, int key) {
    switch(key) {
    case Event.LEFT: current_x = current_x - 10; break;
    case Event.RIGHT: current_x = current_x +10; break;
    case Event.UP: current_y = current_y + 10; break;
    case Event.DOWN: current_y = current_y - 10; break;
    default: current_key = (char) key;
    start = new Point(x, y);
    repaint();
    return true;
    public boolean MouseDown(Event evt, int x, int y) {
    fire = new Point(x, y);
    return true;
    public boolean MouseUp(Event evt, int x, int y) {
    target = new Point(x, y);
    repaint();
    return true;
    public void run() {
    public void paint(Graphics g){
    Polygon p = new Polygon();
    g.setColor(Color.white);
    p.addPoint(20,20);
    p.addPoint(50,25);
    p.addPoint(50,50);
    p.addPoint(25,50);
    p.addPoint(20,20);
    g.fillPolygon(p);
    </code>

    this is not prefect and it is not a applet, but it will make you start. you can email if you have any qeustions
    import java.awt.*;
    import java.awt.event.*;
    public class MoveP extends Frame implements KeyListener
         Polygon po = new Polygon();
            int ix=0;
         int iy=0;
    public MoveP()  
         addWindowListener(new WindowAdapter()
        {     public void windowClosing(WindowEvent ev)
              {     dispose();
                   System.exit(0);
         addKeyListener(this);
         setSize(300,372);
         po.addPoint(20,20);
         po.addPoint(50,25);
         po.addPoint(50,50);
         po.addPoint(25,50);
         po.addPoint(20,20);
         setVisible(true); 
    public void paint(Graphics g)
         g.setColor(Color.black);
         for (int i=0; i < po.npoints; i++)
              po.xpoints[i]+=ix;
              po.ypoints[i]+=iy;
         g.fillPolygon(po);
    public void keyTyped(KeyEvent e)
    public void keyPressed(KeyEvent e)
         ix = 0;
         iy = 0;
         int k = e.getKeyCode();
         if (k == 40) iy++;
         if (k == 38) iy--;
         if (k == 39) ix++;
         if (k == 37) ix--;
         repaint();
    public void keyReleased(KeyEvent e)
    public static void main (String[] args)
         new MoveP();
          Noah

  • Trying to make out this license plate

    I have been trying to make out a license plate for some time now.  It from cctv footage taken at night and I am wondering if there are any plugins or suggestions of how to go about it.  I would appreciate any suggestions.  Thank you.  I realize there is probably no way to make out the numbers but worth a try.

    Now, if you could only get your hands on a copy of Photoshop CSI:
    I think that Noel might be the only person, outside of TV, who has a copy...
    Good luck, and I have been exactly where you are. In my case, I had daylight images, and the community's security camera got a good shot of the license plate. That part, plus my video, all went well. The one thing that was missing was a 100% positive ID of the driver. The community added two more cameras at the gate, to record both the driver's face, plus any front-seat passenger's face. However, that was too late in my case.
    Hope that you can extract that data,
    Hunt

Maybe you are looking for

  • Device Driver Installation on Virtual PC XP mode

    Hi, I am having Windows 7 Professional setup. I have installed Windows Virtual PC XP Mode on it. I need to access USB for connecting my Windows Embedded device with Visual Studio Platform Builder which has installed in XP mode. Using USB over network

  • How to restore my deleted videos from my mac book pro

    I had mistakenly deleted some of my iphone camera movies stored on my mac book bro, Can anyone help me to restore it back, if there is any free software. thanks & regards

  • WD for ABAP - select options

    hi folks, has anyone ever used the select-options component in an own abap webdynpro application, i know there is a sample program but no documentation on it, can anyone give me a hint how to use it easily? kind regards, oliver

  • Best Practice:  Using a static variables and methods vs singleton pattern

    Just curious, since when anything, within a class, is denoted as static it typically will be stored in main memory as a class property(method, variables, etc). Is it a good practice to be doing this all the time or is the singleton pattern a better c

  • Which jar file is used for IMonitorInfoProvider?

    I'm trying to create a repository service but I'm getting "outside the class path " error for com.sap.netweaver.km.IMonitorInfoProvider. I'm not sure which jar file have to pick as this is not available inside my IDE/../Plugins folder.