نمایش نتایج 1 تا 2 از 2

نام تاپیک: 'گالری تصاویر برای وب سایت

  1. #1

    'گالری تصاویر برای وب سایت

    سلام دوستان بنده میخوام از یک گالری تصاویر تویه سایتم استفاده کنم ولی نحوه استفاده از اون رو نمیدوم کدیش به ای صورت هست



    1. $('#gallery').jqCoolGallery ({
    2. galleryTileWidth: 216, // width of gallery tiles
    3. galleryTileHeight: 150, // height of gallery tiles
    4. galleryHoverExpand: true, // the gallery tiles expand when hovering
    5. galleryColumnCount: 4, // eliminates right margin in last column
    6. galleryTooltip: 'Click To Open This Gallery', // tooltip for all gallery tiles
    7. imageAreaWidth: 675, // width of image area
    8. imageAreaHeight: 450, // height of image area
    9. imageAreaPadding: '0 15px 0 0', // padding between image area and panel
    10. panelAreaWidth: 240, // panel area width
    11. thumbWidth: 50, // thumb width
    12. thumbHeight: 35, // thumb height
    13. debug: true // debug is on (sends messages to js console)
    14. });




    The HTML Markup


    The "rel" attribute of each gallery <li> element specifies the URL to load when the gallery is opened. The URL must return the slideshow unordered list <ul> (see below for markup).




    1. <div id="gallery">
    2. <ul class="jqcg-gallery" style="opacity: 0;">
    3. <!-- captions are specified by data-title and data-desc attributes -->
    4. <li data-title="Gallery 1" data-desc="This is the first gallery" rel="demo/galleries/gallery1.html">
    5. <img src="demo/galleries/gallery1/_thumb.jpg" alt="">
    6. </li>
    7. <li data-title="Gallery 2" data-desc="This is the second gallery" rel="demo/galleries/gallery2.html">
    8. <img src="demo/galleries/gallery2/_thumb.jpg" alt="">
    9. </li>
    10. <li data-title="Gallery 3" data-desc="This is the third gallery" rel="demo/galleries/gallery3.html">
    11. <img src="demo/galleries/gallery3/_thumb.jpg" alt="">
    12. </li>
    13. <li data-title="Gallery 4" data-desc="This is the fourth gallery" rel="demo/galleries/gallery4.html">
    14. <img src="demo/galleries/gallery4/_thumb.jpg" alt="">
    15. </li>
    16. <!-- captions are specified by a div with "caption" class, which gives us more control over formatting -->
    17. <li data-title="Gallery 5" data-desc="This is the fifth gallery" rel="demo/galleries/gallery5.html">
    18. <img src="demo/galleries/gallery5/_thumb.jpg" alt="">
    19. <div class="caption">
    20. <p><strong>Gallery 5</strong></p>
    21. <p>Add <em>formatting</em> to captions.</p>
    22. </div>
    23. </li>
    24. <li data-title="Gallery 6" data-desc="This is the sixth gallery" rel="demo/galleries/gallery6.html">
    25. <img src="demo/galleries/gallery6/_thumb.jpg" alt="">
    26. <div class="caption">
    27. <p><strong>Gallery 6</strong></p>
    28. <p>Add <strong>formatting</strong> to captions.</p>
    29. </div>
    30. </li>
    31. <li data-title="Gallery 7" data-desc="This is the seventh gallery" rel="demo/galleries/gallery7.html">
    32. <img src="demo/galleries/gallery7/_thumb.jpg" alt="">
    33. <div class="caption">
    34. <p><strong>Gallery 7</strong></p>
    35. <p>Add <a href="#">links</a> to captions.</p>
    36. </div>
    37. </li>
    38. <li data-title="Gallery 8" data-desc="This is the eigth gallery" rel="demo/galleries/gallery8.html">
    39. <img src="demo/galleries/gallery8/_thumb.jpg" alt="">
    40. <div class="caption">
    41. <p><strong>Gallery 8</strong></p>
    42. <p>Add <u>formatting</u> to captions.</p>
    43. </div>
    44. </li>
    45. </ul>
    46. </div>





    The markup returned from the URL that is demand loaded must look like this:


    <ul>
    <li>
    <img src="demo/galleries/gallery1/5633.jpg" width="300" height="450" data-thumb="demo/galleries/gallery1/5633_thumb.jpg" alt="" />
    <div class="caption">This is the caption.</div>
    </li>
    </ul>



    ببنید میگه که قسمت rel هر li باید یک عبارتی مثل بالا برگردونه حالا من چطوری این کار رو بکنم در صورتی که هم از ajax استفاده کرده در ضمن بنده از asp.net استفاده میکنم.

  2. #2

    نقل قول: 'گالری تصاویر برای وب سایت

    دوستان وب سیت گالری اینه www.jqcoolGallery.com
    چطوری میتونم تویه asp.net ازش استفاده کنم ممنون

تاپیک های مشابه

  1. افکت تصاویر برای ایجاد گالری عکس
    نوشته شده توسط brida_kh در بخش طراحی وب (Web Design)
    پاسخ: 5
    آخرین پست: چهارشنبه 13 شهریور 1392, 18:42 عصر
  2. سوال: طراحی البوم تصاویر برای وب سایت
    نوشته شده توسط mehrdad85 در بخش ASP.NET Web Forms
    پاسخ: 4
    آخرین پست: چهارشنبه 15 تیر 1390, 13:02 عصر
  3. گالری تصاویر کدهایی رایگان برای استفاده
    نوشته شده توسط raziee در بخش MooTools
    پاسخ: 2
    آخرین پست: سه شنبه 03 آذر 1388, 21:52 عصر
  4. ساخت گالری تصاویر در سایت
    نوشته شده توسط fatemeh eslami در بخش ASP.NET Web Forms
    پاسخ: 1
    آخرین پست: سه شنبه 17 بهمن 1385, 18:48 عصر
  5. افکت تصاویر برای ایجاد گالری عکس
    نوشته شده توسط brida_kh در بخش ASP.NET Web Forms
    پاسخ: 0
    آخرین پست: یک شنبه 06 آذر 1384, 10:52 صبح

قوانین ایجاد تاپیک در تالار

  • شما نمی توانید تاپیک جدید ایجاد کنید
  • شما نمی توانید به تاپیک ها پاسخ دهید
  • شما نمی توانید ضمیمه ارسال کنید
  • شما نمی توانید پاسخ هایتان را ویرایش کنید
  •