***I need help with my SPRY MENU BAR***

Hi everyone,
I have installed a Horizontal and Vertical Spry Menu Bar.
It looks great, but I can not figure this out.
When I click on any of the links on the bars,
my text jumps to the righ
Can someone please tell me how I can make
the text to stop jumping.
My test page is located at the link below:
http://www.tonyasdynamicdesigns.com/gregs-pages/index.html
Thank you so much for your help,
Tonya

I know that the problem is in my main-css.css because
when I deleted this css code, the text jumping stopped.
I can not figure out how to fix my main-css.css style.
Can you please help me?
Below is part of my css code
that is causing the problem.
body {
          background-color: #000000;
          background-repeat: repeat;
          background-image: url(.../gregs-images/bg.jpg);
          background-position: center;
          background-attachment: fixed;
#container {
          width: 965px;
          fixed-width: 965px;
          background-color: #1f1f1f;
          margin-right: auto;
          margin-left: auto;
          font-size: 12px;
          color: #afafaf;
          font-family: Arial, Helvetica, sans-serif;
          font-style: normal;
          line-height: normal;
          font-weight: normal;
          font-variant: normal;
          text-transform: none;
          text-decoration: none;
          border: 2px solid #1f1f1f;
          margin-bottom: 30px;
          margin-top: 30px;
          background-image: url();
          background-repeat: repeat;
#shadow {
          width: 968px;
          background-image: url(.../images/vertical-website-background-shadow.png);
          background-repeat: repeat-y;
          margin-right: auto;
          margin-left: auto;
#bottomShadow {
          margin-right: auto;
          margin-left: auto;
          width: 968px;
          background-repeat: no-repeat;
          background-image: url(.../images/bottom-website-background-shadow.png);
          height: 54px;
#header {
          height: 272px;
          background-image: url(../gregs-images/smokehouse-studios-banner.png);
          width: 965px;
#footer {
          height: 381px;
          font-family: Arial, Helvetica, sans-serif;
          font-size: 12px;
          clear: both;
#navigation  {
          width: 900px;
          fixed-width: 900px;
          background-color: #1f1f1f;
          display: in-line;
          position: fixed;
          overflow: hidden;
#content  {
          font-family: Arial, Helvetica, sans-serif;
          font-size: 14px;
          color: #afafaf;
          background-repeat: repeat;
          background-image: url(.../gregs-images/grey-gradient-bg.png);
          background-color: #1f1f1f;
          text-align: left;
          width: 965px;

Similar Messages

  • Help with a Spry Menu Bar

    I'm having trouble with a Spry Menu Bar not displaying
    correctly in Internet Explorer, while it displays fine in every
    other browser I have available. I've done some searching on these
    boards, but the queries I've found with the same type of problem
    each has a knowledgeable person editing the code for the
    poster...and I can't seem to make heads or tails of it.
    So, below is my link. What you'll see if viewed in Explorer
    is that the "Clinics" listing and the "Services & Specialties"
    listing are each on the same horizontal line, rather than vertical
    like the rest of the menu. If anyone can help me in correcting this
    problem, I'd be very appreciative.
    Thanks in advance.
    http://www.chambershospital.com/temp/about.html

    Hello,
    You might try removing all of the <div> tags you
    inserted in the menu.
    This can happen if you select text in design view and use the
    "align" icons
    in the properties window instead of using CSS to align
    things.
    For example:
    <li>
    <div align="left"><<****REMOVE THIS
    <a href="clinics.html"
    class="MenuBarItemSubmenu">Clinics</a>
    <ul>
    <li><a href="clinic.html">Chambers
    Clinic</a></li>
    <li><a href="clinic7.html">Scenic 7
    Clinic</a></li>
    </ul>
    </div><<*** REMOVE THIS
    </li>
    So it looks like this:
    <li><a href="clinics.html"
    class="MenuBarItemSubmenu">Clinics</a>
    <ul>
    <li><a href="clinic.html">Chambers
    Clinic</a></li>
    <li><a href="clinic7.html">Scenic 7
    Clinic</a></li>
    </ul>
    </li>
    Repeat for all the other <div align="left"> and
    </div> tags in the menu.
    Take care,
    Tim
    "Zim74" <[email protected]> wrote in message
    news:fv4vc0$r0t$[email protected]..
    > I'm having trouble with a Spry Menu Bar not displaying
    correctly in
    > Internet
    > Explorer, while it displays fine in every other browser
    I have available.
    > I've
    > done some searching on these boards, but the queries
    I've found with the
    > same
    > type of problem each has a knowledgeable person editing
    the code for the
    > poster...and I can't seem to make heads or tails of it.
    >
    > So, below is my link. What you'll see if viewed in
    Explorer is that the
    > "Clinics" listing and the "Services & Specialties"
    listing are each on the
    > same
    > horizontal line, rather than vertical like the rest of
    the menu. If
    > anyone can
    > help me in correcting this problem, I'd be very
    appreciative.
    >
    > Thanks in advance.
    >
    >
    http://www.chambershospital.com/temp/about.html
    >
    >

  • Help with vertical spry menu bar submenu displaying incorrectly!

    I’m new to Dreamweaver and am learning as I go. I am having a problem with the vertical spry menu bar submenu in the Live View. When I scroll over the spry menu bar option that has a submenu, the submenu appears in the upper right hand corner of my screen. (My menu bar is going down the left hand side.) However, when I preview it in Internet Explorer it looks fine after I allow the Java Script to run or the Active X controls, which my browser usually automatically blocks. (The browser just displays a small message along the top and I click on it to allow it.) To get it to do this much, I had to play around with the CSS for the spry menu bar a little bit.
    Before, when I clicked on the Live View option, a small message ran along the top in Dreamweaver saying it couldn’t find the Flash Plugin and asked me to download the most recent FlashPlayer, which I did twice. It continued to say that and then I just closed that message that kept popping up, but I think that has something to do with the problem. I then researched that problem in the Spry Framework Help and Dreamweaver Help, but couldn’t find a solution that worked. (Someone had posted a link for downloading the Flash Player for Netscape Navigator, but that didn’t seem to do anything.)
    Please also note that I am using one of Dreamweaver’s pre-built layouts. I don’t know if that makes a difference with this problem.
    How do I fix this problem so that it displays correctly in the LiveView? And will the message that I get on my browser about allowing blocked content appear on other people’s computer when they open my website?

    IE is a big problem child among browsers.  Don't use it as your default browser.
    For best results, build your site to display & perform well in the web standards browsers like Firefox, Chrome, Safari & Opera.   If it works in one, it should work pretty much the same in all of them.
    After you're satisfied with how your site looks in the good browsers, then test in IE.  If needed, add hacks or conditional comments to make IE behave.  There are many web sites that discuss known bugs in IE and how to work around them.
    Lastly, the active X nag screens only appear locally.  Once deployed on the remote server, you won't see them.
    For better answers to your layout questions, we need to see your page.  Can you post a URL?
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Problems with my spry menu bar, need help

    i made a spry menu bar, and it works on my computers at my house and my computers at school, but on other computers the home page menu bar is in the middle of the page (not on the left side) and on the other pages the menu bar submenus dont go out to the side of that button, its hard to explain but the "designs" button has a sub menu that is supposed to go out to the side of it but it goes out to the side at the top!.. please look at it for me...?
    www.branchoutadvertising.com
    Linda

    i made a spry menu bar, and it works on my computers at my house and my computers at school, but on other computers the home page menu bar is in the middle of the page (not on the left side) and on the other pages the menu bar submenus dont go out to the side of that button, its hard to explain but the "designs" button has a sub menu that is supposed to go out to the side of it but it goes out to the side at the top!.. please look at it for me...?
    www.branchoutadvertising.com
    Linda

  • Dreamweaver Help | Working with the Spry Menu Bar widget

    This question was posted in response to the following article: http://helpx.adobe.com/dreamweaver/using/spry-menu-bar-widget.html

    Adobe has discontinued further Spry development.
    http://blogs.adobe.com/dreamweaver/2012/08/update-on-adobe-spry-framework-availability.htm l
    You can continue using Spry but if mobile & tablets are your concern, I would use a different menu system.
    Project Seven's Commercial Extensions:
    http://www.projectseven.com/products/templates/pagepacks/adaptations/index.htm
    http://www.projectseven.com/products/menusystems/index.htm
    Or roll your own with jQuery plug-ins:
    http://webdesign.tutsplus.com/tutorials/site-elements/big-menus-small-screens-responsive-m ulti-level-navigation/
    https://github.com/mattkersley/Responsive-Menu
    http://speckyboy.com/2012/08/29/10-responsive-navigation-solutions-and-tutorials/
    Nancy O.

  • IE problems with vertical spry menu bar

    hi,
    first of all: I'm aware that this problem has been discussed
    before. but nothing I've found so far has really helped me.
    the problem is that my vertical spry menu bar doesn't work
    properly with the internet explorer. I've (clumsily) repositioned
    the submenu bars, but that didn't seem to be the main problem.
    I'm using dreamweaver cs3 on a mac and have checked for
    safari and firefox, in which everything works fine. I'd be very
    grateful if someone could have a look at
    www.philipbirau.com/portfolio.htm.
    unfortunatly, I have neither the skills nor the money for
    'professional' webdesign, so any hint will be appreciated. if you
    need more information, please let me know.
    thanks!
    philip

    hi,
    first of all: I'm aware that this problem has been discussed
    before. but nothing I've found so far has really helped me.
    the problem is that my vertical spry menu bar doesn't work
    properly with the internet explorer. I've (clumsily) repositioned
    the submenu bars, but that didn't seem to be the main problem.
    I'm using dreamweaver cs3 on a mac and have checked for
    safari and firefox, in which everything works fine. I'd be very
    grateful if someone could have a look at
    www.philipbirau.com/portfolio.htm.
    unfortunatly, I have neither the skills nor the money for
    'professional' webdesign, so any hint will be appreciated. if you
    need more information, please let me know.
    thanks!
    philip

  • Problems with Vertical Spry menu bar in Internet Explora

    Hi I'm new to Dreamweaver,
    I having trouble with a new site I'm making in CS4. A problem with a vertical menu bar, in IE. Can anyone help?
    1. The text is left aligned and should be centered.
    2. The menu bar has moved left
    3. My paragraph text has moved up the page and aligned itself to the to the menu bar.
    Website address: http://www.greenwyse.co.uk/
    I'm finding dreamweaver a bit clunky, reading the 'Missing Manual' but still very frustrating. Any one have any idea's/
    cheers
    myquirk

    Sorry, but your CSS is has been mangled beyound recognition.
    The solution is to start with an untouched style sheet. Then add or modify the CSS testing in your browsers as you make the changes.
    Have a look at the following where I have positioned the menu. All that is now required is the styling for font and the hover event.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet">
    <style>
    body {width: 960px;    margin: auto;}
    .article {clear: both; margin: 20px;}
    /* SPRY MENUBAR */
    ul.MenuBarVertical {width: 29em; margin: auto; border: none;}
    ul.MenuBarVertical li {width: 29em; text-align: center;}
    ul.MenuBarVertical a {background-color: transparent;}
    </style>
    </head>
    <body>
    <h1><img src="http://www.greenwyse.co.uk/greenwyse natural products/green_wyse_logo.png" width="200" height="136" alt="Green Wyse Natural Body Care Products" longdesc="greenwyse natural products/green_wyse_natural_body_care_products.png" /></h1>
    <ul id="MenuBar1" class="MenuBarVertical">
      <li><a href="index.html">100% Natural</a></li>
      <li><a href="greenwyse natural products/about dawn Ireland.html">Handmade</a></li>
      <li><a href="greenwyse natural products/Hand-Made-Natural-Bodycare.html">Eco Friendly</a>      </li>
      <li><a href="greenwyse natural products/green wyse body care products.html">Luxurious Body Care</a>    </li>
    </ul>
    <div class="article">
      <p>Working through a top-down, bottom-up approach, the vitality of conceptual synergies is of supreme importance to focus on improvement, not cost. Motivating participants and capturing their expectations, through the  adoption of a proactive stance, the astute manager can adopt a position at the vanguard. Building flexibility through spreading knowledge and self-organization, by moving executive focus from lag financial indicators to more actionable lead indicators, the new golden rule gives enormous power to those individuals and units.</p>
      <p>Organizations capable of double-loop learning, empowerment of all personnel, not just key operatives, measure the process, not the people. In a collaborative, forward-thinking venture brought together through the merging of like minds. The balanced scorecard, like the executive dashboard, is an essential tool in order to build a shared view of what can be improved, the vitality of conceptual synergies is of supreme importance. While those at the coal face don't have sufficient view of the overall goals.</p>
    </div>
    <!-- I prefer to keep the JS at the bottom of my document -->
    <script src="SpryAssets/SpryMenuBar.js"></script>
    <script>
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    </html>
    Gramps

  • Help with vertical Spry menu

    I posted this in the general forum, but thought I'd repost
    here since this is more specific to Spry.
    I'm having issues in IE (6 & 7...surprise, surprise) with
    my vertical spry menu. It displays exactly the way I want it when I
    use Opera. I think it has to do with the whitespace:nowrap on the
    2nd level menu items, but I really don't know. I want the 2nd level
    menu to be different width than the 3rd level, so I have both
    levels set to auto width with nowrap.
    This is how it looks in IE 7:
    Menu
    in IE
    This is how it looks in Opera (correct):
    Menu
    in Opera
    Attached is my CSS as well. Let me know if you need the HTML,
    too.
    Thank you for helping!
    quote:
    @charset "UTF-8";
    /* SpryMenuBarVertical.css - Revision: Spry Preview Release
    1.4 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights
    reserved. */
    LAYOUT INFORMATION: describes box model, positioning,
    z-order
    /* The outermost container of the Menu Bar, a fixed width box
    with no margin or padding */
    ul.MenuBarVertical
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    cursor: default;
    width: 8em;
    /* Set the active Menu Bar with this class, currently setting
    z-index to accomodate IE rendering bug:
    http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html
    ul.MenuBarActive
    z-index: 1000;
    /* Menu item containers, position children relative to this
    container and are same fixed width as parent */
    ul.MenuBarVertical li
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    position: relative;
    text-align: left;
    cursor: pointer;
    width: 8em;
    /* Submenus should appear slightly overlapping to the right
    (95%) and up (-5%) with a higher z-index, but they are initially
    off the left side of the screen (-1000em) */
    ul.MenuBarVertical ul
    margin: -5% 0 0 95%;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    position: absolute;
    z-index: 1020;
    cursor: default;
    width: auto;
    left: -1000em;
    top: 0;
    white-space: nowrap;
    /* Submenu that is showing with class designation
    MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen
    ul.MenuBarVertical ul.MenuBarSubmenuVisible
    left: 0;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarVertical ul li
    width: auto;
    white-space: nowrap;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Outermost menu container has borders on all sides */
    ul.MenuBarVertical
    border: 1px solid #CCC;
    /* Submenu containers have borders on all sides */
    ul.MenuBarVertical ul
    border: 1px solid #CCC;
    /* Menu items are a light gray block with padding and no text
    decoration */
    ul.MenuBarVertical a
    display: block;
    cursor: pointer;
    background-color: #EEE;
    padding: 0.5em 0.75em;
    color: #333;
    text-decoration: none;
    /* Menu items that have mouse over or focus have a blue
    background and white text */
    ul.MenuBarVertical a:hover, ul.MenuBarVertical a:focus
    background-color: #33C;
    color: #FFF;
    /* Menu items that are open with submenus are set to
    MenuBarItemHover with a blue background and white text */
    ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical
    a.MenuBarItemSubmenuHover, ul.MenuBarVertical
    a.MenuBarSubmenuVisible
    background-color: #33C;
    color: #FFF;
    SUBMENU INDICATION: styles if there is a submenu under a
    given menu item
    /* Menu items that have a submenu have the class designation
    MenuBarItemSubmenu and are set to use a background image positioned
    on the far left (95%) and centered vertically (50%) */
    ul.MenuBarVertical a.MenuBarItemSubmenu
    background-image: url(SpryMenuBarRight.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    /* Menu items that are open with submenus have the class
    designation MenuBarItemSubmenuHover and are set to use a "hover"
    background image positioned on the far left (95%) and centered
    vertically (50%) */
    ul.MenuBarVertical a.MenuBarItemSubmenuHover
    background-image: url(SpryMenuBarRightHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless
    you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form
    controls, we underlay each submenu with an iframe */
    ul.MenuBarVertical iframe
    position: absolute;
    z-index: 1010;
    /* HACK FOR IE: to stabilize appearance of menu items; the
    slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
    ul.MenuBarVertical li.MenuBarItemIE
    display: inline;
    f\loat: left;
    background: #FFF;

    IE is a big problem child among browsers.  Don't use it as your default browser.
    For best results, build your site to display & perform well in the web standards browsers like Firefox, Chrome, Safari & Opera.   If it works in one, it should work pretty much the same in all of them.
    After you're satisfied with how your site looks in the good browsers, then test in IE.  If needed, add hacks or conditional comments to make IE behave.  There are many web sites that discuss known bugs in IE and how to work around them.
    Lastly, the active X nag screens only appear locally.  Once deployed on the remote server, you won't see them.
    For better answers to your layout questions, we need to see your page.  Can you post a URL?
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • I need help with the navigation menu please?

    I have been working my way through your six part printed instructions and I am styling the header and navigation menu.  The bullet points disappeared which was correct and the tabs moved to the right, as they should, but one tab sits underneath another tab and all tabs are covered up by my main heading.  This is dreamweaver CS6.
    It looks a bit of a mess!

    I have moved this to the main Dreamweaver forum, as the other forum is intended to deal with the Getting Started video tutorial.
    The best way to get help with layout problems is to upload the files to a website and post the URL in the forum. Someone can then look at the code, and identify the problem. Judging from your description, it sounds as though the Document window is narrow, which would result in the final menu tab dropping down to the next row. Try turning on Live view or previewing the page in a browser. Design view gives only an approximate idea of the final layout. Live view renders the page as it should look in a browser.

  • Help with my moving menu bar in my webpage

    Hello,
    First of all I am completley new to webdesign and have no clue what I am doing so you will probably see me posting alot in the upcomming weeks. Im trying to create a wepbage for our youthministry at church. The webpage is www.ccifuel.com. My first question is about the navigation menu on it. It seems to move from one place to another when the web browser expands and I would like it to stay in a fixed position over the image. How do I do that? My last question is that im trying to creat a form to collect email addresses to start a newsletter in the box labeled "Join our mailing list!" but when I try to enter a spry validation text field it says, "You cannot insert this widget into an editable region..." and so on. Any idea how to make that area locked so i can insert a form there or would there be a better way to do this? thanks for all the help in advance!

    First of all I am completley new to webdesign and have no clue what I am doing so you will probably see me posting alot in the upcomming weeks.
    In that case, you really should  work your way through some tutorials first.  These aren't hard and they'll give you basic skills to work with    X/HTML & CSS.
    Start here:
    HTML & CSS Tutorials - http://w3schools.com/
    My first question is about the navigation menu on it. It seems to move from one place to another when the web browser expands and I would like it to stay in a fixed position over the image.
    Why  do APDivs move?
    http://forums.adobe.com/message/2181263#2181263
    Your best course of action is to build your HTML content so that it flows naturally from top of page to bottom.  Then use CSS default positioning (which is no positioning at all) along with floats, margins and padding to align  elements on  page.
    From  Tables to CSS Web Design Part 1 -
    http://www.adobe.com/devnet/dreamweaver/articles/table_to_css_pt1.html
    From   Tables to CSS Web Design Part 2 -
    http://www.adobe.com/devnet/dreamweaver/articles/table_to_css_pt2.html
    Best of luck,
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Need help with pop-up menu and applied Rules

    I'm working on a spreadsheet that calculates my profit and losses. I drive a big rig so it needs to keep track of a lot of variables so I know if I'm going to make money on a run or lose money.
    I get fuel discounts of various amounts depending on which vendor I fuel at.
    I went to a section of the sheet and did a pop-up menu that contains the vendor names.
    In the trip section I have cost of fuel per gallon, gallons purchased, total fuel cost, cost minus fuel surcharge.
    What I would like to do is apply a rule to cost per gallon box (H7) that takes a variable from the pop-up menu (B40).
    So if H7 has $2.58 entered as a cost and B40 has pilot selected then $0.050 will automatically be deducted from the $2.58. This way I will have a history of where I fuel, the deduction is made automatically, and I have a history of fuel prices in a certain region.
    If anyone looks at this and sees a simpler way of figuring this calculation please make the suggestion. I want to keep this sheet as small and hassle free as possible.
    I have 3 fuel stops per trip with totals that are connected to other areas. Once I get all of this done I will be adding a chart for easy comparison and long range simple tracking to see where improvements can be made and costs are going.
    Thanks in advance all help will be appreciated.
    Message was edited by: Hwoodwriter for clarification.

    The IF Lookup table worked. Did a little modification by placing the table in another part of the chart then hiding that part.
    I tried doing the discount as a negative but got a negative total which had a negative affect on my total trip income.
    Here is how it works in it's final version.
    Gallons on board minus gallons required for trip.
    Cost per gallon (retail) multiplied by gallons purchased.
    Fuel cost equals (Gallons purchased multiplied by Retail gallon price) minus ("IfLookup" multiplied by Gallons purchased)
    Fuel Cost Minus Fuel Surcharge (the actual price I pay, which includes all my savings) equals (Retail Gallon Cost minus Fuel Surcharge minus "IfLookup") multiplied by Gallons Purchased.
    Some of my trips take up to 3 fuel stops. So this helps me keep track of each fuel stop and all savings per trip.
    I now have where I fueled, the retail price, with discount and surcharge applied. A few keystrokes and I know if a trip is going to be profitable or a loss for me.
    Thank you for the help. I now have what I need at my fingertips to make my job more effective.
    Thanks again.

  • Need help with Threading GUI progress bar

    Anyone able to help? I'm sure you've seen this a million times. I've google'd around and tried examples but still can't get a progress bar to work properly under the following situation:
    1. Created a panel with several components to select directory, display directory in tree etc.
    2. When a specific button (Search) is clicked, I want a secondary window to popup and report progress of searching down the directory.
    As you'll probably guess, the progress window isn't being updated until the end. I'm using Threads and using InvokeLater but nothing happens. Is there any good example that does the above? I can't seem to find one to figure this out.
    Thanks
    Speedy.
    Sample code:
    main.java:
    ========
    public class Main {
    public static void main(String[] args) {
    MainPanel mainPanel = new MainPanel();
    mainPanel.show();
    MainPanel.java:
    ============
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    public class MainPanel extends JFrame implements ActionListener {
    public MainPanel() {
    this.setSize(100,100);
    JButton startButton = new JButton("Start");
    this.getContentPane().add(startButton);
    startButton.addActionListener(this);
    public void actionPerformed(ActionEvent event) {
    ProgressPanel pp = new ProgressPanel();
    pp.show();
    SimpleTask st = new SimpleTask(pp);
    st.start();
    while (st.isAlive()) {
    System.err.println("waiting..");
    try {
    Thread.sleep(100);
    } catch (Exception e) {};
    System.err.println("finished!");
    SimpleTask.java:
    =============
    import javax.swing.SwingUtilities;
    public class SimpleTask extends Thread {
    ProgressPanel pp = null;
    public SimpleTask(ProgressPanel _pp) {
    pp = _pp;
    this.setDaemon(true);
    int i = 0;
    String position = "";
    public void run() {
    Runnable updateGUI = new Runnable() {
    public void run() {
    pp.setText(position);
    try {
    for (i=0; i<50; i++) {
    position = "Now on = " + new Integer(i).toString();
    System.err.println(position);
    SwingUtilities.invokeLater(updateGUI);
    sleep(100);
    } catch (Exception e) {}
    ProgressPanel.java:
    ===============
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    public class ProgressPanel extends JFrame {
    private JLabel label = new JLabel();
    public ProgressPanel() {
    this.setSize(200,200);
    this.setLocation(100,100);
    this.getContentPane().add(label);
    setText("Start");
    public void setText(String text) {
    label.setText(text);
    }

    Ok, I'll look down that road. I should have said the Thread is being used because the current while loop will be changed to perform real work. Just an example at the moment to show what I'm trying to do. Does this make a difference? The real task will be to drill down directories, counting file types/dirs etc...

  • Need help with Drop Down Menu _ URGENT!!

    Hello -
    I'm new to Dreamweaver. I actually have an old version
    (Dreamweaver MX 2004).
    I'm updating a website for work and this needs to be done as
    soon as possible so I'd appreciate if anyone can be so kind as to
    shed light on ANYTHING. =/
    This is what I need:
    I need a drop down menu; when a selection is chosen, I need
    information regarding that selection to appear on the bottom of the
    page. (I am working off an Excel sheet - it has list of service
    descriptions along w/ the unit price, frequency & other fields.
    So If I chose "database hosting" off the drop down list,
    information would be generated (ie. it's corresponding unit price,
    frequencies, etc.)
    I've attached an example of a code but I cannot use that code
    (which has JavaScript) to tweak what I need exactly.
    I am VERY new to this so if anybody can help be out I would
    GREATLY appreciate it.
    Thanks!!

    >I buy all their stuff as it
    > is excellent.
    Double Ditto!
    Walt
    "Paul Gillard" <[email protected]> wrote in
    message
    news:gedcoi$d65$[email protected]..
    > Hi
    > To be honest, the very best thing you can do is to get
    hold of a DW
    > extension
    > from
    http://www.projectseven.com
    and then you will be able to have a
    > completely
    > editable 'easy to implement' drop-down menu system! I
    buy all their stuff
    > as it
    > is excellent.
    >
    > Cheers
    > Paul
    >

  • Need help with drop down menu

    Hi guys,
    I'm using div's for the main navigation of my site and want to create a drop down for the first two buttons. All the tutorials I have seen have been for using unordered lists but I need to use divs for this navigation set (long story!).
    Can anyone help me get them set up please? Ideally I would like the drop downs to fade in but it's not essential. I take it I need to create an absolutely positioned div where I want my drop downs to appear, is that correct? - but then where do I go from there?
    If you click here for my test site.
    Thank you very much and I hope to hear from you.
    SM

    Hi Ken,
    Thank you for the reply.
    I had the main nav as an unordered list to begin with but for some reason I didn't find them as easily controllable as the div's i.e. setting widths and heights etc. as I wanted each button to have a set width, instead of just having text with padding. Originally I had the button divides set as border left and right strokes but for some reason they weren't adding up, I think because of the padding I had on them. I know you can set these with unordered lists but opted for divs in the end!
    Hope that helps.
    Thanks again,
    SM

  • Need help with this Spry "processTokens()" error

    I am using Dreamweaver CS4 Beta, and using the new Spry data
    set wizard to create a data connection using an HTML file that
    contains a table of simple data. Getting through the guided steps
    of creating the data set and the master/detail page is a piece of
    cake, but when I run the page in a browser I get this white box
    with the red header in the lower right corner of the browser that
    reads
    "processTokens(): Value reference has no data set specified:
    {Content}". It obviously doesn't like something about the data
    in the content column but I don't know exactly what to do from
    here, not having seen this error before.
    A quick note about the source file for the data. It's an HTML
    file with a table that has two columns (name and content). The
    content column has some basic HTML but nothing beyond simple text
    formatting and mailto links. The table has been given an ID too.
    I didn't have much luck finding anything on this error on
    google or anywhere else for that matter. Does anyone know what
    causes this or how to solve the problem?

    I solved my own problem, so I figured I would post it in case
    someone
    else runs into this.
    When inserting a new spry dataset from Dreamweaver CS4 onto a
    site
    that already has sprydata.js on it, you must delete the
    existing
    sprydata.js so that CS4 will copy the newer version onto the
    site. Otherwise, it sees that the filename exists already and
    won't
    update it. The older sprydata.js that comes from CS3 does not
    work well with the new spry dataset tool in CS4.

Maybe you are looking for

  • Early-2009 Macbook display dimming

    I have read several posts and watched several videos on this already, however my problem seems slightly unique as to what I have read so far. (I may be wrong about that.) My Macbook's display constantly dims to an almost black, I didn't realize the d

  • How do you download the application???????  It says to pick an application to download??? What?

    How do you download the application?   After I hit download, It says to pick an application to download.  That doesn't make sense. 

  • How to execute multiple sql query in one time?

    HI I'm trying to convert my sql project In Oracle. In sql i could run multiple select statement/query in once and they return in multiple table result respectively. but in oracle its not executed. like: sqlQry := "Select * from abc; select * from qwe

  • No sound in photobooth or imovie!?

    I just tried recording a video using photobooth and when i played it back the sound didn't work. It has definitely worked before and i tried it again and it didn't work so it's not random there must be something wrong with it. I looked online to see

  • Applying patch to embedded OC4J

    Hi, On the 18th of October, Oracle released a patch numbered "5608209" for OC4J. One of the bugs it fixes is "5604102", which renders the WebWork framework almost useless on 10.1.3. Now, my question is, is there an equivalent patch that can be instal