A+ A- [A]
Welcome, Guest. Please login or register.
February 09, 2012, 05:45:36 PM

Login with username, password and session length
Pages: [1]   Go Down
  Print  
Author Topic: Script Shoutbox  (Read 1285 times)
0 Members and 1 Guest are viewing this topic.
dantok
Brondong


Kurma: +0/-0
Offline Offline

Posts: 13


« on: January 30, 2009, 11:39:33 AM »

silahkan di download disini ne,,,

Code:
http://www.mediafire.com/?nnyzojjsmfm

untuk demo disini..
Code:
http://lumichat.com/yshout5/example/


Installation:
Upload via ftp and rename to yshout. Go to yshout/cp. The Default Password is "fortytwo". Change your password and any other settings. That's it.

If Script does not run change everything inside the YShout directory to 777. This step is not required on all servers, but there are some for which it is imperative in order for YShout to be able to function.


Integration
To include YShout within your webpage, follow these instructions. First, add the following code to your <head> of a page you wish YShout to appear on. (make sure the paths are correct):

<script src="yshout/js/jquery.js" type="text/javascript"></script>
<script src="yshout/js/yshout.js" type="text/javascript"></script>
<link rel="stylesheet" href="yshout/example/css/light.yshout.css" />

<script type="text/javascript">
new YShout();
</script> YShout can take a few arguments in its constructor, as shown below:

<script type="text/javascript">
new YShout({
yPath: 'file:///C:/Users/OMNUM/Desktop/Yshout_Php___Ajax_5/Yshout%20Php%20+%20Ajax%205/',
log: 1
});
<script type="text/javascript">

    * yPath: When using YShout on your own page, set this to the complete URL to YShout — in this case, file:///C:/Users/OMNUM/Desktop/Yshout_Php___Ajax_5/Yshout%20Php%20+%20Ajax%205/. This is the only necessary argument, the rest are fully optional.
    * log: If you want the same shoutbox to appear on all pages you include YShout on, you don't even need to include log in the constructor. If you do want different conversations on different pages, however, set log to a different number on each page. By default, you can only have 5 different chat logs, but this can be changed from the control panel.
    * yLink: Set this to the id of an <a> element. That link, when clicked, will open YShout in a translucent overlay — example.

Lastly, add the following code where you want YShout to be displayed:

<div id="yshout"></div> And that's it — you're all set, enjoy!
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by SMF 1.1.4 | SMF © 2006, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks

Novelty design by Bloc | XHTML | CSS
Page created in 0.433 seconds with 21 queries.