0
我正嘗試使用任何簡單的jQuery幻燈片演示,其中圖像和文本將動態顯示。jQuery + Rails 3.1中的動態幻燈片演示
Rails代碼是這樣的:
.section
[email protected] do |testimonial|
.section
.row.testimonial.round
.three.columns
=image_tag(testimonial.testifier.thumb_small.url)
.eight.columns.testimonial-description
.row.testimonial-description
%blockquote
%span(class = "bqstart") “
=testimonial.description
%span(class = "bqend") ”
.row.testifier-details
%strong="#{testimonial.name} #{testimonial.designation} #{testimonial.company}"
.one.columns
這會給我從數據庫中的圖像和說明。
如果我想將這些結果放在幻燈片中,我該如何解決?