How to open an image in popup window?

HI,
In my project there is some text and a small picture. I want
when I click on this image a window appears with the full picture
with only close option.
ANy idea !!
thanks

Oops. Sorry bout that... :-)
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute">
<mx:HBox width="30%" height="80%" borderStyle="solid"
borderColor="#fffffc" borderThickness="2">
<mx:Image source="1.jpg" width="60" height="90"
click="navigateToURL(new URLRequest('1.jpg'),'_blank')"/>
<mx:TextArea height="300" width="288"
horizontalScrollPolicy="off"
verticalScrollPolicy="off" letterSpacing="1"
backgroundAlpha="0"
borderThickness="0" fontSize="12" fontFamily="Times New
Roman"
wordWrap="true" textAlign="left" backgroundColor="#869ca7"
color="#ffffff">
<mx:htmlText>
<![CDATA[
<p>This is cardiovascular medicine.translate the
extraordinary progress of Promote heart health. At the nucleus of
SCVI is a richl as it iscardiovascular
medicine.</p><p>This is cardiovascular
medicine.translate the extraordinary progress of science and rich
thing.</p><p>Cardiovascular medicineThis is
cardiovascular medicine.translate the extraordinary progress.
</p>
]]>
</mx:htmlText>
</mx:TextArea>
</mx:HBox>
</mx:Application>

Similar Messages

  • How to open URL as a popup window through BRANCH in APEX reports

    Hi
    I am using APEX 4.0
    I have a branch with a target type of URL. The branch is triggered by pressing a button. There is also a plsql process on the same button which fires at the process point of "On Submit-After Computations and Validations". I want to open the branch URL as the popup Window. I tried doing it with javascript, but then the plsql process doesn't execute. Any pointers will be helpful.
    Thanks
    Hina

    You can use the apex.submit javascript function. This function allows to store some item value from session scope to database scope. So that a page process picks the correct item value. Not sure if it works with computations thou.
    See the docs: JavaScript APIs
    Example
    Submits the current page with a REQUEST value of 'DELETE'.
    apex.submit({ request:"DELETE", set:{"P1_DEPTNO":10, "P1_EMPNO":5433});
    Then add a branch with type "branch to function returning URL" This page branch can be made conditional on the same request as the page process.
    The returned url would be either include the javascript popup or window.open function or simply be the url. Important thing here would be to use a function that reads the url item  from database state, since at that moment the computation or page process will have set the item on database level, but it is not directly available on page level.
    meaning ":p2_item" or v('P2_ITEM') should work. &P2_ITEM. in the url will probably not work.

  • How to print preview in a popup window?

    There are couple of websites that I use frequently and they open links up into popup windows that I would like to print using print preview so I don't waste paper. Is there a way to do print preview from a popup window or can I open popup windows in a new tab?
    Please Help,
    jpmtnman

    Thanck you for your answer.
    Unfortunatly, my plugin aim to help debug javascript code. So, it's not my code which directly open popup, it's the code I'm watching. I cannot give argument to window.open.
    Correct me if I did not understand something, but your second option consist in modifying the settings of the user browser. How could I do that from a plugin ?
    Also, I realized that when I open a popup without the plugin tester(cfx run), i.e. in opening firefox the usual way, popup windows have the menubar with plugin buttons. O.o
    Is anyone know why this difference ?

  • Preview 4.1 - "open all images in one window"

    Dear users,
    Despite checking this button in Preferences, Preview often (not always) will open my images in different windows, as opposed to in one window with a thumbnail pane. This is especially true across file formats. Am I doing something wrong? THANKS!!

    First, put enough images into /Users/Shared to test. Then, create a new account, name it "test" and see how your Preview app works in that User acct? (That will tell if your problem is systemwide or limited to your User acct.) This account is just for test, do nothing further with it.
    Open System Preferences >> Accounts >> "+" make it an admin account.
    If the problem is present in the test account also, then it is systemwide. In this case try repairing this with the 10.5.4 Combo Update . This is a fuller install, as opposed to an incremental "delta" update so it should overwrite any files that are damaged or missing. It does not matter if you have applied it before.
    Remember to Verify Disk before update and repair permissions after update from /Applications/Utilities/Disk Utility.
    If the problem does not appear in the test account try starting in "Safe Mode" (It will take a bit more time to startup because it runs a directory check first).
    If that works go to System Preferences >> Accounts >> Login Items and remove them. Boot normally and test. If there are still problems, go to ~(yourHome)/Library/Contextual Menu Items and move whatever is there to the desktop. Then do the same with /Library/Contextual Menu Items. Lastly, try moving /Users/Home)/Library/Fonts to your desktop and restarting.
    Log out/in or restart, if that sorts it start putting items back one at a time until you find the culprit.
    Let us know.
    -mj
    Message was edited by: macjack

  • How to get the values from popup window to mainwindow

    HI all,
       I want to get the details from popup window.
          i have three input fields and one search button in my main window. when i click search button it should display popup window.whenever i click on selected row of the popup window table ,values should be visible in my main window input fields.(normal tables)
       now i am able to display popup window with values.How to get the values from popup window now.
       I can anybody explain me clearly.
    Thanks&Regards
    kranthi

    Hi Kranthi,
    Every webdynpro component has a global controller called the component controller which is visible to all other controllers within the component.So whenever you want to share some data in between 2 different views you can just make it a point to use the component controller's context for the same. For your requirement (within your popups view context) you will have have to copy the component controllers context to your view. You then will have to (programmatically) fill this context with your desired data in this popup view. You can then be able to read this context from whichever view you want. I hope that this would have made it clear for you. Am also giving you an [example|http://****************/Tutorials/WebDynproABAP/Modalbox/page1.htm] which you can go through which would give you a perfect understanding of all this. In this example the user has an input field in the main view. The user enters a customer number & presses on a pushbutton. The corresponding sales orders are then displayed in a popup window for the user. The user can then select any sales order & press on a button in the popup. These values would then get copied to the table in the main view.
    Regards,
    Uday

  • Photoshop Elements 13 how to open an image as a layer?

    Hello, I recently received as asked Photoshop Elements 13 for Christmas, and have been using Gimp for about a year now as a substitute. However, when I went to start a project, I couldnt figure out how to open an image as a layer. Any help would be appreciated, thanks!

    Heres an example with 2 images. I want to get the image you see in this picture, and place it in the original image as a layer, not a separate project.

  • How to open attachments in email from windows users

    How to open attachments in email from windows users.

    That would be totally dependent on what type of file has been sent. What is the windows user sending to you?

  • How to stop the Company Code popup window in MIRO!

    Hi,
    When User logs in the system and enters into the MIRO transaction, he is asked to enter the Company Code first in order to proceed further. I know that once you enter the company code then the system does not ask it to enter again during that login, however, it will asks again whenever User login the system again!
    Can someone tell that how to stop this Company Code popup window in MIRO, so that the system should not ask for the Comp Code whenever User logs in and enters into MIRO? I think there are some entries maintained in the User Master for this!
    Thanks.

    Hi,
    It is Necessary for the user to enter the company code for which he need to process the Invoice.
    First think is if the user knows ,that he is only going to do for one company code.then
    in the T code SU3.
    In the parameter TAB
    you can make the Default value for the parameter ID BUK as your Comany Code value ( Eg 1000)
    so that when ever the user does the MIRO ,it comes with that company code only.
    and if he want to do for another comapany code ,he has to use the option of Switching the comapny code.
    so this is user dependent and has to be made for all users.
    Note .the above setting works only you have entered saved and logged off and log in again.
    also ,this value gets defaulted you all the comapny codes in all screen.
    Hope so it helps.
    Regards
    Anjanna.

  • Hi, anyone can tell me how to open a CD - ROM FOR windows 2000 and XP Version 1.1b Software by Softwire LTD?

    Hi, anyone can tell me how to open a CD - ROM FOR windows 2000 and XP Version 1.1b Software by Softwire LTD?

    Then you will need a copy of XP running in a virtual machine, or possibly bootcamp depending what Mac OS you're currently on.
    Rather expensive way to do it, but if it's Windows software, you need Windows.

  • How to make mouseover effect text show image in popup window or tooltip?

    I am trying to display a popup image in a new window when the mouse moves over some text. Or perhaps, the image could display in a tooltip when the mouse moves over some text.
    However, I have achieved the functionality of an image appearing above the text when the mouse moves over some text. This is how I did this:
    I put this code into the Page HTML Header:
    <script type="text/javascript">
    <!--
    function setFirstChildImgDisplay(el,vis) {
    if(!el || !el.getElementsByTagName) return;
    el.getElementsByTagName('img')[0].style.display=vis;
    // -->
    </script>
    I created a region and put this in the Region's Title field:
    {div onmouseover="setFirstChildImgDisplay(this,'inline')"  onmouseout="setFirstChildImgDisplay(this,'none')">Check out Page 1 here <img src="#WORKSPACE_IMAGES#DGNR Preview Page 1.bmp" alt="Page 1 Preview" style="display:none;">{/div}
    I am thinking that I should not have all of this code in the Region's Title field. But, I don't know where else to put it in APEX.
    So my questions are:
    1. how to get an image to display in a popup window or as a tooltip when the mouse is moved over some text?
    2. where should the {div} content be placed in APEX, if not in the Title field?
    Please note that I used '{' & '}' instead of '<' & '>' just so the div would display in this post.
    Also, I would like to give credit to this website because this is where I found out how to do what I have provided above.
    http://forums.devshed.com/web-design-help-2/mouseover-effect-text-shows-image-321876.html
    Thank you in advance,
    Maggie

    It's just an image map. Play with the settings. Here's a shape layer making a hole in the water and adding a bit of color.

  • How to pass the values from popup window to parent's window

    Hi Experts,
    in my application i need to develop one popup window in that i have created 4 dropdowns and one ok button , if i willl click on that ok  button the values should pass to parent window dropdownlistboxes
    can any body suggest how i will get the popup window values
    thanks in advance,
    ramani.

    Hi Ramani,
    I can provide few inputs on how can we control JSP 2 from JSP1.
    Here is the code. Check if you can convert this to make useful to you. I am not passing values but control.
    here it is:
    JSP 1.
    <h1>Page One</h1>
    <br>
    <a href="/irj/portalapps/<PAR_FILE_NAME>/images/<HTML_PAGE_NAME>.html#part1">part 1</a>
    <br><br><br>
    <a href="/irj/portalapps/<PAR_FILE_NAME>/images/<HTML_PAGE_NAME>#part2">part 2</a>
    <br><br><br>
    <a href="/irj/portalapps/<PAR_FILE_NAME>/images/<HTML_PAGE_NAME>#part3">part 3</a>
    JSP 2.
    <h1>Page Two</h1>
    <br>
    <a name="part1">
    <h3>Part 1</h3>
    </a>
    <a name="part2">
    <h3>Part 2</h3>
    </a>
    <a name="part3">
    <h3>Part 3</h3>
    </a>
    This way you can move from one JSP to other.
    regards
    -Kedar Kulkarni
    reward points if useful.
    Message was edited by:
            Kedar Kulkarni

  • How to pass field value from popup window to oninput processing of other pg

    Hi,
    I want to pass a field value from the popup window to oninput processing of main page ( from where popup window is triggered). and need to close the popup window. How to do it ?
    In the popup window's oninputprocessing, im doing some validation checks. If it passes all the validations, then only the control shd come to main page ..else it should stay in popup window only .
    Regards,
    Jothi.

    Hi Jothi,
    you can use java script to pass the value and close your popup window. use the following code.
    in your popup window:
    function passData(h1)
             window.opener.document.getElementById('var1').value = h1 ;
             window.close();
    then call this function when you finish your validations.
    in your main page layout create an input field with id as passed in the function above "var1".
    In the value attribute give it your variable as follow:
    <htmlb:inputField id      = "var1"
                              value   = "<%= var2 %>"
                              visible = "false" />
    "var2" will be assigned the value from your popup window.
    I hope this will help you..
    Regards,
    Husain

  • Image in popup window header

    How to Make a image or icon appear in popup window header?
    I have created a MXML component using TitleWindow.. and i am using it as a pop up..
    How do i set titleIcon for the popup?

    Embed(source='assets/image.png')] 
    private static const iconImg:Class;
    <mx:TitleWindow titleIcon={iconImg}/>
    This solved my issue..
    titleIcon="@Embed(source='assets/image.png')" this gave an error.
    Thanks for the responses..

  • Datepicker PopUp opens in the calling PopUp window

    Hey Guys, I need some help on this...
    I have a button that opens a PopUp window, and in this PopUp I have a "Date Picker" item,
    And when I want to select a date, the calendar shows up in the same PopUp window, and I m loosing the calling PopUp(the first one).
    How can I do so, that to have my PopUp window, and the calendart to show up in another PopUp?
    Thanks in Advance

    Hi,
    that's because of the Window Name you specified. Specify another one or use the popUp2 method which will create a unique name.
    Hope that helps
    Patrick
    Check out my APEX-blog: http://inside-apex.blogspot.com

  • How to fix load image from another window?

    I have set up a page with a button when clicked, it open 2 windows on top,
    the right one first then pop up the left onload.
    Left window works as a menu, when clicks the thumbnail image on the left window
    will display an enlarged image on the right window.
    When browser preference set to block popup window
    it will only popup the right window, won't popup the left window (menu) onLoad.
    I've try to set the behavoir to pop up both left and right window onClick,
    it open 2 window but lost the function of display image on right window.
    It display the large image on the window underneath instead (the button page)
    I know it sounds confusing but hope someone can help to solve the problem
    Thank you

    Where is the URL to your site?
    Gramps

Maybe you are looking for