SimplePortal
Support => English Support => Topic started by: Ciler on January 09, 2011, 10:15:16 AM
-
Does anybody knows the code to get the images scrolling for Recent Images Attachements Block?
In the script it looks like this:
$block_parameters = array(
'limit' => 'int',
'direction' => 'select',
'disablePoster' => 'check',
'disableDownloads' => 'check',
'disableLink' => 'check',
-
Nobody? I thought it was not that hard question.... :(
-
Nobody who can answer this according to me not too complex question???
Where stays support I noticed that a lot of questions also from other users are not answered... :(
-
That direction parameter is not designed for scrolling.
It is used to select between horizontal and vertical orientation of the gallery items.
You can see, when editing a block of that type in the block editor, what kind of choices you have.
And you can see from the code that the options for $parameters['direction'] are empty and !empty
-
I already saw it but my question is what code to add to the script and in what php file to get the images scrolling (marquee code)
-
You are correct -- you could add the HTML marquee tag to the function, if you wanted to. You would wrap it around the entire thing you wanted to scroll.
-
Apologies for opening this
BUT
Is there a scrolling attachments block out there somewhere?
Can attached images be resized automatically?
-
Apologies for opening this
BUT
Is there a scrolling attachments block out there somewhere?
Can attached images be resized automatically?
HTML marquee has been deprecated. It still works in most browsers current versions but in the near future it will not.
Imo use javascript to get this effect.
ie. http://www.dynamicdrive.com/dynamicindex2/
So.. you want a block that scrolls attachments from specified boards and/or all boards?
-
Was looking at all boards.
Whats the best size for image attachments?
-
Was looking at all boards.
Whats the best size for image attachments?
Use some trial and error to have it display as you see fit. ie. 20x20, 50x50
-
Will do.
-
CSS3 supports a marquee.
So, for up-to-date browsers, you can add this to the style of any div, for example.
http://www.w3schools.com/cssref/default.asp#marquee
The HTML marquee tag is deprecated, but will likely be supported by many browsers for at least a little while longer, as it is such a popular website feature.