Current Works

10 Sep
Socore Energy
drew 06:51:47 PM

This is a CMS that was for a Solar Energy company. I worked on the front-end of the site and helped develop layout...

18 Nov
GreenFeast
drew 10:33:10 AM

This site is the non-profit I am a director of.  It has a whole lot of awesome things happening, and It is a...

10 Sep
Blue Moon Revue
drew 10:32:19 AM

This is a CMS that I built for the band Blue Moon Revue. It makes it possible for them to post shows and pictures...

14 Feb
Coast
drew 12:52:23 PM

This is the new site for Coast, A new bluegrass band in Chicago.  I made the site to help promote their shows,...

14 Jun
REM Photography - Site Redux
drew 10:02:39 AM

This is the reworked version of an original site. The main challenges were to get a way to organize the information...

14 Jun
Burton History Trees
drew 10:14:13 AM

This is The e-commerce platform I built for my company Burton History Trees.  I used Drupal Ubercart to get It...

21 Aug
Jolie Wernette-Horn Portfolio
drew 06:54:05 PM

This is a portfolio I made for Jolie. It uses Drupal to let her customize her slideshows and organize her content....

New Resources

Sep 10 8
Oct 09 9
Aug 09 10
Aug 09 8
Aug 09 10
Aug 09 7
Jul 09 9
Jul 09 10
Jul 09 9
Jul 09 10

Drupal Views - Headlines - Scroller

  • strict warning: Non-static method view::load() should not be called statically in /home1/drewzie1/public_html/blog/modules/views/views.module on line 843.
  • strict warning: Declaration of views_plugin_display::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in /home1/drewzie1/public_html/blog/modules/views/plugins/views_plugin_display.inc on line 0.
  • strict warning: Declaration of views_plugin_display_block::options_submit() should be compatible with views_plugin_display::options_submit(&$form, &$form_state) in /home1/drewzie1/public_html/blog/modules/views/plugins/views_plugin_display_block.inc on line 0.
  • strict warning: Declaration of views_handler_field_broken::ui_name() should be compatible with views_handler::ui_name($short = false) in /home1/drewzie1/public_html/blog/modules/views/handlers/views_handler_field.inc on line 0.
  • strict warning: Declaration of views_handler_field_user::init() should be compatible with views_handler_field::init(&$view, $options) in /home1/drewzie1/public_html/blog/modules/views/modules/user/views_handler_field_user.inc on line 0.
  • strict warning: Declaration of content_handler_field::options() should be compatible with views_object::options() in /home1/drewzie1/public_html/blog/modules/cck/includes/views/handlers/content_handler_field.inc on line 0.
  • strict warning: Declaration of views_handler_sort_broken::ui_name() should be compatible with views_handler::ui_name($short = false) in /home1/drewzie1/public_html/blog/modules/views/handlers/views_handler_sort.inc on line 0.
  • strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /home1/drewzie1/public_html/blog/modules/views/handlers/views_handler_filter.inc on line 0.
  • strict warning: Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in /home1/drewzie1/public_html/blog/modules/views/handlers/views_handler_filter.inc on line 0.
  • strict warning: Declaration of views_handler_filter_broken::ui_name() should be compatible with views_handler::ui_name($short = false) in /home1/drewzie1/public_html/blog/modules/views/handlers/views_handler_filter.inc on line 0.
  • strict warning: Declaration of views_handler_filter_boolean_operator::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home1/drewzie1/public_html/blog/modules/views/handlers/views_handler_filter_boolean_operator.inc on line 0.
  • strict warning: Declaration of views_plugin_style_default::options() should be compatible with views_object::options() in /home1/drewzie1/public_html/blog/modules/views/plugins/views_plugin_style_default.inc on line 0.
  • strict warning: Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in /home1/drewzie1/public_html/blog/modules/views/plugins/views_plugin_row.inc on line 0.
  • strict warning: Declaration of views_plugin_row::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state) in /home1/drewzie1/public_html/blog/modules/views/plugins/views_plugin_row.inc on line 0.
  • strict warning: Non-static method view::load() should not be called statically in /home1/drewzie1/public_html/blog/modules/views/views.module on line 843.
  • strict warning: Non-static method view::load() should not be called statically in /home1/drewzie1/public_html/blog/modules/views/views.module on line 843.
  • strict warning: Non-static method view::load() should not be called statically in /home1/drewzie1/public_html/blog/modules/views/views.module on line 843.
  • strict warning: Declaration of views_plugin_display_page::options_submit() should be compatible with views_plugin_display::options_submit(&$form, &$form_state) in /home1/drewzie1/public_html/blog/modules/views/plugins/views_plugin_display_page.inc on line 0.

The way this works is, ...

var headline_count;
var headline_interval;
var old_headline = 0;
var current_headline = 0;

$(function(){

//headline_count = $("div.views-row").size();
headline_count = 6;
$("#block-views-show_slider-block_1 .views-row:eq("+current_headline+")").css('left','0px');

headline_interval = setInterval(headline_rotate,15000); //time in milliseconds
$('#block-views-show_slider-block_1 .view-content').hover(function() {
clearInterval(headline_interval);

}, function() {
headline_interval = setInterval(headline_rotate,15000); //time in milliseconds
headline_rotate();

});
});

function headline_rotate() {
current_headline = (old_headline + 1) % headline_count;
$("#block-views-show_slider-block_1 .views-row:eq(" + old_headline + ")").animate({left: -342},"slow", function() {
$(this).css('left','342px');

});
$("#block-views-show_slider-block_1 .views-row:eq(" + current_headline + ")").show().animate({left: 0},"slow");
old_headline = current_headline;

}

});

You set up a view in drupal and then hide everything except the first value, and use jQuery to scroll them through like slides.

4
Your rating: None Average: 4 (1 vote)

Druzi-Articles

(I saw this great photo in he Onion - and had to post it.) Now, when I was...
I just thought that everybody needs this! They run about $25oo, and they sell...
This is great - there is a formula to everything!

Graphic Design