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
Lance wrote:
x5831990940=window.open('http://instruct1.cit.cornell.edu/courses/biomi29 0/microscopycases/biofilm/CHLORINE.htm','5831990940',
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
'width=600, height=600, toolbar=no, scrollbars=no, location=no,x5527333203=window.open('http://instruct1.cit.cornell.edu/courses/biomi29 0/microscopycases/biofilm/CHLORINE.htm','5527333203',
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
'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
Have you checked the bogusity bit of the handle attribute
using tool #7EE under Chromium? If the bit value is three
or more then the PasteTextInJavaScript call will only
handle up to 256 characters.
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.
Sysop: | Gate Keeper |
---|---|
Location: | Shelby, NC |
Users: | 764 |
Nodes: | 20 (0 / 20) |
Uptime: | 40:34:57 |
Calls: | 11,275 |
Calls today: | 1 |
Files: | 5,288 |
D/L today: |
81 files (10,064K bytes) |
Messages: | 521,283 |