Loop family pop-up menu

when you put a loop in the arrange window at the top of the loop it coms up with the  Loop Family pop-up menu how do u swich this of

Good luck!
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
==================
"Fat Bloke" <[email protected]> wrote in
message
news:e2beru$ki9$[email protected]..
> Murray, thanks for that it is very interesting.
>
> fat bloke
>
> --
>
> Murray *ACE* wrote:
>> First of all, you have to read this -
>>
>>
http://apptools.com/rants/jsmenu.php
>>
http://apptools.com/rants/menus.php
>>
>> Those DW pop-up menus are just deadly.
>>
>> Then read this -
>>
>>
http://www.projectseven.com/support/answers.asp?id=153
>>
>>
>> "Fat Bloke" <[email protected]>
wrote in message
>> news:e2a49c$qj4$[email protected]..
>>> Pop up menu help
>>>
>>>
>>>
>>> Hi, I have made a pop up menu in Dreamweaver 8
using the "behaviour"
>>> command and it works well in Firefox, however
when I test it in IE6
>>> I keep getting the IE security bar opening on
the top of the page
>>> saying "To help protect your security, Internet
explorer has
>>> restricted this file from showing active content
that could access
>>> your computer" I know how to switch it off in my
computer, but other
>>> people would
>>> probably not want to continue viewing the site
when a security
>>> warning has come up. How do I produce a popup
menu like this
>>>
>>>
http://www.smartwebby.com/
"top options" without getting the
>>> warning? Thanks
>>>
>>>
>>> --
>
>

Similar Messages

  • How Do i make a pop-up menu's contents change in 1 cell according to what I have chosen in another pop up menu from another cell

    In table 1 I have 4 sets of options under the heading "CATEGORY" which will make up a pop up menu in the first cell. "Slat fencing", "standard pool fencing", "Non standard pool and garden fencing" and "Louvres" if I choose one of these 4 categories from a pop-up menu I need the next column to indicate another set of pop up menu's that change according to the first cell that I chose. I.E. I have 2 cells in a table. If I choose "Standard pool fencing" from a pop up menu in the first cell I need the pop up menu in the second cell to show the options Flat top Black, Flat top other colour, Semi frameless glass, Frameless glass.
    Any help would be greatly appreciated.
    Regards, Brendan.
    TABLE 1
    CATEGORY
    SUB CATEGORY
    Slat fencing
    Aluminium privacy screens
    Knotwood timber grain
    knotwood standard powder coated
    Standard pool fencing
    Flat top Black
    Flat top other colour
    Semi frameless glass
    Frameless glass
    Non standard pool and garden fencing
    Flat top
    loop top
    rod top
    loop and spear
    rod and spear
    level spear
    hi/lo spear
    florence
    mondello
    venice
    sorrento
    carini
    verona
    milan
    Pisa 2
    Pisa
    Meditteranean
    Pescara
    Louvres
    fixed horizontal louvre 85mm elliptical blades
    operable horizontal louvres
    Vertical louvres (Stefmar) using 65x16 aluminium slats
    160mm vertical louvres
    TABLE 2
    CATEGORY
    SUB CATEGORY
    Slat fencing
    Knotwood timber grain

    Brendan,
    Let me try to explain using a similar but different method:
    All the lines are shown for information flow and would not normally be included.
    The table in the top left is a working table where you interact with the information:
    You first select a category using a slider.  As you slide left and right the "value" (shown as 2 in column B) will change.  As the value changes the Category changes because the information is looked up from the category table (highlighted with a blue shaded background in the first picture.
    The subcategory will also change as you modify the slider in column "B" because you are changing the category, which selects which table is used for the sub-category (sub-category tables are highlighted in light green).  Once you select the category you can then slide through the possible selections for the subcategory (column "D").
    There are only two formulas and they are in the "Work" table:
    A2=IFERROR(VLOOKUP(B2,Category :: A:C, 2, FALSE), "<Not Found>")
    C2=IFERROR(VLOOKUP(D2, INDIRECT(A2),2,FALSE), "<NOT FOUND>")
    For A2=IFERROR(VLOOKUP(B2,Category :: A:C, 2, FALSE), "<Not Found>").... this means in cell A2 enter the text "=IFERROR(VLOOKUP(B2,Category :: A:C, 2, FALSE), "<Not Found>")" omit the first and last double quote
    This whole scheme requires the tables be named the same as the categories in the "Category" table
    I hope this helps.  If not please indicate what is causing you trouble.

  • Pop-up menu cellspacing in IE but not Firefox

    I created a website a while back using Dreamweaver and managed to install the header I created in Fireworks CS3 with no problem, however I am redesigning the site and when I place my header in, there appears to be cellspacing in my pop-up menu, but only with Internet Explorer and not with Firefox.  When I went to export the header, since I wasn't using Dreamweaver to write it in, I chose the style as "generic html", and made sure there was no Cell spacing. I'd appreciate any feedback I can get.

    Well, you have a number of errors that you'll need to address.
    You have two body tags, and you can only have one. This may be the problem.
    You have a <script language="JavaScript"> declaration and it should be <script type="text/javascript">
    You have <center> tags inside <a href...></a> elements and that is not correct.
    You have a <valign="top"> tag, and that is an attibute, not a tag.
    Where you have <h1 style="font-family:Times New Roman; color:#6F0101; font-size:26;"> won't work, because font names that have spaces in them must be enclosed in quotation marks. You would be better off defining a class for your h1s.
    There's a nifty add-on for Firefox that really helps to show you some things in your code. It's called Firebug. Search for it with Google and it's easy to install. I also have the HTML Tidy add-on. HTML Tidy shows me warnings and errors. Firebug shows the structure of the code and also the inheritance of the CSS. In this case, I think you may be inheriting some padding or margin from your default.css once you insert your header into the body.
    Here's what I recommend you do:
    1) Fix up your Fireworks file to name all your images. For example, the images in your menu that have "Home" written in them should be home.gif and home-ov.gif, (or similar, with "ov" indicating "over") not headermenu_r2_c1.gif and headermenu_r2_c1_f2.gif. Likewise, in the code it should have a name of "home." It will make your code so much easier to read and maintain.
    2) Install the HTML Tidy and Firebug add-ons to Firefox. Or, you can use the W3C code validator. Fix the errors in your code.
    3) Clean up your CSS and put all your CSS in one file. Rename those awful Fireworks names to something more memorable. Make sure you know exactly what is what and where everything is. That way, you'll see where attributes might be being inherited.
    If you want a good book for HTML and CSS, I like Elizabeth Castro's HTML for the World Wide Web. It's in the 6th edition, now. I recently picked up HTML Utopia: Designing Without Tables Using CSS and I find that it is a nice lead-in to designing layouts with CSS.
    All that said, Nadia is right and the Fireworks menus are not so great. They aren't really very robust and (as you've experienced) they're difficult to maintain and troubleshoot. Here are two sites that have professional menu plug-ins for Dreamweaver (not Fireworks):
    Pluginlab Limited
    Project Seven
    The Project Seven menus are regularly recommended, but I have no personal experience with either of them. Either one will give you a better experience with less frustration. While they are not free, they'll save you quite a bit of time.
    Good luck!

  • How to create a pop up menu or option in labview?

    Hi to all,
    Just want to ask, how do u create a pop up menu? when you click on a certain button, another view or option would appear like series of texts or instructions. thanks again. thanks 

    jmvrd wrote:
    Also, how can i create a play button? a button that will run the whole program instead pressing the run mode itself. thanks
    You don't actually create a play button. You need to create an architecture that has your program idle until something happens. A while loop with an event structure within it will do that. See the "Login dialog" example that ships with LabVIEW for an example of how to use an event structure. Depending on how complex you need your program to be, you may need to look into using a state machine, master-slave, or producer-consumer architecture.

  • Using COUNTIF on time values in pop-up menu (employee schedule template)

    I have modified the Numbers employee schedule template to my liking and it works very well. I would like to add a column to the beginning which shows, at a glance, how many people I have scheduled for AM shifts and PM shifts on a given day. My AM shifts start at 9:00 AM and my PM shifts end at 6:30 or 8:30 PM.
    So I thought I could use COUNTIF, but after I set the array, I cannot get the condition right to return anything except "0". How do you make it detect the appropriate times? The times in each cell for In and Out times are selected using a pop-up menu, just like the template.
    Here is what I tried: =COUNTIF(E3:AE3,"9:00 AM")
    What should the condition be to return a proper count?

    ac,
    You shouldn't feel badly about having trouble with this template. It is a rather tricky one. The values in the Pop-Up menus are Date/Time values. That is to say, they have year, month, day, hour and minute components, even if only the hours and minutes are displayed. So if you only compare to the hours and minutes, you will never get a match.
    I don't know if you have experienced this yet, but when you changed the Pop-Up menu content, you probably entered the current year, month and day unknowingly and will have trouble doing math against the Pop-Up content that was originally in the template.
    My suggestion in your case would be to convert the time references to decimal hours before doing a comparison. For instance, if the time you wish to compare to is in cell C4, you could extract the decimal hours with =HOUR(C4)+MINUTE(C4)/60
    Remember that the hours will reflect a 24-hour day, so times in the afternoon will run from 12.0 to 23.99...
    Then after converting to decimal, instead of using "9:00 AM" for the COUNTIF criteria, use 9.
    There are probably ways to do this using the Duration format as well, but I prefer the decimal hours.
    Hope this helps.
    Jerry

  • Why am I unable to update my Firefox 3.0 when the pop-up menu tells me that the download was complete?

    I am repeatedly told to upgrade my version of Firefox.
    Each time I attempt this, whether I disable my anti-virus software (AVG) or not, I get a pop-up menu telling me the download was completed but I still seem to be on the 3.0 version.

    You appear to have upgraded to a supported version. I will also attempt to answer your other question. [/questions/885242]

  • TS3147 My printer was no longer being detected, so I uninstalled it and when I went to reinstall it I discovered that I no longer have a printer pop up menu to select my printer.

    I had a power failure and then began getting a message that the printer (Canon Pixma 610) was not detected. So, I unplugged it from the computer, restarted the computer and no change. The printer was still showing as the default printer, but not being detected. So I deleted the printer and then tried to reinstall it. However, when I clicked on the + sign to reinstall nothing came up. The screen was blank with no printer choices. I went to the Canon website to try and download the driver and received this message: There is no driver for the OS Version you selected. The driver may be included in your OS or you may not need a driver. I would appreciate any help...

    MSG2014 wrote:
    I finally contacted Canon and they informed me that my printer is not compatible with Maverick
    As Greg stated, the Canon support person is simply referring to what they see on the web and knosw nothing about Mac's. The reality is that the v10.8 driver will work on 10.9. You just may need to get past Gatekeeper to install it. So here is a link to the v10.8 driver. If you get a message stating that the driver is not signed and cannot be installed, then this is Gatekeeper blocking it. So to install it, right click (or Control-click) on the installer and select Open from the pop-up menu. Now you will have the option to install.
    The second issue is the printer not appearing in the Add printer window. The USB cable is often the cause as suggested already. Also USB hubs can be a cause. To check if the Mac can see the printer, open System Information and select USB in the left column. The top right pane will show all the USB busses in your Mac. The MP610 should be listed under one of these busses. If it is not present, then try another USB cable and/or another USB port on the Mac. Until you see the MP610 in this view, you will not be able to add the printer.

  • Pop up menu on right clicking an image?

    Hello,
    I am new to LabWindows/CVI. 
    Requirement: "To get a pop-up menu on right clicking on image"
    Right now, I display my images in window numbers (0 - 15). Is it possible to be able to get a pop-up menu on right clicking an image window. If yes, how? If not, could you please suggest other methods to achieve this task? Should I display the image in a separate parent panel for example? How could I do this?
    Any help would be great.
    Cheers

    I would use the code generator for right click event. then fill it up with whatever code you want under right click case. You can access these when you double click your UIR file, then on the top of the page click Code\Preferences\Default... then choose desired events for picture then go to Code\Generate\all callbacks and skip through the ones you don't want to be replaced.

  • Keyboard shortcut to open a cells pop-up menu and select from list of options.

    I guessed Option-Return would be the shortcut from this, as it typically lets you edit a cells contents, but no. Read the keyboard Shortcuts list in Numbers>Help but didn't see anything.

    Hi ts,
    Thanks for drawing my attention to this! Let's add some missing detail…
    While "you just press spacebar" to open the pop-up menu, that won't select a menu item.
    After you've opened the menu, 'you could press the first letter' of an entry, ( 'like every other pop-up list on Earth,') or you could press the down arrow to step down the list (and the up arrow to step up, if you went beyond the item you wanted to choose).
    And you can change your mind; the menu will stay open until you confirm your choice (by pressing the space bar again, OR by pressing return OR by pressing enter).
    Note that pressing the first letter will select the 'smallest' item name beginning with that letter. To move to another item name starting with that letter, you'll need to use the up or down arrow key (or the mouse).
    Thanks again for posting. With luck, WideEyedPupil will still be monitoring this discussion, and will see these posts.
    Regards,
    Barry

  • Need Help: JTable POP up menu in a CellEditor to display on a right click

    This was from a previous post:
    I am trying to make a POP menu in a JTextComponent that has a assigned JEditorPane for a HTMLDocument to make use of the HTMLEditorKit to allow modifying HTML by the POP up menu.
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.text.*;
    import javax.swing.table.*;
    import javax.swing.text.html.*;
    import javax.swing.undo.*;
    import javax.swing.border.*;
    import javax.swing.filechooser.*;
    public class SimpleTableDemo extends JFrame {
        public SimpleTableDemo() throws Exception {
            final JTable table = new JTable(new MyTableModel());
            table.setPreferredScrollableViewportSize(new Dimension(500, 70));
            TableColumn fileColumn = table.getColumnModel().getColumn(2);
            FileTableCellEditor editor = new FileTableCellEditor();
            fileColumn.setCellRenderer(editor);
            fileColumn.setCellEditor(editor);
            JScrollPane scrollPane = new JScrollPane(table);
            getContentPane().add(scrollPane, BorderLayout.CENTER);
            addWindowListener(new WindowAdapter() {
                public void windowClosing(WindowEvent e) {
                System.exit(0);
                table.setRowHeight(100);
            public static void main(String[] args) throws Exception {
                SimpleTableDemo frame = new SimpleTableDemo();
                frame.pack();
                frame.setVisible(true);
            class MyTableModel extends AbstractTableModel {
                String[] columnNames = {"First Name","Last Name","HTML File"};
                public Object[][] data;
                MyTableModel() throws Exception
                    data = createArray();
                private Object[][] createArray() throws Exception
                    Object[][] data = {{"One", "Andrews", createDoc("file1.html")}
                return data;
                private Document createDoc(String url) throws Exception
                    File file = new File(url);
                    URL baseURL = file.toURL();
                    InputStream in = baseURL.openStream();
                    InputStreamReader r = new InputStreamReader(filterTag(in));
                    HTMLEditorKit kit = new HTMLEditorKit();
                Document doc = kit.createDefaultDocument();
                kit.read(r,doc,0);
                return doc;
                } // workaround for HTMLEditorKit.Parser, cant deal with "content-encoding"
                private InputStream filterTag(InputStream in) throws IOException {
                    DataInputStream dins = new DataInputStream( in);
                    ByteArrayOutputStream bos = new ByteArrayOutputStream(10000);
                    DataInputStream din = new DataInputStream(new BufferedInputStream(in));
                    while (din.available() > 0) {
                    String line = din.readLine();
                    String lline = line.toLowerCase();
                    if (0 <= lline.indexOf("<meta ")) // skip meta tags
                    continue;
                    bos.write( line.getBytes());
                    din.close();
                    return new ByteArrayInputStream( bos.toByteArray());
                public int getColumnCount() {
                    return columnNames.length;
                public int getRowCount() {
                    return data.length;
                public String getColumnName(int col) {
                    return columnNames[col];
                public Object getValueAt(int row, int col) {
                    return data[row][col];
                public Class getColumnClass(int c) {
                    return getValueAt(0, c).getClass();
                public boolean isCellEditable(int row, int col) {
                if (col >< 1) {
                    return false;
                } else {
                    return true;
    public class FileTableCellEditor extends JScrollPane implements TableCellEditor , TableCellRenderer
        public JTextComponent jtext;
        JEditorPane editor;
        HTMLEditorKit kit = new HTMLEditorKit();
        HTMLDocument doc = new HTMLDocument();;
        private EventListenerList listenerList = new EventListenerList();
        private ChangeEvent event = new ChangeEvent(this);
        public FileTableCellEditor()
        editor = new JEditorPane();
        editor.setContentType("text/html");
        doc=new HTMLDocument();
        editor.addMouseListener(new MouseHandler());
        editor.setEditorKit(kit);
        editor.setDocument(doc);
        editor.setEditable(true);
        editor.setCaretColor(Color.RED);
        getViewport().setView(editor);
        setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
        setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
        public Component getTableCellRendererComponent(JTable table, Object value,
        boolean isSelected, boolean hasFocus, int row, int column)
            // System.out.println("has focus: "+hasFocus+", isSelected: "+isSelected);
            if (isSelected)
            table.editCellAt(row,column);
        table.editCellAt(row,column);
        return getTableCellEditorComponent(table,value,isSelected, row, column);
        public Component getTableCellEditorComponent(JTable table,
        Object value, boolean isSelected, int row, int column)
        editor.setDocument((Document)value);
        return this;
        public boolean isCellEditable(EventObject anEvent)
        { return true;
        public boolean shouldSelectCell(EventObject anEvent)
        { return true;
        public void cancelCellEditing()
        { fireEditingStopped();
        public boolean stopCellEditing()
        { return true;
        public Object getCellEditorValue()
        { return null;
        public void addCellEditorListener(CellEditorListener l)
        { listenerList.add(CellEditorListener.class, l);
        public void removeCellEditorListener(CellEditorListener l)
        { listenerList.remove(CellEditorListener.class, l);
        protected void fireEditingStopped()
        { Object[] listeners = listenerList.getListenerList();
        for (int i = listeners.length - 2; i >= 0; i -= 2)
        ((CellEditorListener)listeners[i+1]).
        editingStopped(event);
        protected void fireEditingCanceled()
        { Object[] listeners = listenerList.getListenerList();
        for (int i = listeners.length - 2; i >= 0; i -= 2)
        ((CellEditorListener)listeners[i+1]).
        editingCanceled(event);
            ///////////createPopupMenu///////////////
            protected JPopupMenu createPopupMenu()
            JPopupMenu popup =new JPopupMenu();
            popup.add(getTextComponent().getActionMap().get(HTMLEditorKit.cutAction)).setAccelerator(null);
            popup.add(getTextComponent().getActionMap().get(HTMLEditorKit.copyAction)).setAccelerator(null);
            popup.add(getTextComponent().getActionMap().get(HTMLEditorKit.pasteAction)).setAccelerator(null);
            popup.addSeparator();
            popup.add(getTextComponent().getActionMap().get("font-bold"));
            popup.add(getTextComponent().getActionMap().get("font-italic"));
            popup.add(getTextComponent().getActionMap().get("font-underline"));
            //popup.add(getTextComponent().getActionMap().get("break"));
            return popup;
        public JTextComponent getTextComponent()
             return jtext;
        protected class MouseHandler extends MouseAdapter{
           public void mouseReleased(MouseEvent me){
               if(me.getButton()==MouseEvent.BUTTON3){
               Point p=me.getPoint();
               createPopupMenu().show((Component)me.getSource(),p.x,p.y);
    }

    I got the pop up to work, I had to go back to and add a createActionTable editor that is a JEditorPane, vs the JTextComponent!
    Here is the latest version:
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.util.HashMap;
    import javax.swing.*;
    import javax.swing.undo.*;
    import javax.swing.event.*;
    import javax.swing.text.*;
    import javax.swing.table.*;
    import javax.swing.text.html.*;
    import javax.swing.undo.*;
    import javax.swing.border.*;
    import javax.swing.filechooser.*;
    public class SimpleTableDemo extends JFrame {
        public SimpleTableDemo() throws Exception {
            final JTable table = new JTable(new MyTableModel());
            table.setPreferredScrollableViewportSize(new Dimension(500, 70));
            TableColumn fileColumn = table.getColumnModel().getColumn(2);
            FileTableCellEditor editor = new FileTableCellEditor();
            fileColumn.setCellRenderer(editor);
            fileColumn.setCellEditor(editor);
            JScrollPane scrollPane = new JScrollPane(table);
            getContentPane().add(scrollPane, BorderLayout.CENTER);
            addWindowListener(new WindowAdapter() {
                public void windowClosing(WindowEvent e) {
                System.exit(0);
                table.setRowHeight(100);
            public static void main(String[] args) throws Exception {
                SimpleTableDemo frame = new SimpleTableDemo();
                frame.pack();
                frame.setVisible(true);
            class MyTableModel extends AbstractTableModel {
                String[] columnNames = {"First Name","Last Name","HTML File"};
                public Object[][] data;
                MyTableModel() throws Exception
                    data = createArray();
                private Object[][] createArray() throws Exception
                    Object[][] data = {{"One", "Andrews", createDoc("file1.html")}
                return data;
                private Document createDoc(String url) throws Exception
                    File file = new File(url);
                    URL baseURL = file.toURL();
                    InputStream in = baseURL.openStream();
                    InputStreamReader r = new InputStreamReader(filterTag(in));
                    HTMLEditorKit kit = new HTMLEditorKit();
                Document doc = kit.createDefaultDocument();
                kit.read(r,doc,0);
                return doc;
                } // workaround for HTMLEditorKit.Parser, cant deal with "content-encoding"
                private InputStream filterTag(InputStream in) throws IOException {
                    DataInputStream dins = new DataInputStream( in);
                    ByteArrayOutputStream bos = new ByteArrayOutputStream(10000);
                    DataInputStream din = new DataInputStream(new BufferedInputStream(in));
                    while (din.available() > 0) {
                    String line = din.readLine();
                    String lline = line.toLowerCase();
                    if (0 <= lline.indexOf("<meta ")) // skip meta tags
                    continue;
                    bos.write( line.getBytes());
                    din.close();
                    return new ByteArrayInputStream( bos.toByteArray());
                public int getColumnCount() {
                    return columnNames.length;
                public int getRowCount() {
                    return data.length;
                public String getColumnName(int col) {
                    return columnNames[col];
                public Object getValueAt(int row, int col) {
                    return data[row][col];
                public Class getColumnClass(int c) {
                    return getValueAt(0, c).getClass();
                public boolean isCellEditable(int row, int col) {
                if (col < 1) {
                    return false;
                } else {
                    return true;
    public class FileTableCellEditor extends JScrollPane implements TableCellEditor , TableCellRenderer
        JEditorPane editor = new JEditorPane();
        HTMLEditorKit kit = new HTMLEditorKit();
        HTMLDocument doc = new HTMLDocument();;
        private EventListenerList listenerList = new EventListenerList();
        private ChangeEvent event = new ChangeEvent(this);
        HashMap<Object, Action> actions;
        public FileTableCellEditor()
        getContentPane();
        editor.setContentType("text/html");
        doc=new HTMLDocument();
        editor.addMouseListener(new MouseHandler());
        editor.setEditorKit(kit);
        editor.setDocument(doc);
        editor.setEditable(true);
        editor.setCaretColor(Color.RED);
        getViewport().setView(editor);
        createActionTable(editor);
        makeActionsPretty();
        setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
        setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
        public void makeActionsPretty(){
             Action a;
                      a=editor.getActionMap().get(HTMLEditorKit.cutAction);
                      a.putValue(Action.SHORT_DESCRIPTION,"Cut");
                      a.putValue(Action.ACCELERATOR_KEY,KeyStroke.getKeyStroke('X',Event.CTRL_MASK));
                      a=editor.getActionMap().get(HTMLEditorKit.copyAction);
                      a.putValue(Action.NAME,"Copy");
                      a.putValue(Action.SHORT_DESCRIPTION,"Copy");
                      a.putValue(Action.ACCELERATOR_KEY,KeyStroke.getKeyStroke('C',Event.CTRL_MASK));
                      a=editor.getActionMap().get(HTMLEditorKit.pasteAction);
                      a.putValue(Action.NAME,"Paste");
                      a.putValue(Action.SHORT_DESCRIPTION,"Paste");
                      a.putValue(Action.ACCELERATOR_KEY,KeyStroke.getKeyStroke('V',Event.CTRL_MASK));
        public Component getTableCellRendererComponent(JTable table, Object value,
        boolean isSelected, boolean hasFocus, int row, int column)
            if (isSelected)
            table.editCellAt(row,column);
        table.editCellAt(row,column);
        return getTableCellEditorComponent(table,value,isSelected, row, column);
        public Component getTableCellEditorComponent(JTable table,
        Object value, boolean isSelected, int row, int column)
        editor.setDocument((Document)value);
        return this;
        public boolean isCellEditable(EventObject anEvent)
        { return true;
        public boolean shouldSelectCell(EventObject anEvent)
        { return true;
        public void cancelCellEditing()
        { fireEditingStopped();
        public boolean stopCellEditing()
        { return true;
        public Object getCellEditorValue()
        { return null;
        public void addCellEditorListener(CellEditorListener l)
        { listenerList.add(CellEditorListener.class, l);
        public void removeCellEditorListener(CellEditorListener l)
        { listenerList.remove(CellEditorListener.class, l);
        protected void fireEditingStopped()
        { Object[] listeners = listenerList.getListenerList();
        for (int i = listeners.length - 2; i >= 0; i -= 2)
        ((CellEditorListener)listeners[i+1]).
        editingStopped(event);
        protected JPopupMenu createPopupMenu()
            JPopupMenu popup =new JPopupMenu();
            popup.add(getActionByName(DefaultEditorKit.cutAction));
            return popup;
        protected class MouseHandler extends MouseAdapter{
           public void mouseReleased(MouseEvent me){
               if(me.getButton()==MouseEvent.BUTTON3){
               Point p=me.getPoint();
               createPopupMenu().show((Component)me.getSource(),p.x,p.y);
        private void createActionTable(JTextComponent textComponent) {
            actions = new HashMap<Object, Action>();
            Action[] actionsArray = textComponent.getActions();
            for (int i = 0; i < actionsArray.length; i++) {
                Action a = actionsArray;
    actions.put(a.getValue(Action.NAME), a);
    private Action getActionByName(String name) {
    return actions.get(name);

  • ICal 5.0.3 Repeat pop-up menu not appearing

    I created a new calendar and then copied events from the previous year into it. Now I'm trying to set events to repeat yearly, but when I pull up the event, I'm not getting the pop-up menu that allows me to reset the time or repetition. This problem only seems to happen in the events I copied from the previous calendar. Is there anything I can do, short of re-typing each event?

    Using iCal 5.0.3, I used to see a "repeat" option for events on my MacBook Pro (OS X 10.7.5) and on my iPhone 4S (iOS 5.1.1), but the option has disappeared, both for new events and for existing events opened for editing.  iCal on both the MBP on iPhone syncs to iCloud. 
    What could have happened to the "repeat" option?

  • How can I show a pop up menu based on the selection in a previous pop up menu?

    For example, if "Company" is selected in a pop up menu in C6, then show another pop up menu in C7. if "Bob" is selected in a pop up menu C7, show another pop up menu that contains the talks "Bob" has in C8.
    I am trying to create a talk scheduling spreadsheet with different talk outlines for different speakers. I'm not sure if there are any functions or formulas that can accomplish this. Can anyone help?

    Pop-up menus contain fixed values in Numbers. You might be able to do this using Steppers or sliders. These produce a numerical result, which could be used to direct a second slider or stepper's output to a specific column or table.
    If you can provide a map of the structure of your list(s), there may be someone here able to take on the task of constructing the tools to do the job.
    Regards,
    Barry

  • Can I change the fill color of an entire row based on what's selected in a pop-up menu in the first cell?

    I have a pop-up menu in the first cell of every row with three choices (and I may add more at a later date).  I want the fill color of the row to change depending on which thing is selected.  Is this hard to do?

    Hi,
    In essence the same as Wayne's answer, but with a slight modification to fit  to duplicate your 'color the whole row' specification. The final result, with Table 2 slid behind Table 1, is shown.
    Table 2 is a single column table with the same number of rows as Table 1. The table is resized to match the full width of Table 1.
    In A2, use the formula =Table 1::A2 to copy the value from that cell in Table 2. Fill the formula down through the rest of the column.
    Select all the cells in Table 2 (except the header row), and apply conditional formatting rules such as those below.
    Note that the Conditional Format rules are set to apply the same colour to text and fill in the cell, so that the text disappears.
    When Table 2 is ready, select it, then go Arrange > Send to Back.
    Before sliding Table 2 behind Table 1, Select Table 1 and use the Table Inspector to set the Cell Background to None (see red arrow in illustration). If This table has a Header column, you need to select the header cells independently and again set the Cell Background to None.
    Now select Table 2 and drag it to a position partially under Table 1. When you see the blue alignment guides on both sides, or at the top and bottom, of Table 1, release the mouse button and use the arrow keys to nudge Table 2 into its final position.
    Regards,
    Barry

  • Best way to create pop-up menu's

    Hi All,
    I have been having a heck of a time doing something that i
    would have assumed to be relatively simple - specifically creating
    a pup-up menu.
    My first set of approach was to dynamically create a movie
    clip on a button rollover, and within that movieclip create several
    other movie clips that i then assigned actions too. The problem was
    that since i applied a action on "rollout" on the initial movie
    clip, it became a button, and as such all of the sub
    movieclips/buttons became in active (any click was only detected on
    the parent).
    My second set of attempts have been around the MenuComponent
    (see other posts), but here too i have hit problems, initially with
    animation and depth. I solved the animation issue, but the depth
    problem remains.
    Now, i see pop-up menu's everywhere, so i assume that this is
    a relatively simple problem - so what am i missing. A google search
    showed up lots of examples of how to do using menu that are created
    in the UI (rather than purely in AS), using purchased components.
    The first case is not an option since i need to create it fully
    dynamically, the second would be an option - however i typically
    need a far greater level of visual control than off the shelf
    components provide (hence i have needed to build up my own class
    library for many common tasks).
    So after all that, i have a simple question.
    "What is the best way to create a dynamic popup menu in
    AS2?"
    Regards
    Neil

    I guess you want to make your own popup menu, if I understand
    correctly. Nothing simpler, your first attempt was in the right
    direction, you just don't assign button actions to the parent clip,
    because you won't get the child clips to work, but add another
    child at the lowest level inside the parent, that acts as a
    "background" clip/button.
    And for the rollout for the entire popup, you can add a
    transparent clip just under the popup (which is at the currently
    topmost depth) covering the entire stage, give it rollover that
    acts as your rollout, and make it not use the hand currsor, so you
    can't tell it's there.
    That's how I do it, anyways..

  • Dreamweaver 8 Behaviors for pop-up menu

    I am a novice user of Dreamweaver 8. I created a site using
    pop-up Behaviors for a dropdown navigation bar. I've read about a
    lot of problems others are having, but part of my problem I have
    not been able to locate anywhere.
    After I created my template and want to save changes to the
    template and update the files based on this template, I go thru a
    series of JavaScript errors. It never updates any files in the end
    and sometimes shuts down the program. An example of ONE of the
    error messages is:
    At line 1654 of file "C:\Program Files\Macromedia/Dreamweaver
    8\Configuration\Behaviors\Actions\Show Pop-up Menu.js": The
    function saveDocument() is currently unavailable.
    The more pages attached, the more error messages I get....
    all are .js errors.
    The other problem is the links from the pop-up. I've double
    checked them in the behavior pop-up menu... they appear to be
    correct and sometimes work, but not all the time.
    Everything I read says that I should create the navigation
    with pop-ups (drop down menus) in Fireworks. Is Dreamweaver that
    unreliable that this can't be done within itself?
    If anyone can tell me what I'm doing wrong to receive these
    errors and how to correct my links so they are reliable, I would
    very much appreciate it. I have recreated this site 6 times and the
    errors are consistent.
    Thanks, cjbyrnes

    >I am a novice user of Dreamweaver 8. I created a site
    using pop-up
    >Behaviors
    > for a dropdown navigation bar. I've read about a lot of
    problems others
    > are
    > having, but part of my problem I have not been able to
    locate anywhere.
    You read about all these problems, yet you pressed ahead and
    used them? Why?
    DW's Pop-up menus are incompatible with DW's templates.
    Embarrassingly sad,
    but true.
    Did you read about and investigate any of the many
    alternatives posted?
    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
    ==================
    "cjbyrnes" <[email protected]> wrote in
    message
    news:[email protected]...
    >I am a novice user of Dreamweaver 8. I created a site
    using pop-up
    >Behaviors
    > for a dropdown navigation bar. I've read about a lot of
    problems others
    > are
    > having, but part of my problem I have not been able to
    locate anywhere.
    >
    > After I created my template and want to save changes to
    the template and
    > update the files based on this template, I go thru a
    series of JavaScript
    > errors. It never updates any files in the end and
    sometimes shuts down the
    > program. An example of ONE of the error messages is:
    > At line 1654 of file "C:\Program
    Files\Macromedia/Dreamweaver
    > 8\Configuration\Behaviors\Actions\Show Pop-up Menu.js":
    The function
    > saveDocument() is currently unavailable.
    > The more pages attached, the more error messages I
    get.... all are .js
    > errors.
    >
    > The other problem is the links from the pop-up. I've
    double checked them
    > in
    > the behavior pop-up menu... they appear to be correct
    and sometimes work,
    > but
    > not all the time.
    >
    > Everything I read says that I should create the
    navigation with pop-ups
    > (drop
    > down menus) in Fireworks. Is Dreamweaver that unreliable
    that this can't
    > be
    > done within itself?
    >
    > If anyone can tell me what I'm doing wrong to receive
    these errors and how
    > to
    > correct my links so they are reliable, I would very much
    appreciate it. I
    > have
    > recreated this site 6 times and the errors are
    consistent.
    >
    > Thanks, cjbyrnes
    >

Maybe you are looking for