单击透明的 .png
首先,我想说 myspace 很痛苦。但是,音乐家喜欢它,我可以为他们做布局赚一些钱。我在 myspace 的原始外观上覆盖了一层 .png,但需要使用 myspace 音乐播放器。因此,我制作了一个围绕 myspace 播放器的相框,其中心透明,以便您可以看到 myspace 播放器。不幸的是,该播放器不具备完整的功能。当我悬停时,它似乎响应正确,但当我单击时,它响应不正确。有谁知道如何解决这个问题?
您可以在这里看到我在说什么:myspace.com/gprettydesigns
First off, I would like to say that myspace is a pain. But, musicians love it, and I can make some money doing layouts for them. I overlayed a layer of .png's over myspace's original look, but need to utilize the myspace music player. So, I made a picture frame that surrounds the myspace player that has a transparent center so you can see the myspace player. unfortunately, the player doesn't have full functionality. It seems to respond correctly when I hover, but not when I click. does anyone know how to solve this problem?
You can see what I'm talking about here: myspace.com/gprettydesigns
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
添加
覆盖层以允许点击事件通过它。这是一个相当新的属性,因此并非所有浏览器都可以理解它。
有关指针事件的更多信息,请访问 https://developer.mozilla.org/en/css/指针事件
add
on your overlay to alow click events to pass through it. It's a fairly recent property so not all browser may understand it.
More informations on pointer-events on https://developer.mozilla.org/en/css/pointer-events
最好的方法通常是将图像切成碎片并放置它们,以便没有任何东西覆盖音乐播放器。
The best way would generally be to slice the image up into pieces and place them so that nothing overlays the music player.
也许您可以使用 z-index 将图像定位在播放器下方,更多信息请参见: http:// www.echoecho.com/csslayers.htm
Maybe you could use z-index to position the image underneath the player, more on this here: http://www.echoecho.com/csslayers.htm
将背景图像放在 div 上,然后使用 z-index 将其放置在播放器后面。将背景图像放在 div 上并使用 z-index 的优点是它比使用实际的内联图像更快。
Put the background image on a div then use z-index to position it behind the player. The advantage of putting a background image on a div and using z-index is that it'll be faster than using an actual inline image.
拍拍拍拍给你!我对 MySpace 进行了一些调整,知道它是真正的 PITA。
在这里更改 CSS:
我不记得这是否可行,或者他们是否只接受内联 CSS。
与问题无关,但现在您还可以通过 RootMusic 在 Facebook 上创建乐队页面。 MySpace 可能很快就会被挤满,所以我也会给他们看看。
祝你好运,处理 MySpace 的意大利面条桌。
Clap clap clap to you! I've done sone MySpace tweaking and know it's a real PITA.
Change the CSS here:
I don't remember if this is feasible or if they only accept inline CSS.
Not really question related but now you can also have bandpages on facebook via RootMusic. MySpace will probably be overrun in no time so I would also give them a look.
Good luck dealing with the spaghetti tables of MySpace.