Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
關於中文檔名資源在文章中的顯示
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
lss  
View profile   Translate to Translated (View Original)
 More options Mar 4 2005, 12:14 pm
From: lss <lss...@gmail.com>
Date: Sat, 5 Mar 2005 01:14:48 +0800
Local: Fri, Mar 4 2005 12:14 pm
Subject: 關於中文檔名資源在文章中的顯示
Hi All:
在0.32時我處理中文檔名資源插入文章時,因當時習慣用IE,並沒有在FF裡測試。
現在習慣用 FF 以後,又忘了要在 IE 裡試…

言歸正傳。

1.0把template/admin/resourcelist.template裡用來插入檔案中心資源至文章裡的一些javascript移至js/ht mlarea/htmlarea-plog-resourcelist.js裡了,並且忘了移植我在0.32的修正。我的修正是在_generateResou rceLink函數裡將resourceName改成encodeURIComponent(reousrceName),讓生成的url是編碼過的。

接下來有趣了,在未修正該js檔時,插入中文檔名的圖檔至文章:

在 FF或IE 裡編輯文章及瀏覽時,被插入的圖檔在url裡是中文的,但FF卻能正常顯示,到了IE,就找不到檔案了。

於是我將js/htmlarea/htmlarea-plog-resourcelist.js依0.32時的方式修改,更有趣的事發生了:
在IE裡編輯文章,被插入的中文檔名圖檔可以正常在前後台顯示,用FF瀏覽也正常。
但是用FF編輯文章時,前後台都正常,但是IE又不行了。查看生成網頁的原始碼後,FF還是用中文檔名放在URL裡。

IE和FF是誰不符標準?

any idea ?
--
==============
lsslss
===============


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "關於中文檔 名資源在文章中的顯示" by lss
lss  
View profile   Translate to Translated (View Original)
 More options Mar 4 2005, 12:27 pm
From: lss <lss...@gmail.com>
Date: Sat, 5 Mar 2005 01:27:55 +0800
Local: Fri, Mar 4 2005 12:27 pm
Subject: Re: 關於中文檔名資源在文章中的顯示

忘了附上修改的檔案了,特此附上。
js/htmlarea/htmlarea-plog-resourcelist.js

--
==============
lsslss
===============

  htmlarea-plog-resourcelist.js
5K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
lss  
View profile   Translate to Translated (View Original)
 More options Mar 10 2005, 11:38 am
From: lss <lss...@gmail.com>
Date: Fri, 11 Mar 2005 00:38:48 +0800
Local: Thurs, Mar 10 2005 11:38 am
Subject: Re: 關於中文檔 名資源在文章中的顯示

hi all:
我已經解決這個問題了,雖然我搞不清楚為什麼在FF裡正常了 :p,不過,問題解決了是件好事。:D
只修改一個檔,如附件。請幫忙測一下。另外,我會去做臭蟲回報。

--
==============
lsslss
===============

  htmlarea-plog-resourcelist.js
5K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google