Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 25, 2012, 07:03:52 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
155479
Posts in
21708
Topics by
7734
Members
Latest Member:
rofroodoOvego
WebsiteBaker Community Forum
English
Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
(Moderator:
Argos
)
Looking for a module, a snippet, a droplet to display changing logos,....
Pages: [
1
]
Go Down
Author
Topic: Looking for a module, a snippet, a droplet to display changing logos,.... (Read 959 times)
midiweb
Offline
Posts: 178
Looking for a module, a snippet, a droplet to display changing logos,....
«
on:
February 19, 2009, 01:12:28 PM »
hi, I've been looking for a script, a snippet, or droplet to display different changing logos of firms but at the same place, as small flash animations. I mean, for instance, a logo stays 2 seconds, another one after 4 seconds, and so on,... Cheers
Logged
midiweb
Offline
Posts: 178
Re: Looking for a module, a snippet, a droplet to display changing logos,....
«
Reply #1 on:
February 19, 2009, 01:15:27 PM »
sorry, I've just found the module "Random Image" .I'll try it.
Logged
Hans
Offline
Posts: 564
Re: Looking for a module, a snippet, a droplet to display changing logos,....
«
Reply #2 on:
February 19, 2009, 09:30:05 PM »
There's also a Droplet (
http://www.websitebakers.com/pages/admin/admin-tools/droplets.php
) in AMASP
http://www.websitebakers.com/pages/droplets/official-library/images/random-images.php
Hans
Logged
Hans - Nijmegen - The Netherlands
midiweb
Offline
Posts: 178
Re: Looking for a module, a snippet, a droplet to display changing logos,....
«
Reply #3 on:
May 19, 2009, 04:39:45 PM »
hi, I tried the dropplet Randomimage but it displays one picture in one time. I would like to display all pictures from the folder in turn, alternately, as one loop.Do you know how to do that?
Logged
Hans
Offline
Posts: 564
Re: Looking for a module, a snippet, a droplet to display changing logos,....
«
Reply #4 on:
May 19, 2009, 08:22:30 PM »
http://www.websitebakers.com/pages/modules/image-galleries/smooth-gallery.php
in a certain configuration.
Hans
Logged
Hans - Nijmegen - The Netherlands
Argos
Moderator
Offline
Posts: 2156
Re: Looking for a module, a snippet, a droplet to display changing logos,....
«
Reply #5 on:
May 20, 2009, 12:04:59 AM »
Maybe not quite what you want out of the box, but with some work you might be able to use
http://www.websitebakers.com/pages/modules/image-galleries/slideshow.php
Otherwise you have to use a simple third party image rotator script. There are many javascript ones, and also very neat ajax and jquery scripts with nice effects and options. And Flash ones of course.
Logged
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase:
http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
midiweb
Offline
Posts: 178
Re: Looking for a module, a snippet, a droplet to display changing logos,....
«
Reply #6 on:
May 20, 2009, 11:33:10 AM »
What have I to change in the dropplet Randomimage to display in a loop without to reload tha page:
Code:
$folder=opendir(WB_PATH.MEDIA_DIRECTORY.'/'.$dir.'/.');
$names = array();
while ($file = readdir($folder)) {
$ext=strtolower(substr($file,-4));
if ($ext==".jpg"||$ext==".gif"||$ext==".png"){
$names[count($names)] = $file;
}
}
closedir($folder);
shuffle($names);
$image=$names[0];
$name=substr($image,0,-4);
return '<img src="'.WB_URL.MEDIA_DIRECTORY.'/'.$dir.'/'.$image.'" alt="'.$name.'" width="'.$width.'" height="'.$height.'"/>';
I tried in the index.php with the PHP function
Code:
for($i=0;$i < 100;$i++)
{
[[RandomImage?dir=logos]]
';
}
But it displays 100 times the same logo and not the next logo.
Who can help me?
Logged
Argos
Moderator
Offline
Posts: 2156
Re: Looking for a module, a snippet, a droplet to display changing logos,....
«
Reply #7 on:
May 20, 2009, 11:40:31 AM »
You cannot use that, because you need some script function. A droplet has no script. That's why Hans and I suggested two different modules to look at.
Logged
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase:
http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...