Popup image works fine but how to control the window size

Hello folks,
I use
<img title="Click to pop up large image" src="#OWNER#.view_my_file_form?p_file=#IMGID#" width="40" height="30" />
to popup a image window. It works just fine. How can I set the popup image window size? The window is too big but the image is too samll.
Many thanks.
Mickey

The popupURL function is defined as
function popupURL(url)
w = open(url,"winLov","Scrollbars=1,resizable=1,width=800,height=600");
if (w.opener == null) w.opener = self;
w.focus();
If 800x600 is too big for you, write your own mypopupURL function with whatever size you want

Similar Messages

  • How to control the window size of default message error

    I have a form with many fields. (inputText)
    These fields are marked with tag required="true"
    When the user try to submit the form, the adf faces show a validation window displaying the label of the inputTexts and one message like this "This field are required".
    The problem is that i have an inputText that have a large label and the window is showing with scrollbars and the layout is not good.
    How can i control the layout of this default window ?
    Thanks

    At the moment I don't believe this to be fixable. From (maybe limited) investigation, we've been unable to discover a skin class to fix this.
    CM.

  • I use a two button mouse with my Mac Book Pro.  It works fine, but after installing Lion, the mouse wheel goes in reverse of what it did (rolling the wheel towards your palm goes up not down the page).  Anyone know how to fix this?

    I use a two button mouse with my Mac Book Pro.  It works fine, but after installing Lion, the mouse wheel goes in reverse of what it did (rolling the wheel towards your palm goes up not down the page).  Anyone know how to fix this?

    First sentence in OPs question:
    I use a two button mouse with my Mac Book Pro
    I guess the track pad settings would look similar to my screen shot?
    Regards,
    Colin R.

  • HT4356 My Ipad prints to my airprinter that works OK but how do I set picture size/position etc

    My Ipad prints to my airprinter that works OK but how do I set picture size/position etc. At the moment from the photos app it prints an A6 photo in top left corner. How do I change that to something different.

    The Apple Support Communities are an international user to user technical support forum. As a man from Mexico, Spanish is my native tongue. I do not speak English very well, however, I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture perhaps very very different from your own. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
    If you put photo paper in the printer it will print correctly on the paper. Also, some photo printers will adjust the size photo printed when you put different size photo paper in the tray.

  • Exchange 2010 Ative Sync working fine but when i do the test-ActiveSyncConnectivity it gives Error

    Exchange 2010 Ative Sync working fine but when i do the test-ActiveSyncConnectivity it gives Error my internal and external domains are different i have godaddy certificate and i have redirected HTTP to HTTPS for OWA, but when i run the test-ActiveSyncConnectivity
    https://mail.mycompany.com/Microsoft-System-ActiveSync it gives me error unable to connect to remote server, the connected party did not respond after a period of time because connected server failed to respond 67.57.66.23:443 
    From outside owa and activesync is working but my outlook 2007 SP2 shows disconnect every 25 minutes and then connected again when i see windows evenyviewer i am getting error that CAS Server failed to connect to mailbox server. Later it disconnected for
    60 seconds, I think thats when outlook gives disconnect error to all users
    Your quick help is really appreciated

    Hi,
    Hope below KB will help you for resolution the issue
    http://support.microsoft.com/kb/2469722
    http://www.wiki-errors.com/err.php?wiki=443
    Dinesh S.

  • TS1538 Running Windows XP,Ipod Mini works fine,but Ipod Nano visible in Windows,but not Itunes.Have loaded latest version of ITunes.How do I prceed

    Am running Windows XP pro,Ipod Mini works fine,but Ipod Nano is visible in my computer as a mass storage device,but not in Itunes.The settings on the Ipod says Version 1.0.2 Mac.Have tried all the trouble shooting solutions under Itunes help,but no success.Is it a problem with the Ipod or my Windows computer?Please help.Thanks Marcus.

    http://support.apple.com/kb/TS1363

  • How to control the pixcel size in given tiff image

    Hai
    I loaded tiff image into the Frame by using the jai_core.jar and jai_codec.jar files. I am unable to control the pixcel size. It displaied default size. How to restract the pixcel on the image in Frame.
    import java.io.File;
    import java.io.IOException;
    import java.awt.Frame;
    import java.awt.image.RenderedImage;
    import javax.media.jai.widget.ScrollingImagePanel;
    import javax.media.jai.ImageLayout;
    import javax.media.jai.NullOpImage;
    import javax.media.jai.OpImage;
    import com.sun.media.jai.codec.SeekableStream;
    import com.sun.media.jai.codec.FileSeekableStream;
    import com.sun.media.jai.codec.TIFFDecodeParam;
    import com.sun.media.jai.codec.ImageDecoder;
    import com.sun.media.jai.codec.ImageCodec;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.imageio.ImageReadParam.*;
    class MultiPageRead extends JFrame
    ScrollingImagePanel panel;
    //     JFrame mainFrame = new JFrame();
         Container c;
         public MultiPageRead(String filename) throws IOException
    getContentPane();
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              pack();
              setTitle("Multi page TIFF Reader");
              setSize(980,1200);
              getContentPane();
    File file = new File(filename);
    SeekableStream s = new FileSeekableStream(file);
    TIFFDecodeParam param = null;
              ImageDecoder dec = ImageCodec.createImageDecoder("tiff", s, param);
    System.out.println("Number of images in this TIFF: " + dec.getNumPages());
              ImageLayout size = new ImageLayout(,0,12,12);
    // Which of the multiple images in the TIFF file do we want to load
    // 0 refers to the first, 1 to the second and so on.
    int imageToLoad = 0;
    RenderedImage op = new NullOpImage(dec.decodeAsRenderedImage(imageToLoad), null,
    OpImage.OP_IO_BOUND,
    size);
    // Display the original in a 800x800 scrolling window
    panel = new ScrollingImagePanel(op, 100, 200);
    getContentPane().add(panel);
         public static void main(String [] args)
    String filename = args[0];
    try {System.out.println("jfdfldjfldfjldjfjldjfjdjdjdjjdjdj");
              MultiPageRead window = new MultiPageRead(filename);
                        window.pack();
                        window.show();
              catch (java.io.IOException ioe)
              System.out.println(ioe);
    regards
    jaggayya

    Changing the fonts in Print using ABAP is not possible. as basic report output is a text editor.
    By changing "Customizing of Local Layout" will only change in display screen and not in print.
    One possible way to create a new printer formatr thry SPAD and use that format in while printing.
    to know more details about SPAD
    Using SPAD - SAP Spool Administration to print different paper size
    The SAP spool system manages its own output devices. This includes mostly printers, but also fax and archiving devices. In order for you to use output devices defined in your operating system from the SAP System, you must define these devices in the SAP spool system.
    Print to a dot matrix printer using computer paper with 66 lines
    Define paper types
    Formatting process Z_60_135
    Page format DINA4
    Orientation tick both Portrait and Orientation
    Type in the comment and click save
    Device initialization
    Device type - OKI341
    Formatting process Z_60_135 then click Execute
    Double click Printer initilization
    You must key the 66 lines hexadecimals for your printer. ( line no 9)
    1 # oki341 x_paper
    2 # reset
    3 # \e\0x40
    4 # select codepage multilingual 850
    5 \e\0x52\0x1a
    6 # disable skip perforation mode
    7 \e\0x4f
    8 # select 6 lpi
    9 \e\0x32
    10 # select page length 66 lines (66=hex $42)
    11 \e\0x43\0x42
    12 # select 10 cpi font
    13 \e\0x60
    CHECK THIS LINKS
    http://help.sap.com/saphelp_nw04s/helpdata/en/df/abbb3f8e236d3fe10000000a114084/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/5a/4df93bad37f87ae10000000a114084/content.htm
    http://www.geocities.com/SiliconValley/Grid/4858/sap/Basis/printprobs_solutions.htm
    Hope this helps you
    Regards
    Pavan

  • HT1267 I have a factory unlocked Iphone 4S, it worked fine but it was lossing the signal and going into search, I decided to restore, but now can not activate it, a message can not be activated because the server is temporary unavailable try again later??

    I have a factory unlocked Iphone 4S, it worked fine but it was often lossing  signal and going into search, I decided to restore, but now can not activate it, a message can not be activated because the server is temporary unavailable try again later, I have tried this for 3 days, any suggestions?

    yes did you buy it of somebody or a well known company such as apple or carphone warehouse?
    and i mean the phone would have been activated in the first place with the sim card you get given when you first get the phone.
    trying to activate the phone with another sim card that you did not get when you brought the phone may result in you not being able to activate it
    no worries

  • How to adjust the window size in overview screen of a scorecard ?

    Hi Experts,
    In <i>SEM</i> application is it possible to adjust the size of the "<b><i>Perspective</i></b>" windows in the Overview screen of a <i>Scorecard</i> ?
    If possible how ?

    hi,
    If you change the window size of the script in the original language, it should reflect in the other languages.
    Please activate the script in english once again and see the spanish form again.
    @SAP_WIZ
    As far as chaniging window size is concerned, Please edit your script in ES and then change it.Or login in ES and then edit the script.
    This is not possible, because the original script is in english.
    Regards
    HM

  • Deployed 2012 R2 NPS for wireless 802.1x Workstations work fine, but iPhones state that the SSL is "not verified" when connecting to the network.

    NPS server is a 2012 R2 in a fresh domain. I'm using a Go Daddy standard SSL. I emailed myself all the GoDaddy Root and intermediate certs that I could find and installed them on the iPhone but I still get the "not verified" after entering the
    username and password. Once I click Accept, I'm able to connect just fine to the wireless network.  Will a Go Daddy cert not work or am I missing something else here?

    Hi,
    From my point of view, to figure out this issue, we need to find out how does iPhone validates the certificates chain.
    Due to this issue is more related to iPhone, to get better help, please post your question on the iPhone forum below,
    https://discussions.apple.com/community/iphone
    Best Regards.
    Steven Lee
    TechNet Community Support

  • TS1368 My wifi is working fine but I connect to the iTunes Store. Why is this and what else can I try please?

    I cannot connect to the iTunes Store but my wifi is working fine, what else can I try please?

    The Complete Guide to Using the iTunes Store
    http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-using-t he-itunes-store/
    iTunes Store: Associating a device or computer to your Apple ID
    http://support.apple.com/kb/ht4627
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Best Fixes for ‘Cannot Connect to iTunes Store’ Errors
    http://ipadinsight.com/ipad-tips-tricks/best-fixes-for-cannot-connect-to-itunes- store-errors/
    iOS: Changing the signed-in iTunes Store Apple ID account
    http://support.apple.com/kb/ht1311
    Try this first - Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    This works for some users. Not sure why.
    Go to Settings>General>Date and Time> Set Automatically>Off. Set the date ahead by about a year.Then see if you can connect to the store.
     Cheers, Tom

  • I have just transferred elements 11 to a new windows 7 64 bit computer using the original purchased disc. Organiser is working fine, but I cant get the Editor to open at all.

    I have just transferred elements 11 to a new windows 7 64 bit computer using the original purchased disc. Organiser is working fine and all my photos are there, but I cant get the Editor to open. It just says editor workspace is loading and then it eventually gives up.

    Try opening directly from your desktop, by passing the welcome screen.
    Go to Windows Explorer>C drive>Program Files (x86)>Adobe>Photoshop elements 11. Right click, then Send to>Desktop
    Double click on the shortcut and see it will open.

  • Regarding iMessage.  Was working fine but now it says the recipient is not registered. So it will not send the message.  But the person is registered.  Could send them a message yesterday.

    iMessage working yesterday.  Now it says the recipient is not registered and will not deliver message.  But they are registered.  Any suggestions?

    OK.  Going to accept for now that it is a server problem.  Hate waiting though. Grrrr.

  • How to control the maximum size of a component in a GridBagLayout

    Here is a small program that demonstrates my issue (it's originally from a big program that I couldn't attach here).
    I have a GridBagLayout with some components in it. Some of the components are JEditorPane (displaying some HTML) within JPanel and are individally scrollable.
    Here we go:
    - when I resize the main panel, every components will resize accordingly to their weight (which is here the same for all of them): fine
    - when I reduce the size of the main panel until it reaches all the preferred size of each component, the scrollPane of the main panel appears so that the user can scroll: not fine
    The behaviour I'm looking for is: when I reduce the size of the main panel, when it reaches the preferred size of the components, I would like that the JEditorPane (which are in JPanel with BorderLayout/CENTER) display their individual scrollbars so that I can see all the JEditor panes at the same time without having to scroll the main window.
    If the user continues to reduce the size of the main panel, then, at one point, display the scrollpane of the main panel.
    See what I mean? How to control this?
    Here is the code:
    @SuppressWarnings("serial")
    public final class CGridBagLayout2 extends JFrame {
         JPanel mainPanel;
         private final JScrollPane scrollPane;
         private JPanel panelize(Component component, String localization) {
              JPanel output = new JPanel(new BorderLayout());          
              output.add(component, localization);
              return output;
        public void addComponentsToMainPanel() {
              mainPanel.setLayout(new GridBagLayout());
              GridBagConstraints c = new GridBagConstraints();
              c.weightx = 1.0;
              c.fill = GridBagConstraints.BOTH;
              String TEST_BIGTEXT = "<html><body><h2>Path</h2>toto/tutu/tata/TestN<h2>Prerequisites</h2>blah blah blah blah<br/><b>blah blah</b> blah blah\nblah blah <u>blah</u> blahblah blah blah<h2>Description</h2>blah blah blah blah<br/><b>blah blah</b> blah blah\nblah blah <u>blah</u> blahblah blah blah blah\nblah blah blah <br/>lah blah blah <br/>lah blah blah blah blah blah blah blah FIN</body></html>";
              for (int index=0; index<10; index++) {
                   c.gridheight = 5; // nb Testcases for this test
                   c.anchor = GridBagConstraints.FIRST_LINE_START; // align all the components top-left aligned
                   c.gridy = index;
                   JLabel a = new JLabel("AAAAA");
                   c.gridx = 0;
                   mainPanel.add(panelize(a, BorderLayout.NORTH), c);
                   JLabel b = new JLabel("BBBBB");
                   c.gridx = 1;
                   mainPanel.add(panelize(b, BorderLayout.NORTH), c);
                   JEditorPane d = new JEditorPane("text/html", TEST_BIGTEXT);               
                   c.gridx = 2;
                   mainPanel.add(panelize(d, BorderLayout.CENTER), c);
                   JEditorPane e = new JEditorPane("text/html", TEST_BIGTEXT);               
                   c.gridx = 3;
                   mainPanel.add(panelize(e, BorderLayout.CENTER), c);
                   index++;
         public CGridBagLayout2() {
              super("GridBagLayout");
              mainPanel = new JPanel();
              addComponentsToMainPanel();
              scrollPane = new JScrollPane(mainPanel);
              setContentPane(scrollPane);
         public static void main(String[] args) {
              Frame frame;
              WindowListener exitListener;
              exitListener = new WindowAdapter() {
                   @Override
                   public void windowClosing(WindowEvent e) {
                        Window window = e.getWindow();
                        window.setVisible(false);
                        window.dispose();
                        System.exit(0);
              frame = new CGridBagLayout2();
              frame.addWindowListener(exitListener);
              frame.setPreferredSize(new Dimension(1000, 800));
              frame.pack();
              frame.setVisible(true);
    }Many thanks in advance, I'm getting crazy on this one :)

    Ok, thanks for this information, I thought I had seen this happening in the past when embedding a component in the center area of a JPanel with BorderLayout.
    Anyway, as I said I tested with JScrollPane as well and it does not change anything.
    Here is the code modified:
    @SuppressWarnings("serial")
    public final class CGridBagLayout2 extends JFrame {
         JPanel mainPanel;
         private final JScrollPane scrollPane;
         private JPanel panelize(Component component, String localization) {
              JPanel output = new JPanel(new BorderLayout());          
              output.add(component, localization);
              return output;
        public void addComponentsToMainPanel() {
              mainPanel.setLayout(new GridBagLayout());
              GridBagConstraints c = new GridBagConstraints();
              c.weightx = 1.0;
              c.fill = GridBagConstraints.BOTH;
              String TEST_BIGTEXT = "<html><body><h2>Path</h2>toto/tutu/tata/TestN<h2>Prerequisites</h2>blah blah blah blah<br/><b>blah blah</b> blah blah\nblah blah <u>blah</u> blahblah blah blah<h2>Description</h2>blah blah blah blah<br/><b>blah blah</b> blah blah\nblah blah <u>blah</u> blahblah blah blah blah\nblah blah blah <br/>lah blah blah <br/>lah blah blah blah blah blah blah blah FIN</body></html>";
              for (int index=0; index<10; index++) {
                   c.gridheight = 5; // nb Testcases for this test
                   c.anchor = GridBagConstraints.FIRST_LINE_START; // align all the components top-left aligned
                   c.gridy = index;
                   JLabel a = new JLabel("AAAAA");
                   c.gridx = 0;
                   mainPanel.add(panelize(a, BorderLayout.NORTH), c);
                   JLabel b = new JLabel("BBBBB");
                   c.gridx = 1;
                   mainPanel.add(panelize(b, BorderLayout.NORTH), c);
                   JEditorPane d = new JEditorPane("text/html", TEST_BIGTEXT);               
                   c.gridx = 2;
                   mainPanel.add(panelize(new JScrollPane(d), BorderLayout.CENTER), c);
                   JEditorPane e = new JEditorPane("text/html", TEST_BIGTEXT);               
                   c.gridx = 3;
                   mainPanel.add(panelize(new JScrollPane(e), BorderLayout.CENTER), c);
         public CGridBagLayout2() {
              super("GridBagLayout");
              mainPanel = new JPanel();
              addComponentsToMainPanel();
              scrollPane = new JScrollPane(mainPanel);
              setContentPane(scrollPane);
         public static void main(String[] args) {
              Frame frame;
              WindowListener exitListener;
              exitListener = new WindowAdapter() {
                   @Override
                   public void windowClosing(WindowEvent e) {
                        Window window = e.getWindow();
                        window.setVisible(false);
                        window.dispose();
                        System.exit(0);
              frame = new CGridBagLayout2();
              frame.addWindowListener(exitListener);
              frame.setPreferredSize(new Dimension(1000, 800));
              frame.pack();
              frame.setVisible(true);
    }Edited by: eric_gavaldo on Sep 15, 2010 2:18 PM

  • How can I control the window size of my output?

    Hi,
    I'm drawing a blank... How do I control the size of the window that my project is viewed in? Right now, it's the entire browser window.
    Thanks,
    Janice

    Hi,
    From your post, I assume you are creating WebHelp output.
    You  need to create a window for the help in the Project Set-up pod. Then,  you need to make sure you call the output so that the window is used.  See http://www.grainge.org/pages/authoring/calling_webhelp/calling_webhelp.htm.  This article on Peter's site give you an overview over the  possibilities of calling context sensitivive webhelp and also tells you  how to specify the needed window. Also, the installation directory of  RoboHelp 8 contains a directory called CSH API. In there are example  API's your developer can use to call the help.
    Greet,
    Willam

Maybe you are looking for

  • Weird: Character in View cut out.

    I have a very strange behavoir in Crystal Reports. Somehow I feel that there is a simple cause for this. OK. I have a field in Crystal Reports containing the STATIC string "2-û". The String is displayed correctly in the designer. When i save the repo

  • Why negative sign is appearing in right side of output

    Hi ABAP Gurus , I have wrriten a BDC which display the output and also downloads the list into notepad. While displaying output on the screen that particular field shows minus sign on the right and in the downloaded file the sign is in the extreme ri

  • Unable to install SQL SSRS add-in for SharePoint

    I am unable to install MS SQL SSRS add-in for SharePoint 2010 in a two tier architecture. The following message is displayed while running the Add-in installation: "Please ensure Microsoft SharePoint Technologies is installed" The environment setup i

  • How to review my acount without Credi Card

    Hello I have account on Itunes but how to review this without Credit Cart because i dont have Credi Card Account. Thank and Respect.

  • Error while installing SAPKH60011 in ECC 6

    Dear Experts, I found return code 8 while installing support pack for our ECC server. The patch is SAPKH60011 - SAP_APPL Please explain what could be the reason and how can it be solved? Regards, B.Sudharsan