Pop-up window
Permalink
Hi all,
I have an image on the homepage of a site I am building - and when visitors click it I want a slimmed down pop up window to come up that opens a static page I have uploaded to the website /video/video.html
The video.html contains an embedded flash video.
Any ideas?
Traditionally I would use a bit of javascript to open the window.
I really like how clean the 'Zoom-Image' block is and I know someone else here built a 'Zoom-Content' block - pity I can't have that link to a static html page instead of the concrete5 content?
I have an image on the homepage of a site I am building - and when visitors click it I want a slimmed down pop up window to come up that opens a static page I have uploaded to the website /video/video.html
The video.html contains an embedded flash video.
Any ideas?
Traditionally I would use a bit of javascript to open the window.
I really like how clean the 'Zoom-Image' block is and I know someone else here built a 'Zoom-Content' block - pity I can't have that link to a static html page instead of the concrete5 content?
Anyone got any ideas?
A Fancybox with iframe support can help you out.
http://fancybox.net/example
It's easy to implement, uses jQuery, as Concrete5.
Use the html block, or rewrite the template for the iframe block.
Good luck :)
Best regards
Jens Griebel
http://fancybox.net/example
It's easy to implement, uses jQuery, as Concrete5.
Use the html block, or rewrite the template for the iframe block.
Good luck :)
Best regards
Jens Griebel
Anyone interested in making this a standardized block?
just released a popup / dialog window block to the marketplace:
http://www.concrete5.org/marketplace/addons/popup/...
http://www.concrete5.org/marketplace/addons/popup/...