Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By danmurf on
Does anyone know if there is a Drupal module which allows you to add animated page headings (flash or javascript) through Drupal?
Thanks
Dan
Comments
Using taxonomy_image and template
I made a Flash animation and dinamically took information from Drupal to display: a different banner image would fade in using taxonomy_image and the title would move in with some simple animation. This was still based on 4.6.x and the XTemplate. I needed to change xtemplate.engine:
Added the variable in the xtemplate_page function:
Then further down in the same function I seem to have added this:
In the theme I used this code to communicate with the flash animation:
Of course you have to know how to use these variables in Flash to show the picture and title.
Soon I would need to redo all this for 4.7.x and PHPTemplate engine and I would share it with you how I did it, if you are patient enough to wait.