Fancybox中的SVG图像 [英] SVG image in Fancybox
本文介绍了Fancybox中的SVG图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在fancybox中使用svg图像。
I need svg image in fancybox.
<div id="data">
I have rendered svg image here.
I also have some image tags.
<a id="inline" href="#data" style="margin-removed15px;">Full Screen</a>
</div>
我想获得带有数据的div的全屏。
当我点击全屏我已经满了SCR带有jpg图像的id为data的div的een,但不是svg图像(被渲染到div中)
I want to get full screen of the div with id "data".
When i click on "Full Screen" i''m getting full screen of div with id"data" with jpg images, but not the svg image(Which is rendered into the div)
推荐答案
<div style="height:inherit; width:inherit"></div>
这篇关于Fancybox中的SVG图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文