Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 15th, 2003, 03:22 AM
Registered User
 
Join Date: Jul 2003
Location: karachi, sindh, Pakistan.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default alerting popup windown in minimized form

i want to creat a popup which on completing the downloads (images or other mean completed and showin done in status bar) should prompt user by blinking in task bar like a msn message window blink on arrival of a new message.
i tried Modal window , focus , blur and other things but cud not achive what i want.i want window in minimized state only to alert by blinking that page completed.
any idea how to do it.

regards
sirsyme

love for all
Reply With Quote
  #2 (permalink)  
Old August 16th, 2003, 12:26 PM
Authorized User
 
Join Date: Jun 2003
Location: , , USA.
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to natmaster Send a message via AIM to natmaster Send a message via MSN to natmaster
Default

try the onLoad trigger of the body tag. this triggers once the page is completed loading

----------------------------
Aeon of Darkness MUD - Free Online Roleplaying Game
http://aeonofdarkness.com
Reply With Quote
  #3 (permalink)  
Old January 31st, 2005, 08:57 AM
Registered User
 
Join Date: Jan 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by sirsyme
 i want to creat a popup which on completing the downloads (images or other mean completed and showin done in status bar) should prompt user by blinking in task bar like a msn message window blink on arrival of a new message.
i tried Modal window , focus , blur and other things but cud not achive what i want.i want window in minimized state only to alert by blinking that page completed.
any idea how to do it.

regards
sirsyme

love for all
Hi, I have the same problem as you did and I still didn´t found any solution. Did you endly found how to do it?

regards
julius

Reply With Quote
  #4 (permalink)  
Old February 1st, 2005, 05:47 AM
Friend of Wrox
 
Join Date: Oct 2004
Location: delhi, delhi, India.
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919
Default

Hiii
sirsyme & juliuscaesar

try this approach!!

Hope below code help you :)

*********test.html************
<script>

function popupOpen(){
width=400
height=10
document.getElementById("mywin").style.display=''
document.getElementById("mywin").style.width=width
document.getElementById("mywin").style.height=heig ht
document.getElementById("mywin").style.left=230
document.getElementById("mywin").style.top=400
document.getElementById("myframe").src="vinod.html ";
setTimeout("moveit()",3000);
}
function moveit()
{
document.getElementById("mywin").style.left=screen .width-20
}
function popupClose(){
document.getElementById("mywin").style.display="no ne"
}

</script>

<input type=button onclick="popupOpen()" value="chk">
<div id="mywin" style="position:absolute;background-color:navy;cursor:hand;left:0;top:0;display:none">
<div align="right"><span style="color:white" onClick="popupClose()">X</span></div>
<iframe id="myframe" src="" width=100% height=50%></iframe>
</div>

and here is "vinod.html" page

************vinod.html*********
<script>
function gotopage()
{
alert("here is ur redirect page")
}
</script><body leftmargin=0 topmargin=0 bgcolor="navy">

<table width=100%><tr><td><input type=button value="NewMailAlert" style="{background-color:white}" onclick="gotopage()"></td></tr></table>
</body>

Cheers :)

vinod
Reply With Quote
  #5 (permalink)  
Old February 4th, 2005, 06:04 AM
Registered User
 
Join Date: Jan 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi vinod,

I tried your code but I didnt found it fully usefull. I think that all the pop-up window related theme is not so important. What we want to know is how to make a window blink in the task bar without using the "focus()" method.

Thanks for your help,

juliuscaesar

Quote:
quote:Originally posted by vinod_yadav1919
 Hiii
sirsyme & juliuscaesar

try this approach!!

Hope below code help you :)

*********test.html************
<script>

function popupOpen(){
width=400
height=10
document.getElementById("mywin").style.display=''
document.getElementById("mywin").style.width=width
document.getElementById("mywin").style.height=heig ht
document.getElementById("mywin").style.left=230
document.getElementById("mywin").style.top=400
document.getElementById("myframe").src="vinod.html ";
setTimeout("moveit()",3000);
}
function moveit()
{
document.getElementById("mywin").style.left=screen .width-20
}
function popupClose(){
document.getElementById("mywin").style.display="no ne"
}

</script>

<input type=button onclick="popupOpen()" value="chk">
<div id="mywin" style="position:absolute;background-color:navy;cursor:hand;left:0;top:0;display:none">
<div align="right"><span style="color:white" onClick="popupClose()">X</span></div>
<iframe id="myframe" src="" width=100% height=50%></iframe>
</div>

and here is "vinod.html" page

************vinod.html*********
<script>
function gotopage()
{
alert("here is ur redirect page")
}
</script><body leftmargin=0 topmargin=0 bgcolor="navy">

<table width=100%><tr><td><input type=button value="NewMailAlert" style="{background-color:white}" onclick="gotopage()"></td></tr></table>
</body>

Cheers :)

vinod
[u]</u><s></s><div align="left"></div id="left"><div align="left"></div id="left"><center></center><center></center>
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Popup window automatically minimized on click! elisabeth Javascript How-To 19 January 29th, 2017 02:43 AM
change form color when minimized maricar C# 3 September 10th, 2008 07:34 PM
New created popup window automatically minimized! elisabeth Javascript How-To 1 September 21st, 2004 07:20 AM
Passing Value from main form to Popup Form smartgir Access VBA 0 February 26th, 2004 06:26 PM
IIS 5 Monitoring and Alerting Dan34 Classic ASP Basics 1 December 17th, 2003 02:37 PM



All times are GMT -4. The time now is 06:50 PM.


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