Results 1 to 3 of 3

Thread: Make a pop up stay up!

  1. #1
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default Make a pop up stay up!

    Hello guys... I have a question..
    I have a multi-user game application. On the game page it refreshes when it is the opponents turn and stops refreshing during your turn. I have decided to add a shout box to the game page, so that the players can talk to each other without leaving the game screen.

    However, due to the auto-refresh of the game, the shout box is pretty much useless.

    What I have decided then, is to make the shout box come up in a pop up window when a link is clicked in the game page.

    I was wondering if there is a way I can make the pop up window stay ONTOP of the game page, instead of going behind it when they click on the board for their turn.

    I was hoping I could do this easily, but I can't figure it out.

    Any help?
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Not really, no. Much as it galls me, I'm going to suggest frames as a passable solution here.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    GAHHHH... you know what... nevermind! I hate frames as much as you do I think.

    It wasn't really that big a deal, just a neat feature I though of. I got the idea when I did a ctrl+f to search for something in my script, and I saw that the search box stayed on top even when I went to the script page and scrolled around and whatnot...

    I thought "HEY! That would be cool for the shout box on my game!"

    No biggie, they can deal with it! LOL

    Thanks anyway Twey!
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

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
  •