If you are using prototype.js + effects.js or mootools.js, You can apply some effects anywhere on blog and there is various way to apply them. This is one of them and using javascript functions in Ajax-Spoiler plugin.
This post follows Ajax-Spoiler v0.9
There is some way to apply effects and this post explains one of them.
Check this post also.
1. Base
- All examples on this post will use ‘Spoiler.Collapse’ effect.
- Here is a simple example. (Click!)
- Code for above example is like this:
Click!)
Spoiler.Collapse('id','effect',this)
is the point.- Element which ‘id’ is ‘mycont’ will be displayed and hid after click again.
- You can use all effects in Ajax-Spoiler plugin.
2. Apply
- Let’s apply it to sidebar.
- General sidebar.php template composed like this(default theme):
-
.......sidebar menu....
Categories
-
....and so on......
5 responses to “Expand Ajax-Spoiler effects 1”
Any news?
I also can’t use this technique with the latest version of plugin, please, let us know how soon you are planning to release something to fix it.
Thank you, plugin is really cool.
Regards,
natural
I can not implement this with the new version avanced spoiler
I’m planning to apply this on widgets system. Please be patient, I’ll upgrade the plugin or write a post about it.
[…] 082NeT » Blog Archive » Expand Ajax-Spoiler effects 1 – ajax spoiler eklentisine yeni özellikler ekleme […]
[…] Expand Ajax-Spoiler effects – If you are using prototype.js + effects.js or mootools.js, You can apply some effects anywhere on blog and there is various way to apply them. This is one of them and using javascript functions in Ajax-Spoiler plugin. […]