Jump to content

mikeh623

Members
  • Posts

    7
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

mikeh623's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. The link code: [code] <a href=\"admin_ops.php?op=addClan&pid={$pid}&cid={$clan}&lid={$lads['ladderid']}         &clan={$clan_name}\"         target=\"admin\" onClick=\"self.close();\">Add to Clan</a> [/code] The function code used to open the window that the above link is in: [code] <script language=\"javascript\" type=\"text/javascript\">                     popup_win = null;                     function newwin() {                        popup_win = window.open('clanAddition.php','clanAddition','width=300,height=250,toolbar=no,location=no,\                      directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no,resizable=no');    }                    </script> [/code] The function code used to open the 'admin' window which direction should be sent to: [code] <script language=\"javascript\" type=\"text/javascript\">             function admin()             {                 window.open('admin/index.php','admin','width=800,height=516,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no,resizable=no');             }             </script> [/code] When you click the top link, the window should close and direction sent to the admin window, the parent window of the window containing the link. This works fine in Internet Explorer, but in Firefox, the window closes and nothing more happens. Note: The &#39 above is not in my code, for some reason it is showing up in the post. Thanks.
  2. I have a popup window named 'admin.' It launches another popup with several links. Those links have src and target attributes, their target is the admin window. They also have an onClick attribute of "self.close()" so that the window will close when the link is pressed. In Internet Explorer this works perfectly, the link is clicked, direction is sent to 'admin' and then it closes and admin takes over from there. In FireFox this does not work at all as planned. You click the link and the window closes without sending direction to admin. Please assist. Thanks!
  3. Okay, I have a form with a dropdown and a submit button. Its action attribute calls a javascript function which opens a popup, the popup has the php script that will handle the choice made in the dropdown of the previews/parent window. The problem is, the POST vars aren't being passed to the child popup, I'm pretty sure I know why, I'm just not sure at all what to do about it, like any solutions w/o drastically changing the methodology. I'm using the form to open the popup. action="javascript: add_player() ;" Thanks for any and all help! Our conversation in the PHP Help forum: [a href=\"http://www.phpfreaks.com/forums/index.php?showtopic=92749&st=0&gopid=371295&#\" target=\"_blank\"]Post[/a]
  4. Unfortunately, I'm using the form to open the popup. action="javascript: add_player() ;" So, I knew why the variables weren't going. How would I use js to extract the variables and then use php to manipulate them considering server side and client side, I really don't want to involve ajax here, its just a small feature in this grand project. Any ideas/suggestions so this doesn't become unnecessarily convoluted?
  5. Okay, I have a form with a dropdown and a submit button. Its action attribute calls a javascript function which opens a popup, the popup has the php script that will handle the choice made in the dropdown of the previews/parent window. The problem is, the POST vars aren't being passed to the child popup, I'm pretty sure I know why, I'm just not sure at all what to do about it, like any solutions w/o drastically changing the methodology. Thanks for any and all help!
  6. If a user doesn't logout, but closes all browsers associated with the site, are the global session variables gone? I'm working on my 'auto-login' functions.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.