473,796 Members | 2,708 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Javascript to popup ASPX page

Hi, I've seen something on a web site that I want to do for our Intranet
web site. I'm not advocating pop-ups but for our company app, this
would be perfect.

Please go to this page and hold your mouse over one of the rings.
http://www.bluenile.com/product_cata...64&track=hero&
elem=img

The middle ring on the top brings up this page, but in a pop-up form.

http://www.bluenile.com/product_deta...le.asp?oid=487

Can someone show me how to do this? I'm not a javascript programmer so
I'm not really good at this. If you can include the code to popup I
would be really appreciative. The popup also does an arrow (sort of) on
the popup - I don't need it to be that fancy.

And yes, I was looking at the page for my wife! 10 year anniversary is
coming up.

Rusty

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Mar 27 '06 #1
4 2405
have a look at the source, it seems to be just html in the mouse over

--
Warm Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley 2006
Blog: http://msmvps.com/blogs/Alvin/
-------------------------------------------------------

"Rusty" <ru***@pleaseno emailthanks.com > wrote in message
news:OF******** ******@TK2MSFTN GP12.phx.gbl...
Hi, I've seen something on a web site that I want to do for our Intranet
web site. I'm not advocating pop-ups but for our company app, this
would be perfect.

Please go to this page and hold your mouse over one of the rings.
http://www.bluenile.com/product_cata...64&track=hero&
elem=img

The middle ring on the top brings up this page, but in a pop-up form.

http://www.bluenile.com/product_deta...le.asp?oid=487

Can someone show me how to do this? I'm not a javascript programmer so
I'm not really good at this. If you can include the code to popup I
would be really appreciative. The popup also does an arrow (sort of) on
the popup - I don't need it to be that fancy.

And yes, I was looking at the page for my wife! 10 year anniversary is
coming up.

Rusty

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com

Mar 27 '06 #2
Thanks Alvin,
I looked at the source, that's how I got the second URL which is the
same as the popup, but not in the web browser. I don't think those
popups are in the source of the main page because I did some CTRL-F on
the popup text and found nothing in the source.

I saw this in the source - is that what you meant?
<script language="JavaS cript">if(Overl ayManager)
OverlayManager. refreshImage('p icture_487','/product_details _simple.asp?o
id=487');</script>

how do I get the OverlayManager thing to fire? Do you have a code
sample that I can use to do this?

"Alvin Bruney - ASP.NET MVP" wrote:
have a look at the source, it seems to be just html in the mouse over

--
Warm Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley 2006
Blog: http://msmvps.com/blogs/Alvin/
-------------------------------------------------------

"Rusty" <ru***@pleaseno emailthanks.com > wrote in message
news:OF******* *******@TK2MSFT NGP12.phx.gbl.. .
Hi, I've seen something on a web site that I want to do for our Intranet web site. I'm not advocating pop-ups but for our company app, this
would be perfect.

Please go to this page and hold your mouse over one of the rings.
http://www.bluenile.com/product_cata...64&track=hero& elem=img

The middle ring on the top brings up this page, but in a pop-up form.

http://www.bluenile.com/product_deta...le.asp?oid=487

Can someone show me how to do this? I'm not a javascript programmer so I'm not really good at this. If you can include the code to popup I
would be really appreciative. The popup also does an arrow (sort of) on the popup - I don't need it to be that fancy.

And yes, I was looking at the page for my wife! 10 year anniversary is coming up.

Rusty

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com



--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Mar 27 '06 #3
On Mon, 27 Mar 2006 07:46:10 -0800, in
microsoft.publi c.dotnet.framew ork.aspnet Rusty
<ru***@pleaseno emailthanks.com >
<OF************ **@TK2MSFTNGP12 .phx.gbl> wrote:
| Hi, I've seen something on a web site that I want to do for our Intranet
| web site. I'm not advocating pop-ups but for our company app, this
| would be perfect.
|
| Please go to this page and hold your mouse over one of the rings.
| http://www.bluenile.com/product_cata...64&track=hero&
| elem=img
|
| The middle ring on the top brings up this page, but in a pop-up form.
|
| http://www.bluenile.com/product_deta...le.asp?oid=487
|
| Can someone show me how to do this? I'm not a javascript programmer so
| I'm not really good at this. If you can include the code to popup I
| would be really appreciative. The popup also does an arrow (sort of) on
| the popup - I don't need it to be that fancy.
|
| And yes, I was looking at the page for my wife! 10 year anniversary is
| coming up.
|
| Rusty


This is just a fancy Show/Hide div routine. Search google for
javascript + "show div".

Alternatively you could use CSS to do something similar.

----- Start of code -------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>Mouse Over example</title>
<style type="text/css">
..Tooltip a {
margin: .5em 0 0 0;
padding: 0 14px 0 0
}
..ToolTip a span {
left: -9999px;
position: absolute; /*
Use 'position:absol ute' to push the span inside the anchor
way off the screen
*/
width: 900px
}
..ToolTip a:hover span, .ToolTip a:active span {
background: #DDE6FF;
border: 1px solid #444444;
color: #000000;
font-size: 80%;
left: 20px; /*
Take the previously hidden span and display it near the anchor
*/
line-height: 1;
padding: 5px;
text-decoration: none;
top: 20px;
width: 450px /*
This is just for looks...
*/
}
..ToolTip a:hover, .ToolTip a:active {
position: relative /*
On 'hover' set the anchor to 'position:relat ive' to get a
measuring point. Somehow IE doesn't like it when this is
in the '.col2 a' declaration...
*/
}
</style>
</head>
<body>
<p class="ToolTip" ><a href="#"><img src="../images/check.gif"
width="20" height="20" border="0" /> <span>This is where my text/table
etc goes</span> </a></p>
<p>&nbsp;</p>
<table width="100%" border="0" cellspacing="0" cellpadding="5" >
<tr align="left" valign="top">
<th align="left" valign="middle" nowrap="nowrap"
class="ToolTip" >Method 2 Using a table <a href="#"><img
src="../images/icon_info.png" alt="" width="32" height="32"
align="absmiddl e" /><span>
<table width="100%" border="1" align="left" cellpadding="5"
cellspacing="0" bgcolor="#FFFFF F">
<tr>
<th width="10%" align="left" valign="top"
nowrap="nowrap" >Line 1</th>
<td width="90%" align="left" valign="top">De scription
Line 1</td>
</tr>
<tr>
<th width="10%" align="left" valign="top">Li ne 2</th>
<td width="90%" align="left" valign="top">De scription
Line 2</td>
</tr>
</table>
</span></a></th>
</table>
</body>
</html>
---------------------------------------------------------------
I often wish that email had never been invented, but there’s
just no way I can get rid of it. So, day after day, several times
a day, I dutifully delete 99% of the emails I receive, and when
I’m not able to get at my email for a few days, I’ll leave the
machine at home running to pick it up every 10 minutes so I don’t
overflow some capacity somewhere, and just the other day I caught
myself wondering who will clean out my Inbox after I’m dead.

Charles Petzold. October 20, 2005
---------------------------------------------------------------
Mar 28 '06 #4
nope, sorry i don't.

--
Warm Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley 2006
Blog: http://msmvps.com/blogs/Alvin/
-------------------------------------------------------

"Rusty" <ru***@pleaseno emailthanks.com > wrote in message
news:Og******** ******@TK2MSFTN GP12.phx.gbl...
Thanks Alvin,
I looked at the source, that's how I got the second URL which is the
same as the popup, but not in the web browser. I don't think those
popups are in the source of the main page because I did some CTRL-F on
the popup text and found nothing in the source.

I saw this in the source - is that what you meant?
<script language="JavaS cript">if(Overl ayManager)
OverlayManager. refreshImage('p icture_487','/product_details _simple.asp?o
id=487');</script>

how do I get the OverlayManager thing to fire? Do you have a code
sample that I can use to do this?

"Alvin Bruney - ASP.NET MVP" wrote:
have a look at the source, it seems to be just html in the mouse over

--
Warm Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley 2006
Blog: http://msmvps.com/blogs/Alvin/
-------------------------------------------------------

"Rusty" <ru***@pleaseno emailthanks.com > wrote in message
news:OF******* *******@TK2MSFT NGP12.phx.gbl.. .
Hi, I've seen something on a web site that I want to do for our Intranet web site. I'm not advocating pop-ups but for our company app, this
would be perfect.

Please go to this page and hold your mouse over one of the rings.
http://www.bluenile.com/product_cata...64&track=hero& elem=img

The middle ring on the top brings up this page, but in a pop-up form.

http://www.bluenile.com/product_deta...le.asp?oid=487

Can someone show me how to do this? I'm not a javascript programmer so I'm not really good at this. If you can include the code to popup I
would be really appreciative. The popup also does an arrow (sort of) on the popup - I don't need it to be that fancy.

And yes, I was looking at the page for my wife! 10 year anniversary is coming up.

Rusty

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com



--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com

Mar 28 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
5486
by: tshad | last post by:
I posted this on the asp.net group, also. I wasn't sure whether this was an asp.net problem or a javascript problem. I have a page that was originally created from a program I found on the net that works well as an html page. It brings up a modal popup window that I have been trying to work out for days now and this was the closest I have been able to come. I added a little asp.net code and an asp.net button and cannot get it to
6
751
by: szabelin | last post by:
Hello, I am trying to call a function inside the javascript block from asp.net during the postback (NOT button's OnClick event handler though). The javascript function creates new popup window. I register the javascript code with the RegisterClientScriptBlock. How how do I call the javascript function inside the block from within C# asp.net page. (yes I know popups are bad, please do not reply if you
12
1935
by: Mark Fox | last post by:
Hello, I am attempting to do something very simple. I have a page MainPage.aspx and a popup window Popup.aspx. When users click on the linkbutton in the popup window I am looking to do some server side processing in Popup.aspx, then have the popup window close, and have the MainPage.aspx do a postback to the server. But I am having trouble determining what client side javascript Popup.aspx should render after it does its server side
1
5410
by: Jorge Ponte | last post by:
hi I have a Web User Control (ascx) - lets call it "My_WUC" - in a Web form. In that WUC I want have a textbox and a button. I want to click on the button and open a popup (I use javascript for that), the popup window will have also a text box and a button. when the User click on the button the value on the textbox will be send back to the textbox on My_WUC. I hope I was clear off what I want to do. I've been searching for some ideas...
9
4923
by: tshad | last post by:
This is from my previous post, but a different issue. I have the following Javascript routine that opens a popup page, but doesn't seem to work if called from an asp.net button. It seems to work fine from a link. The button does bring up the popup window, but when I press the links on the page, it doesn't return or close the window. ****************************************************************************
1
2222
by: billy | last post by:
Ok, here's the situation... I have a user control that contains two textboxes (one for a from date/time and one for a to date/time) and two image buttons. The user control itself is supposed to be used on a number of different ASPX pages (that's why I made it a ASCX). When clicking the image button, I run simple JavaScript to open another popup ASPX page that contains a calendar control and two dropdownboxes for the time (hours :...
15
10100
by: H00ner | last post by:
Hello All Hope you can help Been pulling my hair out about a popup problem in ASP.NET. One of the forms i wrote requires the user to select a product from a list in a popup web form. the popup has a DataGrid on it and the page.load function DataBinds as you'd expect. I have Code-Behind in C# to emit a call to a JavaScript function which
4
4589
by: Matt Jensen | last post by:
Howdy all Hopefully I can explain my problem straightforwardly. In it's simplest explanation, what I want to do is have a hyperlink that, when clicked, executes some client side JavaScript and then saves every form element value and reloads the page (with the 'save' being much the same as what is achieved by an AutoPostBack="True" attribute on a web/html control). Actually it doesn't matter which order the JavaScript or 'save'...
0
1317
by: Barney | last post by:
1) I have an aspx page for customer details, opened using showModalDialog (i know, i know, but I inherited it and it's too integrated to change at this point). 2) This aspx page has some inputs on it, and some javascript that opens another page (address lookup using postcode/zipcode) using showModalDialog, passing "this" in as the dialogarguments parameter. 3) The postcode dialog refreshes itself as necessary to allow the user to...
2
2102
by: Jeff | last post by:
I'm hoping that someone can help me. I know little javascript and only need a very small amount in an asp.net application. I have most of it working with one problem. I'm attempting to open a modal dialog box from a parent window. The dialog box opens fine with the code below associated with the parent. In the child window, I have a button with the simple self.close() code associated with it. Obviously, I want to use the button to close the...
0
9685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10461
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10190
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10019
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9057
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6796
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5579
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4122
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2928
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.