SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: pop up code!!!

  1. #1
    SitePoint Enthusiast hombre_de_las_ca's Avatar
    Join Date
    Apr 2005
    Location
    Bangalore, India
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation pop up code!!!

    is there any way in asp to execute a pop-up window when a condition in an if statement is satisfied???
    CaveMan
    Don't ask what your Country can do for you,
    Ask what you can do for your Country.

  2. #2
    Original Gangster silver trophy Thing's Avatar
    Join Date
    Oct 2000
    Location
    Philadelphia, PA
    Posts
    4,708
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Not using ASP, but when your condition is met you can use JavaScript to create a pop-up window.

    http://www.google.com/search?hl=en&q...t+popup+window

    Let me be a little more clear. JavaScript is client and will not get executed until the code is sent to the user's browser. ASP is server side and gets executed before the code is sent to the user's browser. Therefore you would need to implement a refresh/redirect of some sort to instigate the popup window.

  3. #3
    SitePoint Enthusiast hombre_de_las_ca's Avatar
    Join Date
    Apr 2005
    Location
    Bangalore, India
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks thing...
    well i applied a very crude method...using another set of <BODY> tags at the end of the page with an onload event handeler inside an IF statement in ASP which obtained the condition variables from the ASP code of the FIRST <BODY> tag...
    CaveMan
    Don't ask what your Country can do for you,
    Ask what you can do for your Country.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •