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.

Similar Messages

  • How to make this effect: text or image on water surface in Psunami plugin ?( AE) + video

    Look at the video. Its made in Psunami plugin for After effects. But how???? Any idea, who knows all the steps?
    https://m.youtube.com/watch?v=q_O_BeJWg6g

    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 Make a dynamic screen show after Logging Into Windows

    I have been asked if it possible to get a Screen (Web page?) to show after people log in and before it takes you to the desktop?
    what the requestor wants is basically, you log in onto your laptop, and then a screen will appear with several choices for you to choose from and you can click the item you want and then it will open...
    the thing is the requestor wants to have the company logo and specifc items in the screen...yes, I realize this sounds like the tiles that Windows 8 has).... but it also is similar to a web page...
    the person mocked up what they want in Access...
    is there a way I can do this with a .bat or group policy....

    Hi,
    What you have described looks like some kind of software management system.
    According to my knowledge, we could configure group policies/scripts to run programs at start up or user logon, but this won't offer a list for the current user to choose, or might we consider to create a software list program which will be triggered
    by a logon script, after the selection then make a call to the wanted program?
    Best regards
    Michael Shao
    TechNet Community Support

  • How to make Dynamically Shortened Text With "Show More"

    Hi there! i want to know how to make dynamically shortened text with show more or read more in my website using HTML 5 pages  or ASP.NET ?
    example like these paragraphs 
    Lorem Ipsum är en utfyllnadstext från tryck- och förlagsindustrin. Lorem ipsum har varit standard ända sedan 1500-talet, när en okänd boksättare tog att antal bokstäver och blandade dem för att göra ett provexemplar av en bok. Lorem ipsum har inte bara överlevt fem århundraden, utan även övergången till elektronisk typografi utan större förändringar. Det blev allmänt känt på 1960-talet i samband med lanseringen av Letraset-ark med avsnitt av Lorem Ipsum, och senare med mjukvaror som Aldus PageMaker.
    Det är ett välkänt faktum att läsare distraheras av läsbar text på en sida när man skall studera layouten. Poängen med Lorem Ipsum är att det ger ett normalt ordflöde, till skillnad från "Text här, Text här", och ger intryck av att vara läsbar text. Många publiseringprogram och webbutvecklare använder Lorem Ipsum som test-text, och en sökning efter "Lorem Ipsum" avslöjar många webbsidor under uteckling. Olika versioner har dykt upp under åren, ibland av olyckshändelse, ibland med flit (mer eller mindre humoristiska).
    I motsättning till vad många tror, är inte Lorem Ipsum slumvisa ord. Det har sina rötter i ett stycke klassiskt litteratur på latin från 45 år före år 0, och är alltså över 2000 år gammalt. Richard McClintock, en professor i latin på Hampden-Sydney College i Virginia, översatte ett av de mer ovanliga orden, consectetur, från ett stycke Lorem Ipsum och fann dess ursprung genom att studera användningen av dessa ord i klassisk litteratur. Lorem Ipsum kommer från styckena 1.10.32 och 1.10.33 av "de Finibus Bonorum et Malorum" (Ytterligheterna av ont och gott) av Cicero, skriven 45 före år 0. Boken är en avhandling i teorier om etik, och var väldigt populär under renäsanssen. Den inledande meningen i Lorem Ipsum, "Lorem Ipsum dolor sit amet...", kommer från stycke 1.10.32.
    Den ursprungliga Lorem Ipsum-texten från 1500-talet är återgiven nedan för de intresserade. Styckena 1.10.32 och 1.10.33 från "de Finibus Bonorum et Malorum" av Cicero hittar du också i deras originala form, åtföljda av de engelska översättningarna av H. Rackham från 1914.

    Moved to the main Dreamweaver support forum.
    There are several ways you could approach this. Here's one you might try:
    Give the first paragraph an ID, such as "first", and wrap the paragraphs you want to hide in a <div> with another ID, such as "more". Then add the following block of JavaScript just before the closing </body> tag of the page:
    <script>
    var first = document.getElementById('first'),
         more = document.getElementById('more'),
         trigger = document.createElement('span');
    trigger.id = 'trigger';
    trigger.innerHTML = 'Show less';
    first.appendChild(trigger);
    function toggleDiv() {
      var state = more.className,
           text = trigger.innerHTML;
      more.className = (state == 'open') ? 'closed' : 'open';
      trigger.innerHTML = (text == 'Show more') ? 'Show less' : 'Show more';
    toggleDiv();
    if (trigger.addEventListener) {
        trigger.addEventListener('click', toggleDiv, false);
    } else if (trigger.attachEvent) {
      trigger.attachEvent('onclick', toggleDiv);
    } else {
      trigger.onclick = toggleDiv;
    </script>
    This gets references to the "first" paragraph and the "more" <div>. It also creates a <span> with the ID "trigger" that's appended to the "first" paragraph. The rest of the script defines a function called toggleDiv(), which toggles the "more" <div> open and closed, and changes the text in the "trigger" <span>.
    You also need to create the following style rules for the various elements:
    <style>
    #trigger {
        text-decoration: underline;
        color: blue;
        cursor: pointer;
    #more {
        transition: ease-out .7s;
        overflow: hidden;
    #more p:first-child {
        margin-top: 0;
    #more.closed {
        height: 0;
        -webkit-transform: translateY(-600px);
        transform: translateY(-600px);
    #more.open {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        max-height: 600px;
    #more + p {
        margin-top: 0;
    </style>
    This solution hides the text and creates the "trigger" <span> only if JavaScript is enabled in the browser. It should work in all browsers, including Internet Explorer 8 and earlier.

  • How to make this effect in Keylight?

    Hi, I have question, how to make this effect in Keylight?
    I know that this overlay is added here:
    http://oi57.tinypic.com/1174fup.jpg
    Photos:
    http://iv.pl/images/18475588964010299091.jpg

    Keylight what? All I see is some effect similar to Leave Color, a.k.a the Pleasantville effect that made the rounds 10 years ago. It may require additional masking and otehr effects, but definitely not something that is specifically related to Keylight...
    Mylenium

  • How can I prevent my texts showing on another family members iPhone?

    How can I prevent my texts showing on another family members iPhone?

    Stop using the same apple ID for iMessage on both phones.
    Your question has already been asked and answered many many times. Search before posting please.

  • How to make Finder NOT to show files from a specific folder in "All My Files"?

    Hello!
    Can someone please advice how to make finder NOT to show files from a specific folder in "All My Files"? See the attach - I recently installed Civilization 5 from Steam and now I have a lot of unneeded files (*.log and *.ini) shown in  All My Files colder in Finder.
    I don't want to see them. Any advise?

    Using "All my Files" was very handy before all this rubbish popped up. =(

  • How to make separate/individual text frame from one parent frame in indesign with javascript

    Hi all,
    Please suugest - how to make separate/individual text frame from one parent frame in indesign with javascript.
    Thanks
    Rohit

    @Larry – ah, your interpretation could be the right one…
    May I rephrase the question:
    "How to split threaded text frames to single ones?"
    "SplitStory.jsx" or "BreakFrame.jsx" under Scripts/Samples indeed could be the answer.
    From the comments in the code of "BreakFrame.jsx":
    //Removes the selected text frame (or text frames) from the
    //story containing the text frame and removes the text contained
    //by the text frame from the story.
    //If you want to split *all* of the text fames in the story, use the
    //SplitStory.jsx script.
    Uwe

  • How to make a dynamic text  be SMS by fl2.1

    Now ,I know use " getURL("sms:"+telnumber) "to send sms to a
    specified no.,but how to make a dynamic text be the sms content.?
    Many thx!:

    Ciao,
    this should work:
    smstxt = "ciao, happy holidays";
    telnum = "1234567890";
    getURL("sms:"+telnum+"?body="+smstext);
    body is a keyword.
    Alessandro

  • How to make my tab page shows all my applications?

    How to make my tab page shows all my applications?Please help me as fast as possible. Thx .
    Note: Please write as detail as possible because I am new to vb.Thx again.

    Hi,
     For a lack of info about what Applications you are talking about we can only guess at what you want to do. In my experience, this is the kind of question that ends up being a mile long with 15 different examples because nobody knows exactly what you
    are trying to do.
     With that said, maybe you can put a ListView in your TabPage and use the code i showed in the link below. If not then please explain exactly what you want to do.  8)
    How to make a screen that displays 'all apps'?
    If you say it can`t be done then i`ll try it

  • How to make glitch effects

    Hi, i have question. How to make glitch effects? Like in this picture:

    Hi,
    I appologize to the moderators before hand, but I cannot help myself!:
    Bogiesan.....
    Pierre

  • How to make an effect of a glass breaking and fall into pieces?

    How to make an effect of a glass breaking and fall into pieces?
    I want to make an effect where there's a guy hitting a wall and the wall falls into pieces...Please help!! I can make the guy in green screen but its the effect of the wall breaking that I want to know how to make in motion. Hope anyone can help

    Search is your friend:
    http://discussions.apple.com/search.jspa?threadID=&q=shattering&objID=f656&dateR ange=all&numResults=30
    Patrick

  • How to make the exe always visible in the application window

    Hi,
    I created an interface for "illustrator CS" using Visual Basic and copied that exe in Scripts folder. I want to know how to make the exe always visible in the application window itself(Not in Taskbar), once it was clicked. Could you please, kindly advice me.
    Thanks,
    Prabudass

    Hi,
    I guess....though i am not pretty sure....but the Preview tab has been discontinued in the newer versions....
    Only the Gods can give a perfect solution though...!!
    <i>Do reward each useful answer..!</i>
    Thanks,
    Tatvagna.

  • How to make it selected when clicked and open popup

    Hi,
    I 've a form in the parent page with many form elements.
    I've 2 radio buttons with values "Yes" and "No". I am opening a modal popup when clicked on "Yes" radio button. The modal popup is opening fine.
    But when I click "Yes", it' s not selected. After modal popup is closed, when I return to parent page, the option "Yes" is still not selected.
    How to make it selected when clicked and open popup?

    Perhaps try moving the application to your preferred desktop and then right-click it's dock icon > options > Assign to This Desktop.

  • Show some text messages in a popup window.

    I have a requirement to show some text in a pointed popup window (similar to a pointed tooltip) when a commandLink is clicked. The text consists of 2-3 lines. What can I use?
    I guess <af:popup> doesnt show up as a pointed tooltip.

    Use an ad:popup and put an af:noteWindow in there.
    Check out http://docs.oracle.com/cd/E21764_01/apirefs.1111/e12419/tagdoc/af_popup.html
    Timo

Maybe you are looking for

  • Problems after installation with disp+work.exe

    Hey guys, i tried to find a solution, but didn't found one....after installation i had to find sapmmc. There was a error message after installation; after some adjustments in the service-file of windows now the message-server runs; but the disp+work

  • The leftmost item in a blog doesn't response to mouse click.

    In this blog, hantudunia.blogspot.com, I tried to click an item on the leftmost "Histeria" tab, but no finger pointer appear, but adjacent item to the right is clickable. When I used Internet Explorer, all items are clickable. Is this Firefox problem

  • Why does my interactiv PDF not work?

    I have made an interactive Indesign. Buttons going back to TOC and in TOC buttons that direct til the respective pages. Buttons that goes to next and previors page. Now in the interactive PDF only e few of the next page are working and non of the res

  • Not Opening PDF Files

    I am having a problem openining PDF files. When I click on the link for PDF files on Safari, I get a screen that asks which program I want to open up the PDF with. Preview is disabled since I can't click on it. I then click on Adobe (I have 7.07 load

  • Rented Movie Video and Sound out of sync

    I love renting movies from ITunes , but there is this ongoing issue with video and sound syncronisation. I have Window 7 64bit with i7 processor and the latest version of Itunes. I have gone through the settings of altering the sound properties on Qu