2010-10-12 53 views
2

我有一個包含文件上傳表單的頁面。將表單結果導入COLORBOX模式

<form enctype="multipart/form-data" method="post" action="uploaded.php"> 
    <input type="file" name="my_file"> 
    <input type="submit"> 
</form> 

我需要將結果發佈到使用colorbox jQuery插件創建的模式窗口中。

http://colorpowered.com/colorbox/

有誰知道如何做到這一點?

謝謝

回答

1

Colorbox是客戶端,上傳服務器端。你必須創建一個顯示上傳圖像的php頁面,並在其上應用「colorbox」。