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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ColdFusion popup!

Status
Not open for further replies.

micjohnson

Programmer
Nov 9, 2000
86
US
Any idea about gnerating "popup window" using ColdFusion

Appreciate your help.

Regards
micJ
 
function newWindow()
{
window.open("myPage.cfm", "myCT", "toolbar=0,width=430,height=400,resizeable=1,scrollbars=1");
}

then you will need to something like
onClick="newWindow()"
onChange="newWindow()"

hope it helps...

 
To elaborate on what FALCONSEYE said, you have to use javascript. ColdFusion can't generate popups, it's a server side language, which means that the sever does all of the CF processing, turns it into html, then hands it to the user's browser. So, by the time the user sees the page, ColdFusion has already finished everything it's going to do and handed the info to the web server to give back to the user.




Hope This Helps!

ECAR
ECAR Technologies

"My work is a game, a very serious game." - M.C. Escher
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top