那麼,我想要做的是有lightbox和sliding top panel。兩者都使用mootools,兩者似乎都使用不同的版本。Incomatible Mootools腳本
如果註釋掉其中之一,雖然它們是展示實際的mootools庫,但它不起作用。
<!a possible js config. either these two are commentented out, or the mootols.svn.js
<!-- libraries/frameworks for milkbox-->
<!--script type="text/javascript" src="js/mootools-1.2.3-core-yc.js"></script>
<script type="text/javascript" src="js/mootools-1.2.3.1-more.js"></script-->
<!-- mootools for the sliding top panel. should work also with the one imported above, so i was going to deactivate the one below-->
<script type="text/javascript" src="js/mootools.svn.js"></script>
<script type="text/javascript" src="js/milkbox.js"></script>
<script type="text/javascript" src="js/panel.js"></script>
所以不管至極一個(* -1.2.3核-YC和-more.js或mootools.js)我註釋掉的does not工作特點總是一個。
雖然它實際上應該是可能的,因爲兩者都是mootools。有人有這個解決方案嗎? (我聽說過術語命名空間和知道大概是什麼意思,但我不知道如何使用它)
感謝很多提前,
尼
非常感謝很好的回答'雖然這個回覆有點晚了:) – ngmir 2009-10-23 18:12:41