i try to use the YUI3 tabview widget in zend framework.
i use the Yahoo CDN to load all the modules, every things is fine, i got the combo with tabview.css inside except that i can’t download the image file that is used in the tabview.css.the same code works fine in a plain html file and the image is right there. why this is happening?
here is a test page http://www.ceshi.anpingsiwang.info, the tabview.css is in the css combo, the full url of tabeview.css is http://yui.yahooapis.com/3.3.0/build/tabview/assets/skins/sam/tabview.css. you can see there is a image called sprite.png is used in that tabview.css file, but it was not loaded. the other plain html file http://www.ceshi.anpingsiwang.info/plain.html is totally fine
The
<body>element is missing theclassattribute. Just changeto
and you’re golden (and I’m off to sleep).
Edit demo demo demo!