[Proto-Scripty] Re: sleep or delay not working in IE 7 on windows XP

2010-03-20 Thread albert kao
Consultant tj / crowder software / comwww.crowdersoftware.com On Mar 19, 7:24 pm, albert kao albertk...@gmail.com wrote: I like to have a sleep or delay function in javascript. The Prototype library 1.6.1 has a delay function. It is working well in Firefox or Chrome but not IE 7 on windows

[Proto-Scripty] best cookie library

2010-03-19 Thread albert kao
What is the best cookie library built on Prototype? I found Cookie Jar - http://www.lalit.org/lab/jsoncookies Is it the best? -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to

[Proto-Scripty] sleep or delay not working in IE 7 on windows XP

2010-03-19 Thread albert kao
I like to have a sleep or delay function in javascript. The Prototype library 1.6.1 has a delay function. It is working well in Firefox or Chrome but not IE 7 on windows XP. Please help (I cannot use newer version of windows). function sleep() { } sleep.delay(0.1); -- You received this message

[Proto-Scripty] Re: make the Tablekit library to sort with the current sort order after page refresh

2010-03-17 Thread albert kao
, and you're no further ahead. Take a look at the LivePipe Cookie extension[1] for Prototype for a   really quick way to access the cookie without a lot of gymnastics. Walter 1.http://livepipe.net/extra/cookie On Mar 15, 2010, at 5:56 PM, albert kao wrote: My table columns are sorted

[Proto-Scripty] sleep or wait function

2010-03-15 Thread albert kao
Is there any sleep or wait function in Prototype? -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to

[Proto-Scripty] Table columns not sorted by Tablekit after AJAX call is added

2010-03-13 Thread albert kao
I use the Tablekit library and Prototype javascript framework on firefox, chrome IE8. The columns in this table can be sorted by the Tablekit library. Code: script type=text/javascript src=js/prototype.js/script script type=text/javascript src=js/tablekit.js/script body div id=mainmenu ...

[Proto-Scripty] Re: click one checkbox will submit only one checkbox value (not the whole form) immediately

2010-03-11 Thread albert kao
function submitjustthisone(){ //do the stuff you need to do} /script On Feb 23, 4:58 pm, albert kao albertk...@gmail.com wrote: My JSP web page has many checkboxes. What is web page source code look like when clickingonecheckboxwill submitonlyonecheckboxvalue(not the whole form

[Proto-Scripty] client side storage for firefox, chrome IE

2010-03-03 Thread albert kao
How to store some strings at the client side for firefox, chrome IE? This does not work - no alert window appears. localStorage.setItem('localorder', 'asc'); alert('localorder ' + localStorage.getItem('order')); -- You received this message because you are subscribed to the Google Groups

[Proto-Scripty] Ajax.PeriodicalUpdater works for firefox, chrome but not IE8.

2010-03-03 Thread albert kao
The Ajax.PeriodicalUpdater call works for firefox chrome but not IE8. i.e. the web page is refreshed every ten seconds for firefox chrome but not refreshed at all for IE8. body onload=new Ajax.PeriodicalUpdater('topmenu', 'activity.htm', {method: 'get', frequency: 10}); My web page is div

[Proto-Scripty] Tablekit checkbox problem

2010-02-26 Thread albert kao
I use the Tablekit library to sort and resize my table. However, using the editable feature has a problem with checkbox. Clicking the checkbox will change it to a text box. Is it a workaround? -- You received this message because you are subscribed to the Google Groups Prototype

[Proto-Scripty] click one checkbox will submit only one checkbox value (not the whole form) immediately

2010-02-23 Thread albert kao
My JSP web page has many checkboxes. What is web page source code look like when clicking one checkbox will submit only one checkbox value (not the whole form) immediately? i.e. toggling one checkbox will send the info that only that checkbox is toggled. This does not work because clicking one

[Proto-Scripty] Calling servlet

2010-02-16 Thread albert kao
Is there a Prototype function to call servlet? -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to

[Proto-Scripty] Re: get a file from intranet server

2010-02-10 Thread albert kao
hereas this question isn't really about prototype. Sent from my phone so please pardon any spelling errors. On Feb 9, 2010, at 8:02 AM, albert kao albertk...@gmail.com wrote: How to get (download) a file from intranet server with Prototype ? e.g. the file is C:\dir1\data.txt and the Windows

[Proto-Scripty] get a file from intranet server

2010-02-09 Thread albert kao
How to get (download) a file from intranet server with Prototype ? e.g. the file is C:\dir1\data.txt and the Windows Vista server IP address is 192.168.0.112. -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group,

[Proto-Scripty] divide one long table into multiple 40 rows

2010-02-09 Thread albert kao
Instead of displaying one long table with many rows and use the scroll bar to look at the data. Is it possible to divide the table so that each screen will display at most 40 rows? The user click the Next, Previous buttons to go to the next or previous page. or the 1, 2, 3, ... to go to any page