隐藏了Carofredsel和jQuery UI标签元素 [英] Carofredsel and jQuery UI tabs elements hidden

查看:61
本文介绍了隐藏了Carofredsel和jQuery UI标签元素的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在jQuery标签内设置了 caroufredsel ,但标签内的所有元素都是不可见的。似乎 caroufredsel 包装器的高度和宽度都设置为 0 ,并且溢出设置为隐藏

I have set up caroufredsel inside of a jQuery tabs, but all of the elements inside the tabs are invisible. It seems that the caroufredsel wrapper height and width are both set to 0, and the overflow is set to hidden.

我可以看到 caroufredsel 正在创建正确的包装器并将我的内容包含在其中,但内容是不可见的。以前有人遇到过这个问题吗?

I can see that caroufredsel is creating the proper wrapper and including my content into it, but the content is invisible. Anyone had this issue before?

推荐答案

其他任何人面临这样的问题,我能够通过使用jQuery来解决这个问题( '#carousel')触发( 'updateSizes');在标签上点击

Anyone else facing such an issue, I was able to resolve the issue by using the jQuery('#carousel').trigger('updateSizes'); on tab click

这篇关于隐藏了Carofredsel和jQuery UI标签元素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆