View Full Version : گزاشتن اسکریپت اسلاید شو در اسکریپت چت روم
mahdi_chatri_vb6_1070_st
یک شنبه 15 دی 1392, 18:13 عصر
سلام مهندسین عزیز
من یک اسکریپت چت روم دانلود کردم حالا میخوام توی اون یک اسکریپت اسلایدر بزارم
هر کاری میکنم نمیشه
حتی تمام لینک هارو کامل به صورت php دادم ولی بازم جواب نداد ؟
میشه کمک کنید :گریه::گریه:
من احساس میکنم
cssها رو نمیشناسه
چون عکس میاره زیر هم نمایش میده اما به صورت اسلاید شو نمایش نمیده
mahdi_chatri_vb6_1070_st
یک شنبه 15 دی 1392, 18:18 عصر
این کد اسکریپت چت روم
<?php
require 'lib/shoutbox.class.php';
$shoutbox = new Shoutbox();
header('Content-Type: text/html; charset=' . $shoutbox->get_charset());
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Shoutbox</title>
<meta http-equiv="content-type" content="text/html; charset=<?php echo $shoutbox->get_charset(); ?>" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="false" />
<link rel="stylesheet" type="text/css" media="screen" href="media/css/main.css" />
<link rel="shortcut icon" type="image/png" href="media/images/favicon.png" />
<script type="text/javascript" src="media/js/jquery.js"></script>
<script type="text/javascript" src="media/js/jquery.default_value.js"></script>
<script type="text/javascript" src="media/js/jquery.charcounter.js"></script>
<script type="text/javascript" src="media/js/jquery.ifixpng.js"></script>
<script type="text/javascript" src="media/js/shoutbox.js"></script>
<script type="text/javascript">//<![CDATA[
var refresh = <?php echo $shoutbox->get_refresh_rate() * 1000; ?>;
var spam_protection = <?php echo $shoutbox->get_spam_protection_rate(); ?>;
//]]></script>
<base href="<?php echo SB_URL; ?>" />
</head>
<body>
<div id="wrapper">
<div id="shoutbox">
<h1><img src="media/images/icon_shoutbox.png" alt="Shoutbox" /> <?php echo $shoutbox->get_heading(); ?></h1>
<div id="shoutbox_box_wrapper">
<div align="center">
<div id="shoutbox_enter_name" align="center">
<p>Welcome, please enter your name:</p>
<p><input type="text" name="name" id="shoutbox_name" value="" /></p>
<p><input type="submit" id="shoutbox_name_submit" value="Login" /></p>
</div>
<div id="shoutbox_loader"><img src="media/images/loader.gif" alt="Loading" /></div>
</div>
</div>
</div>
</div>
</body>
</html>
ا
mahdi_chatri_vb6_1070_st
یک شنبه 15 دی 1392, 18:20 عصر
و این هم کد اسکریپت اسلاید شو
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- Meta information -->
<meta charset="utf-8">
<title></title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta name="robots" content="index, follow" />
<meta name="SKYPE_TOOLBAR" content ="SKYPE_TOOLBAR_PARSER_COMPATIBLE"/>
<!-- main stylesheets -->
<link rel="stylesheet" href="css/reset.css" />
<link rel="stylesheet" href="css/preview.css" />
<link rel="stylesheet" href="css/dp360slider.css" />
<!-- import jQuery -->
<script type="text/javascript" src="js/jquery-1.5.2.min.js"></script>
<script type="text/javascript" src="js/effects.core.js"></script>
<script type="text/javascript" src="js/jquery.dp360slider.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#DP_slide").dp360slider({
speed: 'slow',
easing: ''
})
})
</script>
</head>
<body id="preview1" class="clearfix">
<div id="content">
<div class="title_h1">
<h1>360° jQuery Image Slider</h1>
</div>
<ul id="DP_slide">
<li><img src="img/img1.jpg"></li>
<li><img src="img/img2.jpg"></li>
<li><img src="img/img3.jpg"></li>
<li><img src="img/img4.jpg"></li>
<li><img src="img/img1.jpg"></li>
<li><img src="img/img2.jpg"></li>
<li><img src="img/img3.jpg"></li>
<li><img src="img/img4.jpg"></li>
</ul>
<br><br>
</div>
</body>
</html>
meysam1366
یک شنبه 15 دی 1392, 18:37 عصر
سلام دوست عزیز
اصلا هیچی رو نشون نمیده؟ یا اجرا نمی کنه؟
mahdi_chatri_vb6_1070_st
یک شنبه 15 دی 1392, 18:39 عصر
سلام :
باید فایل هاشو هم داشته باشید
من فقط کد گزاشتم اگه میخواید فایل هاشم بفرستم ؟
meysam1366
یک شنبه 15 دی 1392, 18:40 عصر
اگر بذارید که خوبه
بعد اینکه کدوم قسمت از چت روم میخواید بذارید و اینکه اسلایدشو دمویی چیزی نداره؟
mahdi_chatri_vb6_1070_st
یک شنبه 15 دی 1392, 18:46 عصر
این لینک چتروم
دانلود چت روم (http://temphaa.com/dl/Shoutbox-%5BTempHaa.com%5D.rar)
این هم اسلاید شو
دانلود اسلاید شو (http://temphaa.com/dl/360-jquery-image-slider-%5BTempHaa.com%5D.rar)
تو صفحه ورود به عنوان هدر
meysam1366
یک شنبه 15 دی 1392, 19:03 عصر
<?php
require 'lib/shoutbox.class.php';
$shoutbox = new Shoutbox();
header('Content-Type: text/html; charset=' . $shoutbox->get_charset());
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Shoutbox</title>
<meta http-equiv="content-type" content="text/html; charset=<?php echo $shoutbox->get_charset(); ?>" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="false" />
<link rel="stylesheet" type="text/css" media="screen" href="media/css/main.css" />
<link rel="shortcut icon" type="image/png" href="media/images/favicon.png" />
<script type="text/javascript" src="media/js/jquery.js"></script>
<script type="text/javascript" src="media/js/jquery.default_value.js"></script>
<script type="text/javascript" src="media/js/jquery.charcounter.js"></script>
<script type="text/javascript" src="media/js/jquery.ifixpng.js"></script>
<script type="text/javascript" src="media/js/shoutbox.js"></script>
<script type="text/javascript">//<![CDATA[
var refresh = <?php echo $shoutbox->get_refresh_rate() * 1000; ?>;
var spam_protection = <?php echo $shoutbox->get_spam_protection_rate(); ?>;
//]]></script>
<base href="<?php echo SB_URL; ?>" />
<link rel="stylesheet" href="css/reset.css" />
<link rel="stylesheet" href="css/preview.css" />
<link rel="stylesheet" href="css/dp360slider.css" />
<!-- import jQuery -->
<script type="text/javascript" src="js/jquery-1.5.2.min.js"></script>
<script type="text/javascript" src="js/effects.core.js"></script>
<script type="text/javascript" src="js/jquery.dp360slider.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#DP_slide").dp360slider({
speed: 'slow',
easing: ''
})
})
</script>
</head>
<body>
<div id="wrapper">
<div id="shoutbox">
<h1><img src="media/images/icon_shoutbox.png" alt="Shoutbox" /> <?php echo $shoutbox->get_heading(); ?></h1>
<div id="shoutbox_box_wrapper">
<div align="center">
<div id="shoutbox_enter_name" align="center">
<div id="content">
<div class="title_h1">
<h1>360° jQuery Image Slider</h1>
</div>
<ul id="DP_slide">
<li><img src="img/img1.jpg"></li>
<li><img src="img/img2.jpg"></li>
<li><img src="img/img3.jpg"></li>
<li><img src="img/img4.jpg"></li>
<li><img src="img/img1.jpg"></li>
<li><img src="img/img2.jpg"></li>
<li><img src="img/img3.jpg"></li>
<li><img src="img/img4.jpg"></li>
</ul>
<br><br>
</div>
<p>Welcome, please enter your name:</p>
<p><input type="text" name="name" id="shoutbox_name" value="" /></p>
<p><input type="submit" id="shoutbox_name_submit" value="Login" /></p>
</div>
<div id="shoutbox_loader"><img src="media/images/loader.gif" alt="Loading" /></div>
</div>
</div>
</div>
</div>
</body>
</html>
دوست عزیز
این کدها رو جایگزین کدهایی که توی فایل index.php هست کنید
و فایلهای جی کوئری و سی اس و عکس ها رو هم در پوشه های خودش قرار بدید
عکسها نیاز به ویرایش داره باید سایزش کوچکتر بشه که زحمتش رو خودتون بکشید
موفق باشید
vBulletin® v4.2.5, Copyright ©2000-1404, Jelsoft Enterprises Ltd.