Welcome to Omgili,
Omgili ( Oh My God I Love It ;) is a search engine for discussions. With Omgili you can find answers and solutions, debates, discussions, personal experiences, opinions and more... To learn more about Omgili click here.
This is a complete preview of the discussion as it was indexed by Omgili crawlers. Use this preview if the original discussion is unavailable.
Click here to view the original discussion.
 |
|
 |
|
pjirc.com • View topic - Auto undock + auto close source
Is there a way to auto undock everything and then auto close the sources.
I just want one "floating window" for everything and eliminate the full page.
|
|
 |
|
 |
 |
|
 |
|
My suggestion is to just have a seperate page for the chat applet, and make it a pop up when it gets clicked on.
That's what I did.
|
|
 |
|
 |
 |
|
 |
|
Id have to agree.
If you want everything to be floating in one window then it's best if you achieve it using a javascript popup.
Code: Select all <a href="javascript:void();" onclick="pjirc=window.open('URL', 'pjirc', 'width=640,height=400,toolbar=0,status=0,top=0,left=0');">Popup Link Text</a>
Hope that helps.
|
|
 |
|
 |
 |
|
 |
|
Quote: : Id have to agree.
If you want everything to be floating in one window then it's best if you achieve it using a javascript popup.
Code: Select all <a href="javascript:void();" onclick="pjirc=window.open('URL', 'pjirc', 'width=640,height=400,toolbar=0,status=0,top=0,left=0');">Popup Link Text</a>
Hope that helps.
I'm sure this is what I need, but where (file/directory) would I place this code?
|
|
 |
|
 |
 |
|
 |
|
Youd place it in the html file for whichever page you want the link to your chat to be displayed.
|
|
 |
|
 |
 |
|
 |
|
Quote: : Youd place it in the html file for whichever page you want the link to your chat to be displayed.
ok, so like the NormalApplet.html for example?
does it matter where within the file it is placed?
|
|
 |
|
 |
 |
|
 |
|
NormalApplet.html is a page that you for example put as the URL that that code opens.
So you would for example put that code in your index.html file or whatever you main page is.
For example: You have 2 pages, Your main page and the chat page.
Youd put the link in your main page and change the URL that the popup code opens to be the url or your chat page.
|
|
 |
|
 |
 |
|
 |
|
Quote: : NormalApplet.html is a page that you for example put as the URL that that code opens.
So you would for example put that code in your index.html file or whatever you main page is.
For example: You have 2 pages, Your main page and the chat page.
Youd put the link in your main page and change the URL that the popup code opens to be the url or your chat page.
ok, I understand.
Thank you for the quick and helpful replies.
|
|
 |
|
 |
 |
|
 |
|
.... Last edited by dotagious on Sun Aug 06, 2006 8:55 pm, edited 1 time in total.
|
|
 |
|
 |
 |
|
 |
|
This is a generic link with image.
Obviously if the image & page is on the same server as your calling page you can leave off the http://my.website.tld bits.
<a href=http://my.website.tld/page.html><img src=http://my.website.tld/button.gif></a>
Go on.
Tell me I'm not nice again.
See what it gets you!
Lost or confused?
Read the announcement topic in the
Technical Support forum for help tips.
|
|
 |
|
 |
 |
|
 |
|
Quote: : This is a generic link with image.
Obviously if the image & page is on the same server as your calling page you can leave off the http://my.website.tld bits.
<a href=http://my.website.tld/page.html><img src=http://my.website.tld/button.gif></a>
thanks
sent you a pm too
|
|
 |
|
 |
 |
|
 |
|
How should I do?
I use Phpnuke and use block and module and want the chatt to open i a floating window.
|
|
 |
|
 |
 |
|
 |
|
Quote: : Id have to agree.
If you want everything to be floating in one window then it's best if you achieve it using a javascript popup.
Code: Select all <a href="javascript:void();" onclick="pjirc=window.open('URL', 'pjirc', 'width=640,height=400,toolbar=0,status=0,top=0,left=0');">Popup Link Text</a>
Hope that helps.
Jobe, is there a way to make this code execute automatically simply by visiting the specified URL without having to manually click on the hyperlink?
The reason for this is because the website I need to put this code on does not allow java script.
|
|
 |
|
 |
 |
|
 |
|
Someone mentioned using body unload, but I don't know where to put it in that lump of code.
|
|
 |
|
 |
|
|
|