|
|
Forum moderator: bigblog |
uCoz Community For Webmasters Custom Solutions Display informer in Ajax Window (Need help) |
Display informer in Ajax Window |
Is there any way to display informer in Ajax window?
I would like to display the lastest thread in forum in an ajax window rathar than put the informer in forum. It means user click on the link then an ajax window appear with the list of latest thread. I love it display on Ajax than show out as it usual. Thanks |
Good, yes, it is possible. Add the following script to the necessary template:
Code <!--</Latest threads>--> <script type="text/javascript"> function openchat(){new _uWnd('chat','Latest threads',300,100,{align:0,shadow:0,close:1,autosize:1,maxh:500,minh:100,resize:0}, $("#chat").html() )} </script> <div style="display:none;" id="chat">$MYINF_1$</div> <!--</Latest threads>--> replace $MYINF_1$ by your informer code. And put the following code into the place where you want the button to be displayed: Code <a title="Latest threads" href="javascript:;" onclick="openchat();"><input value="Latest threads" onclick="confirmClose()" type="button"></a> I'm not active on the forum anymore. Please contact other forum staff.
|
| |||
| |||