الرئيسية | الشروط والقوانين | سياسة الخصوصية | اتصل بنا | الأرشيف | RSS |
يمنع منعا باتا وضع موضوع إعلاني |
|
تطوير المواقع سكربتات :: واجهات :: برامج مواقع |
|
أدوات الموضوع |
#1
|
||||
|
||||
اضف هاك SlideShow الى مكتبة الصور لديك gallery
السلام عليكم كود:
<td align="right" valign="bottom">{upload_button}</td> استبدله بالكود التالي : كود PHP:
اضف فيه الكود التالي : كود:
//----------------------------------------------------- //--- Slideshow changes ------------------------------- //----------------------------------------------------- function openslideshow(url,window_width,window_height,new_window) { if (new_window == 2 || new_window == 1) { var width_avail = screen.availWidth-15; var height_avail = screen.availHeight-60; var width_full = screen.width; var height_full = screen.height; // Callculate the spaces from left and top to center the new window: var left_space = ((width_avail - window_width) > 0) ? parseInt((width_avail - window_width) / 2) : 0; var top_space = ((height_avail - window_height) > 0) ? parseInt((height_avail - window_height) / 2) : 0; if (new_window == 2) { window_width = width_avail; window_height = height_avail; left_space = 0; top_space = 0; url += "&maw="+(window_width-97)+"&mah="+(window_height-194)+"&msw="+width_full+"&msh="+height_full; } // if complete picture (whole window) slideshow_window = window.open(url,"slideshowwindow","resizable=yes,dependent=yes,hotkeys=no,location=no,menubar=no,scrollbars=yes,status=yes,toolbar=no,width="+window_width+",height="+window_height+",left="+left_space+",top="+top_space+""); } // if new_window else { window.location.href=url; } // else new_window } // openslideshow كود:
<link rel="stylesheet" href="{template_url}/style.css" /> كود:
<script language="JavaScript" type="text/javascript" src="{template_url}/../../scripts/4images.js"></script> كود:
function opendetailwindow() { window.open('','detailwindow','toolbar=no,scrollbars=yes,resizable=no,width=680,height=480'); } - الان افتح الملف : admin/index.php ابحث عن الكود التالي : كود:
show_nav_option($lang['nav_general_settings'], "settings.php?action=modifysettings"); كود:
//----------------------------------------------------- //--- Slideshow changes ------------------------------- //----------------------------------------------------- show_nav_option($lang["nav_slideshow_settings"], "slideshow_settings.php?action=modifysettings"); ابحث عن : كود:
$upload_button = "<a href=\"".$upload_url."\"><img src=\"".get_gallery_image("upload.gif")."\" border=\"0\" alt=\"\" /></a>"; } كود:
//----------------------------------------------------- //--- Slideshow changes ------------------------------- //----------------------------------------------------- require ("categories_slideshowII.inc"); كود:
//----------------------------------------------------- //--- Slideshow Settings ------------------------------ //----------------------------------------------------- require("admin_slideshowII.inc"); كود:
//----------------------------------------------------- //--- Slideshow Settings ------------------------------ //----------------------------------------------------- require("main_slideshowII.inc"); وشكرا
|
|
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
|
المواضيع المتشابهه | ||||
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
استايل ازرق (سماوي ) مكتبة gallery | kwety | تطوير المواقع | 0 | 23-12-2005 01:55 PM |
شرح حل مشكلة الترميز في مكتبة الصور gallery | kwety | تطوير المواقع | 0 | 23-12-2005 01:52 PM |
هاك اظهاراخر التعليقات في مكتبة الصور gallery | kwety | تطوير المواقع | 0 | 23-12-2005 01:41 PM |
هاك وضع خلفية صوره لصفحات مكتبة الصور gallery | kwety | تطوير المواقع | 0 | 21-12-2005 01:28 AM |
استايل ازرق (سماوي ) مكتبة gallery | kwety | تطوير المواقع | 2 | 07-12-2005 04:30 PM |
الساعة الآن 07:27 PM
|