[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem of Pasting in Contribute on Mac



Hi, We developed a flash file which generates a simple piece of
Javascript code for user. The following is an example of the generated
code(you don't need to read into it):

javascript:if(x5831990940 && !x5831990940.closed){
x5831990940.focus(); }else{ var
x5831990940=window.open('http://instruct1.cit.cornell.edu/courses/biomi290/microscopycases/biofilm/CHLORINE.htm','5831990940',
'width=600, height=600, toolbar=no, scrollbars=no, location=no,
statusbar=no, menubar=no, resizable=no');}

However, when we tried to copy this code and added it as a link in
Contribute, it lost some of the code at the end and looked like
following :

javascript:if(x5527333203 && !x5527333203.closed){
x5527333203.focus(); }else{ var
x5527333203=window.open('http://instruct1.cit.cornell.edu/courses/biomi290/microscopycases/biofilm/CHLORINE.htm','5527333203',
'width=600, height=600, toolbar=no, scrollbar

We also tried pasting the code in Word and Notepad, but they worked
fine, having all the code pasted. So our understanding is that pasting
such a string in Contribute seems having some problem, maybe hitting
the string length limit? We also need to tell, this only happens on
Mac computer, PC machines do pasting fine.

We are seeking the solution to this problem, if you have any ideas,
please help. We appreciate greatly.

Lance