Text with pop-up image


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 7 of 7

Thread: Text with pop-up image

  1. #1
    Join Date
    Oct 2004
    Posts
    20

    Text with pop-up image

    I am looking for help with code telling how to have an image pop up when I move the cursor over a certain piece of text. I have found a lot of help if I wanted to do the traditional image change/mouse rollover, basically one image to another. I just can't find code to go from text to an image. I also need to be able to set the image size. I am using a web page as a mini database, because I will have a list of names and when I move the cursor of the text the images will appear. I have a link below showing exactly what I want to do. I looked through the page's source code but it did not show all the code.

    http://www.achieve360points.com/list/

  2. #2
    Join Date
    Jul 2007
    Location
    Minnesota
    Posts
    155
    Are you looking for something this way?

    http://www.despatch.com/thermal-us/sResults.aspx

    I coded this one so if you need help, I can send you the code.

    Thanks,
    Emefa

  3. #3
    Join Date
    Sep 2009
    Posts
    1

    Rollover Pop-up Code

    Hi Emefa

    Can you please send me the code for rollover popups? Removed By Mod

    Thanks
    Last edited by Hack; 09-01-2009 at 02:52 PM. Reason: Removed EMail Address

  4. #4
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    I have edited your post and removed your email address.

    You should never post your email address in an open post on an open forum. Mail spam bots can pick that up and before you know it, your mailbox is full of junk mail. If you wish to share your email address with other forum members, please do so via our PM system.

    In addition, we prefer all answers to questions be publically posted rather than sent via EMail or PM. That way, everyone with a similar problem can benefit.

    Thanks.
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  5. #5
    Join Date
    Sep 2009
    Posts
    4

    Could I get the code please?

    Hello:

    I have been looking for the code on how to do text to images and text to pop up text windows as well, is there anyway that I can get a copy of the code?

  6. #6
    Join Date
    Jul 2007
    Location
    Minnesota
    Posts
    155
    Here is an attached code for how to achieve the popup on rollover.

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Image Popup test</title>
    
    
    </head>
    
    <body>
    
    <a href ="http://www.despatch.com/thermal-us/sResults.aspx?sterm=batch" onmouseover="return escape('<img src=\'images/batch1.jpg\'> ')">Despatch Batch Products</a>
    
     <!-- This has to be placed right before the </body> tag -->
    <script language="JavaScript" type="text/javascript" src="js/wz_tooltip.js"></script>
    
    </body>
    </html>
    I have attached the entire file together with the wz_tooltip.js file to this post.
    You can set the image width and height in the javascript source file.
    Attached Files Attached Files
    Last edited by Emefa; 09-04-2009 at 01:52 PM.

  7. #7
    Join Date
    Sep 2009
    Posts
    4

    Thank you!

    Thank you so much!

Similar Threads

  1. Text to image
    By armandolaser in forum ASP.NET
    Replies: 2
    Last Post: 10-03-2007, 10:58 PM
  2. text to image
    By b_bprimal in forum Java
    Replies: 0
    Last Post: 02-26-2007, 04:58 AM
  3. Replies: 0
    Last Post: 12-20-2005, 06:29 AM
  4. Script for scrolling
    By Mark in forum Web
    Replies: 3
    Last Post: 08-30-2001, 12:45 PM
  5. Double Text 1.0
    By George Gilbert in forum vb.announcements
    Replies: 0
    Last Post: 08-19-2001, 12:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center