Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
好的,所以我有一个正在处理的页面,其中包含 php 代码中的图表,但同一页面还包含显示的表格...
我怎样才能做到,以便我可以在同一页面上创建一个链接,以便当用户单击该链接时,我可以有一个仅显示页面图表的弹出框..
<?php echo" <a href="...."> click to see charts </a>"; chart code is below here // ?>
您可以参考以下示例,效果很好
https://github.com/jackmoore/colorbox/blob/master/example1/index.html