1
我的程序員過世後,我繼承了一位客戶。他們有4個商業網站運行我認爲是我在Google上找到的Adobe Go Live代碼。如何讓出現在根目錄頁面中的iconimages也出現在另一個目錄中?
只要所有的.asp腳本和圖像目錄不在網站的根目錄下,就可以完美地工作。我需要將「商店」腳本移動到「商店」子目錄下。當我運行根目錄中的默認頁面時,按鈕上會出現帶有圖標的按鈕。當我點擊其中一個asp頁面位於「store」目錄下的頁面時,其中的任何一個按鈕都沒有圖像。我對Javascript一無所知。我敢肯定,有人知道這是一個快速愚蠢的解決方案。任何幫助,將不勝感激。
附加信息: 我已經縮小了錯誤到圖像所在目錄的路徑需要更改。如果我複製每個子目錄下的圖像目錄,它工作正常。我真的不想讓系統中的每張圖片都有4份副本。
在此先感謝這裏的部分示例源代碼
<HEAD>
<script src="js_files/primary.js"></script>
<csactiondict>
<script><!--
CSInit[CSInit.length] = new Array (CSILoad,/*CMP*/'button',/*URL*/'buttons/hp2.gif',/*URL*/'buttons/hp2.gif',/*URL*/'','Home Page');
CSInit[CSInit.length] = new Array (CSILoad,/*CMP*/'button2',/*URL*/'buttons/mv1.gif',/*URL*/'buttons/mv2.gif',/*URL*/'','But ton2Text');
CSInit[CSInit.length] = new Array (CSILoad,/*CMP*/'button3',/*URL*/'buttons/sev1.gif',/*URL*/'buttons/sev2.gif',/*URL*/'','B uttons3sText');
// --></script>
</csactiondict>
</HEAD>
<BODY>
<csobj w="96" h="18" t="Button" st="Home Page" ht="buttons/hp2.gif">
<a href="#" onmouseover="return CSIShow(/*CMP*/'button',1)" onmouseout="return CSIShow (/*CMP*/'button',0)" onclick="return CSButtonReturn()"><img src="buttons/hp2.gif" width="96" height="18" name="button" border="0" alt="Home Page"></a>
</csobj>
<br>
<img height="2" width="108" src="images/spacer.gif" border="0" alt="Spacer">
<br>
<csobj w="96" h="18" t="Button" st="Button1Text" ht="buttons/hmc2.gif"><a href="Link1.asp" onmouseover="return CSIShow(/*CMP*/'button35',1)" onmouseout="return CSIShow(/*CMP*/'button35',0)" onclick="return CSButtonReturn()">
<img src="buttons/hmc1.gif" width="96" height="18" name="button3" border="0" alt="Button3AltText"></a>
</csobj>
<br>
<img height="8" width="108" src="images/spacer.gif" border="0" alt="Spacer">
<br>
<csobj w="96" h="18" t="Button" st="Link2Text" ht="buttons/mv2.gif"><a href="Link2.asp" onmouseover="return CSIShow(/*CMP*/'button2',1)" onmouseout="return CSIShow(/*CMP*/'button2',0)" onclick="return CSButtonReturn()"><img src="buttons/mv1.gif" width="96" height="18" name="button2" border="0" alt="Button2Text"></a></csobj>
</BODY>
糟糕的運氣,使...更容易重寫使用CSS的翻轉比修復它? – 2009-01-26 18:39:17