Closed (outdated)
Project:
Cloud Zoom
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Oct 2010 at 17:16 UTC
Updated:
2 Nov 2017 at 14:48 UTC
Jump to comment: Most recent
Comments
Comment #1
Clint Eagar commentedI'm trying to figure this out too.
Comment #2
zach harkey commentedBy default, the drupal module only loads the cloud_zoom js and css file when needed. Your theme can force these to load on all pages by adding something like the following to your theme's template.php:
Then all you have to do is add class="cloud_zoom" to the link and you will get the defaults which can be overriden by adding properties to the rel attribute (see the professor cloud demo page source code for examples).
Comment #3
neokrish commentedsolution mentioned in #2 is the way to go, unless the maintainer takes this as a new feature and adds a settings page like lightbox2 does to add js to all pages.
For the solution #2 to work, the class name should be 'cloud-zoom' instead of "cloud_zoom", as mentioned by Zach Harkey
Comment #4
dakku commented