Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 7th, 2009, 03:54 AM
Registered User
Points: 43, Level: 1
Points: 43, Level: 1 Points: 43, Level: 1 Points: 43, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2009
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
Default Image pop out

How do i use the image pop out tool?I want an image to pop out when i move the mouse over an object in my wepage.
 
Old October 12th, 2009, 08:35 AM
Friend of Wrox
Points: 3,558, Level: 25
Points: 3,558, Level: 25 Points: 3,558, Level: 25 Points: 3,558, Level: 25
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: California, USA
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

as a new window u can use JavaScript as well
Code:
window.Open(...)
or if u mean in a page u gonna have to put it in a <DIV> & show it on mouse over as u wish
__________________
Always,
Hovik Melkomian.
 
Old October 13th, 2009, 08:22 AM
Registered User
Points: 43, Level: 1
Points: 43, Level: 1 Points: 43, Level: 1 Points: 43, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2009
Posts: 8
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by melvik View Post
as a new window u can use JavaScript as well
Code:
window.Open(...)
or if u mean in a page u gonna have to put it in a <DIV> & show it on mouse over as u wish
Thanks Melvik.Bt cld you please give me the actual code.I'm kinda new to ASP.I need code for the second option(using <DIV>)
 
Old October 15th, 2009, 04:09 AM
Friend of Wrox
Points: 3,558, Level: 25
Points: 3,558, Level: 25 Points: 3,558, Level: 25 Points: 3,558, Level: 25
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: California, USA
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

ok sorry to be late but I try to make it simple in this sample
Code:
<html>
  <head>
    <style>
.collapsed
{
 display:none;
}

    </style>
<script language="JavaScript">

function ShowImg() {

    pic.className = "expand"
}

function HideImg()
{
    pic.className = "collapsed"
}
</script>
  </head>

  <body>
    <div onmouseover="ShowImg()" onmouseout="HideImg()">&nbsp;
        <div id="pic" class="collapsed">
            <img src="file:\\D:\loading.gif">
        </div>
    </div>
  </body>
</html>
HTH ;)
__________________
Always,
Hovik Melkomian.




Similar Threads
Thread Thread Starter Forum Replies Last Post
How to display image in a pop-up window nrlahoti ASP.NET 2.0 Professional 1 October 15th, 2007 07:28 AM
How to do an image pop-up from a dynamic page Nostromo77 ASP.NET 2.0 Basics 1 March 24th, 2007 06:24 PM
Newbie Question RE Image pop ups Nostromo77 ASP.NET 2.0 Basics 0 December 10th, 2006 07:31 PM
open a new pop-up from a pop-up crmpicco Javascript How-To 1 January 18th, 2005 10:48 AM
Pop up menu for image joshil Dreamweaver (all versions) 0 May 14th, 2004 12:58 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.