Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Feb 2009
    Posts
    27
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Pop up main page interaction

    Ok, I changed my plan of attack.

    So I've made a button that opens a pop up window through java of a defined size, and it contains a login and password validation field. The part I do need help on is coding it so that when they enter a correct username and password, it closes the pop up window and reloads the main browser to their login cp.

    Visual:
    button>opens pop up window>correct username+password combo put in>closes pop up>loads separate php file into the accounts cp

    I know that I'll have to call on my database for said username and pass, and have it load w/e I tell it to load, but I don't know how to shut one thing while starting another on a separate page. (Unless there's an easier way to bring up a text area through a button w/o a pop up)

  • #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    Is this no longer Flash? Also Java is not the same as Javascript

    Also, logging in would require your PHP, and this thread should be moved there.
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.

  • #3
    New Coder
    Join Date
    Feb 2009
    Posts
    27
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Not necessarily, I was able to call on the pop up with action script

    Code:
    on (release) {
    getURL ("JavaScript:pop();");
    }
    But yes, you're right, I wasn't concerned about the technical jargon, but I guess I should have been.

    Anyway, I found what I needed =p
    Uses javascript to control both windows.

    http://blazonry.com/javascript/windows.php


  •  

    Posting Permissions

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