Dropdown text and scroll bars in popups

Hello All,
I have a topic that is relatively short when it is first
opened and the (dhtml) drop down text is hidden. So, when it is
opened in an autosizing popup window from a link in another topic,
(and the WebHelp is full or almost full screen), no scroll bars are
presented in the pop-up. That's fine. But then when I click the
dhtml link and the drop down text is shown, the topic expands
beyond the length of the window. The popup is not redrawn and no
scroll bar appears, leaving the reader with no obvious way to view
the rest of the topic.
I can probably change the content design to keep this from
occurring, but is there something else I can do to correct this?
Thank you all for your help.

Of course, until the forum changeover, we had a nice little collection of FAQ about changing link colours and such As you're new to web design, I think the best thing would be to take a step back - you're trying to run before you can walk, I'm afraid. Golive is only a tool, you'll get on much better in the end if you start by doing some studying on html and css.
For both, http://www.w3schools.com is a very good place to start. There's a lot more to web design that learning how to use any one piece of software.

Similar Messages

  • JTable can't display column names and scroll bar in JDialog !!

    Dear All ,
    My flow of program is JFrame call JDialog.
    dialogCopy = new dialogCopyBay(frame, "Bay Name Define", true, Integer.parseInt(txtSourceBay.getText()) ,proVsl ,300 ,300);
    dialogCopy.setBounds(0, 0, 300, 300);
    dialogCopy.setVisible(true);        Then,I set the datasource of JTable is from a TableModel.
    It's wild that JTable can diplay the data without column names and scroll bar.
    I have no idea what's going wrong.Cause I follow the Sun Tutorial to code.
    Here with the code of my JDialog.
    Thanks & Best Regards
    package com.whl.panel;
    import com.whl.vslEditor.vslDefine;
    import java.awt.Container;
    import java.awt.Dimension;
    import java.awt.Frame;
    import javax.swing.JDialog;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.table.AbstractTableModel;
    public class dialogCopyBay extends JDialog {
        vslDefine glbVslDefine;
        int lvCnt = -1;
        JTable tableCopyBay;
        int bgnX = 0;
        int bgnY = 30;
        int tableWidth = 100;
        int tableHeight = 100;
        public dialogCopyBay(Frame frame, String title, boolean modal, int sourceBay,
                vslDefine pVslDefine, int ttlWidth, int ttlHeight) {
            super(frame, title, true);
            Container contentPane = getContentPane();
            System.out.println("dialogCopyBay Constructor");
            glbVslDefine = null;
            glbVslDefine = pVslDefine;
            copyBayModel copyBay = new copyBayModel((glbVslDefine.getVslBayStructure().length - 1),sourceBay);
            tableCopyBay = new JTable(copyBay);
            tableCopyBay.setPreferredScrollableViewportSize(new Dimension(tableWidth, tableHeight));
            JScrollPane scrollPane = new JScrollPane(tableCopyBay);
            scrollPane.setViewportView(tableCopyBay) ;
            tableCopyBay.setFillsViewportHeight(true);
            tableCopyBay.setBounds(bgnX, bgnY, tableWidth, tableHeight);
            tableCopyBay.setBounds(10, 10, 100, 200) ;
            contentPane.setLayout(null);
            contentPane.add(scrollPane);
            contentPane.add(tableCopyBay);
        class copyBayModel extends AbstractTableModel {
            String[] columnNames;
            Object[][] dataTarget;
            public copyBayModel(int rowNum ,int pSourceBay) {
                columnNames = new String[]{"Choose", "Bay Name"};
                dataTarget = new Object[rowNum][2];
                for (int i = 0; i <= glbVslDefine.getVslBayStructure().length - 1; i++) {
                    if (pSourceBay != glbVslDefine.getVslBayStructure().getBayName() &&
    glbVslDefine.getVslBayStructure()[i].getIsSuperStructure() == 'N') {
    lvCnt = lvCnt + 1;
    dataTarget[lvCnt][0] = false;
    dataTarget[lvCnt][1] = glbVslDefine.getVslBayStructure()[i].getBayName();
    System.out.println("lvCnt=" + lvCnt + ",BayName=" + glbVslDefine.getVslBayStructure()[i].getBayName());
    public int getRowCount() {
    return dataTarget.length;
    public int getColumnCount() {
    return columnNames.length;
    public String getColumnName(int col) {
    return columnNames[col];
    public Object getValueAt(int rowIndex, int columnIndex) {
    return dataTarget[rowIndex][columnIndex];
    public Class getColumnClass(int c) {
    return getValueAt(0, c).getClass();
    public boolean isCellEditable(int row, int col) {
    if (col == 1) {
    // Bay Name Not Allow To modify
    return false;
    } else {
    return true;
    public void setValueAt(Object value, int row, int col) {
    dataTarget[row][col] = value;
    fireTableCellUpdated(row, col);

    Dear DB ,
    I am not sure what you mean.
    Currently,I don't undestand which code is error.
    And I also saw some example is add JTable and JScrollPane in JDialog.
    Like Below examle in Sun tutorial
    public class ListDialog extends JDialog implements MouseListener, MouseMotionListener{
        private static ListDialog dialog;
        private static String value = "";
        private JList list;
        public static void initialize(Component comp,
                String[] possibleValues,
                String title,
                String labelText) {
            Frame frame = JOptionPane.getFrameForComponent(comp);
            dialog = new ListDialog(frame, possibleValues,
                    title, labelText);
         * Show the initialized dialog. The first argument should
         * be null if you want the dialog to come up in the center
         * of the screen. Otherwise, the argument should be the
         * component on top of which the dialog should appear.
        public static String showDialog(Component comp, String initialValue) {
            if (dialog != null) {
                dialog.setValue(initialValue);
                dialog.setLocationRelativeTo(comp);
                dialog.setVisible(true);
            } else {
                System.err.println("ListDialog requires you to call initialize " + "before calling showDialog.");
            return value;
        private void setValue(String newValue) {
            value = newValue;
            list.setSelectedValue(value, true);
        private ListDialog(Frame frame, Object[] data, String title,
                String labelText) {
            super(frame, title, true);
    //buttons
            JButton cancelButton = new JButton("Cancel");
            final JButton setButton = new JButton("Set");
            cancelButton.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ListDialog.dialog.setVisible(false);
            setButton.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ListDialog.value = (String) (list.getSelectedValue());
                    ListDialog.dialog.setVisible(false);
            getRootPane().setDefaultButton(setButton);
    //main part of the dialog
            list = new JList(data);
            list.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
            list.addMouseListener(new MouseAdapter() {
                public void mouseClicked(MouseEvent e) {
                    if (e.getClickCount() == 2) {
                        setButton.doClick();
            JScrollPane listScroller = new JScrollPane(list);
            listScroller.setPreferredSize(new Dimension(250, 80));
    //XXX: Must do the following, too, or else the scroller thinks
    //XXX: it's taller than it is:
            listScroller.setMinimumSize(new Dimension(250, 80));
            listScroller.setAlignmentX(LEFT_ALIGNMENT);
    //Create a container so that we can add a title around
    //the scroll pane. Can't add a title directly to the
    //scroll pane because its background would be white.
    //Lay out the label and scroll pane from top to button.
            JPanel listPane = new JPanel();
            listPane.setLayout(new BoxLayout(listPane, BoxLayout.Y_AXIS));
            JLabel label = new JLabel(labelText);
            label.setLabelFor(list);
            listPane.add(label);
            listPane.add(Box.createRigidArea(new Dimension(0, 5)));
            listPane.add(listScroller);
            listPane.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));
    //Lay out the buttons from left to right.
            JPanel buttonPane = new JPanel();
            buttonPane.setLayout(new BoxLayout(buttonPane, BoxLayout.X_AXIS));
            buttonPane.setBorder(BorderFactory.createEmptyBorder(0, 10, 10, 10));
            buttonPane.add(Box.createHorizontalGlue());
            buttonPane.add(cancelButton);
            buttonPane.add(Box.createRigidArea(new Dimension(10, 0)));
            buttonPane.add(setButton);
    //Put everything together, using the content pane's BorderLayout.
            Container contentPane = getContentPane();
            contentPane.add(listPane, BorderLayout.CENTER);
            contentPane.add(buttonPane, BorderLayout.SOUTH);
            pack();
        public void mouseClicked(MouseEvent e) {
            System.out.println("Mouse Click");
        public void mousePressed(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
        public void mouseReleased(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
        public void mouseEntered(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
        public void mouseExited(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
        public void mouseDragged(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
        public void mouseMoved(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
         * This is here so that you can view ListDialog even if you
         * haven't written the code to include it in a program.
    }

  • Change Height of Web Resource to Get Rid Of Blank and Scroll Bar

    Hi, I am a junior CRM developer. I'm using CRM online.
    I wrote a HTML web resources. In Web Resource Properties, I set the Number of Rows as 20.
    But the problem is: If the form window are maximized, there will be blank under web resource; if the form windows become smaller, there will be a scroll bar on the side.
    I want get rid of blank and scroll bar, automatically change height according to the size of the window.
    I tried checkbox "Automatically expand to use available space", but it didn't work.
    I don't think add CSS to my HTML will work, because CSS in HTML will change the html height, not the container in CRM.
    Thank you in advance.

    You most likely have a malware infection. Run and update the following scanners. (Not all programs detect the same infection.)
    1. [http://www.safer-networking.org/]
    2. [http://www.malwarebytes.org/]
    3. [http://www.spywareterminator.com/]
    4. [http://www.microsoft.com/security/malwareremove/default.aspx]
    If those programs do not do the trick, try to post in the following forum:
    1. [http://www.bleepingcomputer.com[
    Other spyware removal forums can be found in a search.
    Does the issue occur in [[Safe Mode]]?

  • Firefox actualized the new version, but it looks only a black screen and no watch buttons and scroll bars, nothing

    The new version of Firefox dosen't work is only a black screen without buttons and scroll bars. I try re install and uninstall and erase files, but dosen't work.

    Sorry, please disable hardware acceleration as a temporary workaround. This is an incompatibility between Firefox 33 and some older graphics card/chipset drivers. More info: https://support.mozilla.org/questions/1025438

  • Can't select text and scroll when using Word

    Recently I have been unable to select text and scroll down the page using two fingers, while in a word document.This is only happening in Word, so far no other programs. Does anyone have an idea of how to turn on or off this feature?

    I cant scroll below or above viewable section of text in any of my Macbooks, iMac, Mac Mini. Never have been able to, never could, except by pressing the arrow keys whilst selecting, to move up or down.
    Its stupid
    I dont have flash installed (never will do since my first virus of video ad sound running in background from Cnet was downloaded and kept returning until i deinstalled flash).
    I believe that this is a universal issue because none of my Macs can scroll out of screen when selecting text, which as a webmaster and developer, is a pain in the butt
    My issue is not in word documents, its in everything

  • Af:iterator and scroll bar

    Hello,
    I have a popup in a page set up this way
    popup holds a dialog -> region with a taskflow containing only one .jsff .
    The .jsff file has a panel header with 4 panel boxes as child components.
    Everything is fine until i have this af:iterator inside one of the child panel boxes which is looping to display one or more panel form layout(with some child input text fields).
    The scroll bar of the parent panel header jumps or behaves wierd and does not scroll right when the af:iterator has to display more than one panel form layout .
    Anyone else has encountered issues with scrolling when using af:iterator.

    Hi Frank,
    sorry, i should have mentioned that, the parent panel box has a panelgrouplayout of scroll and that holds all the child panel boxes.
    However, i fixed this by having the default of panel boxes as expanded.
    Thanks.

  • Selecting text and scrolling in Tiger vs. Leopard.

    Please forgive these very basic, verbose, questions.
    I've noticed that Leopard does not allow me to select text the same way that Tiger did. With Tiger I could position the mouse cursor either to the left or to the right of the text, hold down the mouse button and move the cursor across the text. With Leopard I have to place the mouse cursor to the left of the text, click and then hold down the shift key and progessively add to the selection as I move the cursor from left to right. I much prefer the first technique. Is there any way to go back to it?
    Also, scrolling a page in Safari is different. Tiger allowed me to place the cursor on the blue dingus on the right side of the page and hold the mouse key down and draw the dingus up or down. With Leopard I have put the cursor where I want to dingus to go, click and it jumps to that location. Again, I prefer Tiger to Leopard. Any way to restore Tiger's technique?

    What you describe about the scroll bar (it's called the thumb, by the way) happens when you hold the option key down. However, if I hold the option key down, I can't replicate your first behavior.
    I can't imagine your option key is stuck down because you'd be getting all kinds of weird characters when you type.
    There is another thread where someone is having odd behavior like the shift key is held down. We don't seem to be getting anywhere with that one, though.

  • Issue with div "s4-workspace" and scroll bar

    Hi,
    I have a standard publishing site, I just added an horizontal menu (the publishing site doesn't have it) but I'm experiencing a strange behavior:
    With my custom menu the div "s4-workspace" shifts down by the height of the menu and I cannot see the end part of the page content.
    I noticed this because I was looking at the workspace right scroll bar and I could not see the end.
    I copied my horizontal menu from the Team Site, where the menu is scrolling inside the workspace, but I want to keep it fix under the ribbon.
    I guess that it's a div displacement problem, but I could not find anything to fix it. I opened the nigthandday.css and the core4.css looking for some CSS style property, but nothing...
    This is what it looks like:
    <!-- Ribbon end -->
    <div>
    <!-- my custom menu -->
    </div>
    <div id="s4-workspace">
    Any help?
    Thank you,
    Nicola.

    If you look at the page, you will notice that the whole page doesn't scroll by default.  Only the S4-workspace and below scrolls.  This is done through the use of a Javascript.  Your problem is that you have inserted something between the
    div's at the top of the page and the S4-workspace div.  The javascript isn't aware of that and so it's not factoring in that height when it calculates how to scroll the page.  So you can never reach the bottom.
    To fix it you need to either remove the factors that cause the partial page scrolling and scroll the whole page or insert your menu into either the top of the s4-workspace div or one of the other existing div's at the top of the page.  Take a look at
    the following article for a more indepth explanation.
    http://blogs.msdn.com/b/sharepoint/archive/2010/04/06/customizing-ribbon-positioning-in-sharepoint-2010-master-pages.aspx
    Paul Stork SharePoint Server MVP

  • Data Table Fixed rows and Scroll Bar

    Hi
    I have data table which displays the data dynamically, but when there is no data , the table is shrinking and moving the other elements of the page. Is there any way i can keep to fixed number of rows irrespective of data presence?
    Like i need to display only 10 rows at a time, if there are 7 rows in DB, i have t o display 7 rows containing data and rest as blank .
    If my data increases more than 10 rows how can i enable Scroll Bar Automatically on this?
    Thanks in advance.

    Then add empty row objects to the collection or datamodel which is been passed to the datatable value.

  • Table with fixed header and scroll bar

    Was able to use Dreamweaver 2004 to set up a table to display
    data from a MySQL table. But then the customer wanted to have a
    scroll bar on one side and fixed headers at the top "like Excel",
    because the number of rows retrieved were too long to fit on a
    page. This was harder than I thought. I had to use CSS and
    Javascript with a lot of help to make this happen. Then it didn't
    work in IE7, so I had to use a different approach for IE. I got it
    to almost work perfectly in IE7. It just has a tiny bit of the
    table visible scrolling by above the header rows.
    http://www.ykfp.org/php/lyletrap/tabletotalscss13.php
    Why does Microsoft make this so difficult? Why aren't web standards
    good enough for Microsoft? Is there a better approach to tables
    with scroll bars?

    When things go sour in any browser, validate your code.  I see you have some unclosed <table> tags which could effect page rendering.
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.ykfp.org%2Fphp%2Flyletrap%2Ft abletotalscss09.php
    If you still have problems with IE8 after fixing the code errors, try adding this meta tag to your <head>.  It forces IE8 into IE7 mode.
    <meta http-equiv="X-UA-Compatible" content="IE=7">
    Hope that helps,
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • Firefox Doesn't Load Any Website and Scroll Bar Switches to the Left Side of the Screen??

    First let me say this is a work computer that I am using, so there is plenty of virus protection and firewall. I have always used firefox for all my casual internet browsing and work network needs. I recently updated to the latest version of firefox and that is when I started having problems. Almost any web page I go to wether it is my work intranet home page or a common site such as google mozilla will not finish loading the page. If I hit refresh or try to go to another site it gets wierd and the scroll bar switches to the left side of the screen and the page seems to be stuck loading. At this point almost nothing responds to any mouse clicks except for closing the firefox window. If I go to tools --> options it brings up a blank options window with only the "ok" and "cancel" buttons displayed. Help please, I don't like using IE, but right now that is my only option.
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.1; Tablet PC 1.7; .NET CLR 1.0.3705; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

    There are several reasons why the site may look wrong:
    * ''Bad item stored in the Browser Cache'': Follow the steps at [[How to clear the cache]].
    * ''Bad cookie from the broken site'': Clear cookies from the broken site by following the steps at [[Deleting cookies]].
    * Images are blocked/disabled: see [[Images or animations do not show]]
    * Plug-ins are outdated: check for outdated plugins on the [http://www.mozilla.com/en-US/plugincheck/ plugin check page].
    * Firewall software is blocking some resources on the page: see [[Firewalls]]
    * An extension may be causing the problem: see [[Troubleshooting extensions and themes]]
    For other steps to try, see [[Web sites look wrong]]

  • Really simple question, stop function and scroll bar won't work

    I was working on different parts of this VI separately, when I put them together the scroll bar and stop button stopped working. 
    In the individual VI both are in the while loop. In the final one I was one scroll bar and one stop button to apply to all 5 while loops.
    I tried taking the scroll bar in and out of the first loop to attach it to the rest but it still won't work.
    I'm sure that there is a really stupid simple answer but I've been playing with it for a while.
    I attached the VI that I am working on as well at fake data (to test the color boxes).
    Thanks!
    Solved!
    Go to Solution.
    Attachments:
    trial8.vi ‏95 KB
    trial8.vi ‏95 KB
    0_1024.txt ‏25 KB

    You have a typical beginner problem due to incorrect understanding of dataflow. Run the code using execution highlighting and watch the diagram to see.
    Your stop button is outside any loop and thus will only be read by the code exactly once at the start of the program.
    Your scroll bar is read in the first loop. All other loops cannot start until the first loop has completed and since (1) is true, it will never happen if the boolean is false when the code starts.
    Why do you have so much duplicate code? 95% of the loop code is the same and can be re-used. I am sure the entire thing could be written using 5% of the total code. Put everything in one loop, the iterate over the 2D array to get all the values. Don't forget to place a small wait inside the while loop.
    LabVIEW Champion . Do more with less code and in less time .

  • [FYI] FRM-92101 and scroll bar and form crash

    Forms 6i
    Windows 2k for app server.
    I have just spent three hours figuring out why I was getting a FRM-92101 when I deployed a form from my development app server to my test app server. Noted that the development server has patch 18 and uses cgi, not sure what patch the test server has but it uses servlet. Anyway the form worked perfectly on the dev server but would crash out with the error on entry in the form on the test server. Eventually I found the solution to be a scroll bar on a block, get rid of the scroll bar from the canvas and voila it worked. Ended up having to place the scroll bar on a stacked canvas to get it to work on the test server. I have already had to deal with a palette issue and those dark pink colours on deployment. Developed for a while on visual studio and never came across such annoying quirks as these.

    I use XP to develop so I was compiling it there and then copying it across to both servers. Should I compile forms on the app server where they are going to be served or have I picked you up correctly?
    Kind regards

  • Content and scroll bar spill out of div at bottom

    Hello again,
    One final teething problem on my website. I have set overflow to auto so a scrollbar will appear if the content exceeds the height specified. I want the window to be scaleable so there are no problems on smaller monitors.
    However, if I resize my browser window, the content of the div and the scroll bar both exceed the height of the div and appear behind my footer (#copyright) and hit the bottom of the window, not the bottom of the div. I can't understand this, so I'm here to plead for help!
    Pic: http://img156.imageshack.us/img156/9589/screenshot20101013at202.png
    The page has a spry menubar, but I don't think this can be related. If it is, it can be seen in my earlier thread. The HTML and CSS have been updated here:
    HTML: http://codeviewer.org/view/code:1295
    CSS: http://codeviewer.org/view/code:1296
    Thank you very much for any help!

    It's not clear to me what is actually your code and what may have been injected by your host.
    Are you putting google ads and pop-up ads on your page or is your web host doing this?  Very annoying.
    Are you putting #catfish12861ecc into a position: fixed container or is your host doing this?
    Did you put your #copyright into a position: fixed container?  I think that should remain static (default) to work well on your site.
    Finally have you run your code through the W3C Validation tools?
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fegparadigm.bestinternetdancer.com %2FPhotography%2Fconceptual%2Fexistence%2Fgallery.html%23
    Again, I'm not sure if the reported errors are caused by your code or something your host is doing...
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • JTable column movement and scroll bar

    Hello:
    I have a JTable with about 30-40 columns. Sometimes I would like to drag the column from rightmost to closer to the left end. I am not able to do that in one shot. and instead have to do it in multiple steps. Is there a way for the scroll bar to sort of move alongside the column as I drag it along?

    i dont know if there is way off hand. But you can put your own mouseListener of the JScrollPane and i am sure there is some method to check if you are dragging the JTable and if you are move the JScrollBar in the direction.
    I think that you are going to have to make you own implementation of this.
    David

Maybe you are looking for

  • How do I get Leopard on my new Mac without deleting Lion?

    I have just partitioned my new imac. Lion and everything is on Hard Disc 1. I now want to install Leopard on my Hard Disc 2. I put the Mac OS Install disc into my computer and it is on my desktop. Do I just click install and when I restart as it asks

  • ITunes Freezes when Syncing on Windows 7 SP1

    iTunes seems to freeze imediatly when plugging in my iPhone 4, and will unfreeze soon as I unplug it. This started happening soon as I upgraded to SP1 on Windows 7. There seem to be many many threads on this and most eventually come to the conclusion

  • Keynote file from 6.5.2 won't open in either Keynote 6.2 or Keynote

    Hello, I'm having problems opening Keynote (.key) files sent from a colleague.  I've tried to open the file in Keynote 6.2, but get the error ""File.key" can't be opened" and in Keynote 5.3, but get the error "Unable to open "File.key" because it isn

  • Strange messages on unlock screen

    Has anyone else noticed messages appearing in place of the date on the unlock screen? I posted an image here: http://img338.imageshack.us/img338/4832/liketheweatherhg4.jpg Is this a hack or a feature that I'm not aware of?   Windows XP Pro  

  • O.S 6.0 update

    I'm currently updating the software for my Curve 9300 and half-way through downloading the modules my internet connection died, it returned a few minutes later, but the modules have not contiuned downloading, it's stuck on 279 out of 461. The only wa