Thank you for sharing!
Glad to share it
Hi, please allow me to ask you a question.
The tabbed version of CSS you made is very good, but it doesn’t seem to link the MDD File shared by #661?
I guess I need to make any other changes to the tabbed CSS?
The original css is copied verbatim into the uniquely named wcct.css (which the tabbed mdx references/links to). Make sure to modify that one instead for it to be picked up by the tabbed mdx. I kept the names unique to avoid collisions. You can paste the contents of css from #661 into that css (overwrite the existing css of course)
Look for “/START dictionary specific CSS/” to paste over. Do not delete the lines above this marker.
The original MDD can be reused without any modification or repackaging.
Thank you for such a timely response!
My steps are as follows:
- I tried to download the CSS from #661; copy and paste its code into wcct.css, and keep the code which can implement the tab feature.
- The font is changed and the tag feature is still alive, however, the pronunciation can not be invoked when querying words.
- I changed the MDD file name to be the same as the MDX file name, not working.
Is there a step I am missing?
Anyway, even if you can’t reproduce the problem I described, I would still greatly appreciate the file you provided and your detailed answer.
You are welcome. I think the css problem is resolved.
The audio in the mdx contains ogg format like so:
<audio id="music266"> <source src="en/TopQuark/aaas.opus" type="audio/ogg"> </audio> <button onmousedown="document.getElementById('music266').play(); return false;" onmouseover="" >UK</button>
But the mdd which I can find contains mp3 files like so:
<a href="mdx://mdict.cn/sound/5188089/en/Atalina/take.mp3">US</a>
Therefore the problem is mismatched data format (apparently there are two totally different mdd+mdx combos, one for mp3, another for ogg audio formats)
My guess is that the possible causes are
- mismatched mdd - audio file format
- ogg file not supported by operating system or browser engine.
tabbed MDX based on SIO双向双解词典v3.3
Audio mdd and original mdx here from which mdx above is derived.
“freemdict.com_SIO双向双解词典最终版” doesn’t seem to come with audio mdd.
谢谢m大神!
有个问题:这个版本与22年4月9日在#616(这个版本的mdd只有1.58G)(https://forum.freemdict.com/t/topic/8973/620)发布的有何区别?
那个原材料是“freemdict.com_SIO双向双解词典最终版”,语音mdd可能找不到了,css字体特别大。内容不清楚是不是最新,名字显得最新。
这个版本(链接在楼上)有语音mdd,css字体小,内容不知道是新还是旧。
Thank you for your follow-up!
Your explanation makes total sense for me. It’s probably that my MDD does not match the MDX. I’ll try those two files you shared again with your modified CSS.
内容都是一样的,当时我纯粹帮忙转个本站网盘,okayer大只分享了度盘链接,所谓最终版也是okayer大命名的
当初mdd里的音频ogg格式,体积最小,jiangsw打包的,后来他又删掉了,我也没保存…
现在能见到的mdd里是mp3格式,体积大了不少…
谢谢解释。我找到了ogg mdd,没注意体积。但是貌似没法解压,不知道播放ogg为啥失败。既然内容一样,就不担心了。
你好,没有小改以前的那个宋体的 css能补一下链接吗,很喜欢这个字体,感觉阅读效率高。
这部词典我没在用了,源文件已经找不到了
好吧,谢谢了。
链接失效了,Thanks♪(・ω・)ノ
感谢制作!请教一下,css怎么修改可以默认显示词典来源?现在最新版本是点击一个词条显示一个词典,我想要全部搜索词典都默认显示
SIO双向双解词典 v3.3下载连接失效了,求新的连接