how to add new speed time

Your Ad Here

Where I can change the code to add more speed for the image to load? I want to set a 15 sec duration.

Thanks,

Re: how to add new speed time

In the configuration screen of your block you can set
Speed: Speed of the transitions (1000 = 1 second, 0 = direct).

This is the time it takes the transition to go from one slide to the next.
The longer the speed the longer e.g. a fade takes place

Timeout:The time (in milliseconds) between transitions (1000 = 1 second, 0 to disable auto advance).

This is the time between transitions
The longer the timeout the longer it takes before the next transition starts to go to the next slide

Hope this answers your question

What I need is to add more

What I need is to add more than 10 second, where to set? Currently, it only allows from 0 to 10000, i.e. direct to 10 second. How to add 15 second in the code or some where in the config?

Re: What I need is to add more

You can add more timeout and speed durations with the following patch:

Index: ddblock.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/ddblock/ddblock.module,v
retrieving revision 1.8
diff -u -p -r1.8 ddblock.module
--- ddblock.module 4 Jan 2009 18:36:27 -0000 1.8
+++ ddblock.module 18 Jan 2009 17:13:38 -0000
@@ -437,7 +438,7 @@ function ddblock_block_configure($delta)
'#description' => t("The transition effect between content."),
);

- $options = drupal_map_assoc(array(0, 250, 500, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000));
+ $options = drupal_map_assoc(array(0, 250, 500, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 15000, 20000));

$form['block_settings']['settings']['speed'] = array(
'#type' => 'select',
@@ -448,7 +449,7 @@ function ddblock_block_configure($delta)
'#description' => t("Speed of the transitions (1000 = 1 second, 0 = direct)."),
);

- $options = drupal_map_assoc(array(0, 250, 500, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000));
+ $options = drupal_map_assoc(array(0, 250, 500, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 15000, 20000, 30000));
$form['block_settings']['settings']['timeout'] = array(
'#type' => 'select',
'#title' => t('Timeout'),

When you apply this patch you can select longer durations for the speed and the timeout in the configuration page of a basic dynamic display block.

Hope this helps you further.