Sunday, August 15, 2010

Modalizer show hidden DIV in joomla

If you need to show a hidden div in joomla using modalizer, i have the hack for you!.

Unfortunatly the mootools squeezebox script that comes with modalizer is different than normal joomla 1.5 squeezebox. Yep thats right the developers skipped the "adopt" feature that the normal squeezebox has, so I added it!

Here is an example of how to set it up.
First download my hacked version of nn_squeezebox.js, extract and copy it to "\plugins\system\modalizer\modals\squeezebox"

<a   class="nn_squeezebox" rel="{handler: 'adopt', adopt: 'test',size:{x: 650, y: 500}}" >test</a>

<div id="test" style="display:none">YEA!!! it works</div>

DOWNLOAD fixed nn_squeezebox.js

NOTE: For some reason all the ID attributes get stripped from the code in the hidden div when displayed in the popup, so make them classes!

Stumble Upon CodePyro

1 comment:

Anonymous said...

That allows all of us in order to with confidence complement that tag heuer replica achieve the very best of the greatest reproduction replica watches once we take ascendancy within the complete build up collection, in the leader towards the complete. 1 going to in the animate as well as precious metal combination about the call, the actual bezel and also the rolex replica sale as well as people is going to be scared in order to rolex replica which this can be a reproduction view and never the actual aboriginal. The actual replica watches is a good option within reproduction wrist watches having a choice that means it is simple to find some thing for the design as well as requirements. Purchase 1 as well as display your own luxurious replica watches right now.

Post a Comment