Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Invisible Popup script?

Status
Not open for further replies.

ghostdogenterprise

Programmer
Joined
Aug 28, 2002
Messages
4
Location
US
I'm attempting to find a script that will execute a popup without allowing the user to see that a popup has been introduced. The popup should be unnoticeble by the user.
A littl background; the pop up. Here is the popup I have.

Can if be done with some time trick? Or is there another solution.

The reason I'm attempting this is that I need to access the statistics available from the sitelog.cfm statement but don't need to show the user the statistics necessarily.

Thank for any help you can provide.
Onload="window.open('SiteLog.cfm','jav','menubar=no,toolbar=no,scrollbars=no,width=5,height=5,resizable=yes');

 
Maybe this?

Onload="var new_Win = window.open('SiteLog.cfm','jav','menubar=no,toolbar=no,scrollbars=no,width=5,height=5,resizable=yes'); new_Win.blur()"

Rick if(($question=="has been bugging me"
AND $answer=="fixed the problem") OR $answer=="really good post"){
print("Star");
}else{
print("Thanks.");
}
 
No Dice. The window opens and closes fast (similar to how it did originally) but it's still noticeble to the user. Thanks for trying.

Anyone else?
 
I don't believe you can do this totally transparent to the user...probably for security reasons: what if a Site A could open an invisible window B, with the command to re-open Site A if it's closed? You'd never be able to leave Site A, and you'd never know why.
=========================================================
if (!succeed) try();
-jeff
 
Strange suggestion but you could just use frames and open the Sitelog in a really small frame without any borders (or scroll bars!) so it isn't noticed.
 
I've used the frames solution a couple of times myself for some background database processes. If you set the frame to the 100%,0%, all that is noticeable is a slightly thicker than normal bar right above the status bar.
 
Why use two frames? Won't this work?
<frameset cols=&quot;100%&quot;>

Rick if(($question==&quot;has been bugging me&quot;
AND $answer==&quot;fixed the problem&quot;) OR $answer==&quot;really good post&quot;){
print(&quot;Star&quot;);
}else{
print(&quot;Thanks.&quot;);
}
 
In both my case, and what I'm gathering ghostdogenterprise needs to have happen, the second frame would be needed for the seperate code. In my case, the 100% page of the frame passes through a server side process (somewhat like ASP, but proprietary code) and the hidden frame is ASP/Javascript. The server side process ignores ASP code, so I had to run two seperate pages, and pass data from the hidden frame to the main one.

If the code gathering data from the stat server needs to execute actively, it would seem a second frame would be needed too, though I may be wrong.
 
I see what you mean now. I didn't understand that at first.

Rick if(($question==&quot;has been bugging me&quot;
AND $answer==&quot;fixed the problem&quot;) OR $answer==&quot;really good post&quot;){
print(&quot;Star&quot;);
}else{
print(&quot;Thanks.&quot;);
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top