On the login screen you can click on the following to get a tidy little pop up window without all the browser fumctions to show status of who is in chat room. The link generated follows
There are currently 0 user in the chat. <<<----Click on 0 users
I would like to the the same from a link on one of my site pages. If I simply set the above link info as the hyperlink info on my page I get a full browser window with all tha standard browser tool bars....not the tidy little pop up window I get when clicking from login screen.
This is the html generated on my page....
<a href="http://www.warrenmott1977.com/theclasspub/chat/users_popupL.php3?From=..%2Findex.php&L=english" target="_blank">
What can I change to make this a little compact window?
Thanks in advance
Chris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you don't like using the button version, you can create a onClick java script you can find just about any where on the web. Just search for onClick JavaScript and I'm sure you'll run into a lot of different sites with this code.
Tim
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-09-18
Tim there is no such file called users_popup.php3
I tried specifying following and I got errors???
<form><INPUT type="button" value="Who's in Pub?"
onClick="window.open('/theclasspub/chat/users_popupL.php3','phpMyChat','width=150,height=300,resizable=yes,toolbar=no,location=no,menubar=no,scrollbars=yes')"></form>
I did a copy link from login page and pasted into your form and is now working
<form><INPUT type="button" value="Who's in Pub?"
onClick="window.open('http://www.mysitename.com/theclasspub/chat/users_popupL.php3?From=..%2Findex.php&L=english','width=150,height=300,resizable=yes,toolbar=no,location=no,menubar=no,scrollbars=yes')"></form>
Thanks!
Chris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-09-19
Sorry, I noticed that after I posted, I knew you'd figure it out though.... :) In version 0.15 they changed users_popupL.php3 to users_popup.php3.
Tim
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-09-26
Tim,
Regarding my onclick I set up. I have set up 2 of these form buttons on my site. One opens up status window of who is in chat room. Other opens up a login window.
How do I specify so that each will open a seperate pop up window...right now one opens in the other if one is already open. I want to be able to launch seperate windows and not have one reuse an already open window??
Thanks in advance....Chris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-09-26
You can change the entry in this code that is labeled phpMyChat.
You can change it to something like this ChatWindow or to UserWindow. Give each link you want to open up in a new window a different defining name. What ever you do, don't put spaces in this code or dashes or it will give an error in IE, for some reason it doesn't read the code right if you do this, but netscape will read it just fine. Hope this helps
Tim
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On the login screen you can click on the following to get a tidy little pop up window without all the browser fumctions to show status of who is in chat room. The link generated follows
There are currently 0 user in the chat. <<<----Click on 0 users
http://www.warrenmott1977.com/theclasspub/chat/users_popupL.php3?From=..%2Findex.php&L=english
I would like to the the same from a link on one of my site pages. If I simply set the above link info as the hyperlink info on my page I get a full browser window with all tha standard browser tool bars....not the tidy little pop up window I get when clicking from login screen.
This is the html generated on my page....
<a href="http://www.warrenmott1977.com/theclasspub/chat/users_popupL.php3?From=..%2Findex.php&L=english" target="_blank">
What can I change to make this a little compact window?
Thanks in advance
Chris
I use a form button with the onClick command.
<form>
<INPUT type="button" value="Users Online"
onClick="window.open('/chat/users_popup.php3','phpMyChat','width=150,height=300,resizable=yes,toolbar=no,location=no,menubar=no,scrollbars=yes')">
</form>
If you don't like using the button version, you can create a onClick java script you can find just about any where on the web. Just search for onClick JavaScript and I'm sure you'll run into a lot of different sites with this code.
Tim
Tim there is no such file called users_popup.php3
I tried specifying following and I got errors???
<form><INPUT type="button" value="Who's in Pub?"
onClick="window.open('/theclasspub/chat/users_popupL.php3','phpMyChat','width=150,height=300,resizable=yes,toolbar=no,location=no,menubar=no,scrollbars=yes')"></form>
I did a copy link from login page and pasted into your form and is now working
<form><INPUT type="button" value="Who's in Pub?"
onClick="window.open('http://www.mysitename.com/theclasspub/chat/users_popupL.php3?From=..%2Findex.php&L=english','width=150,height=300,resizable=yes,toolbar=no,location=no,menubar=no,scrollbars=yes')"></form>
Thanks!
Chris
Sorry, I noticed that after I posted, I knew you'd figure it out though.... :) In version 0.15 they changed users_popupL.php3 to users_popup.php3.
Tim
Tim,
Regarding my onclick I set up. I have set up 2 of these form buttons on my site. One opens up status window of who is in chat room. Other opens up a login window.
How do I specify so that each will open a seperate pop up window...right now one opens in the other if one is already open. I want to be able to launch seperate windows and not have one reuse an already open window??
Thanks in advance....Chris
You can change the entry in this code that is labeled phpMyChat.
<form>
<INPUT type="button" value="Users Online"
onClick="window.open('/chat/users_popup.php3','phpMyChat','width=150,height=300,resizable=yes,toolbar=no,location=no,menubar=no,scrollbars=yes')">
</form>
You can change it to something like this ChatWindow or to UserWindow. Give each link you want to open up in a new window a different defining name. What ever you do, don't put spaces in this code or dashes or it will give an error in IE, for some reason it doesn't read the code right if you do this, but netscape will read it just fine. Hope this helps
Tim