[Proto-Scripty] Addding sub div under main div

2009-05-04 Thread mahi
Hi all well i am a newbie in prototype.js and i had created a div element at run time using prototype functions now my problem is that i had seen various examples which are using body element to append any run time Dom element whereas i wanna to do as i have a main div in my body tag and the newl

[Proto-Scripty] drag/drop/resize in a liited area or in a panel area

2009-05-08 Thread mahi
hi I had seen too many examples of resizing and drag and drop of boxes but i wanna something like in which i made a outer box as we say main div and after that i will generate a inner box in it that can be movable in that main div area only and it can also be re-sized but it cannot cross that out

[Proto-Scripty] Adding a input box

2009-05-14 Thread mahi
Hi I am newbie in prototype.js, here i am trying to add the input box it is working in IE but not in mozilla . pl help me ASAP... var c =new Element('input', {'type':'text', 'id': 'var1Value' , 'value':'var1 default value'}); $('uiElements').insert(c); regards mahendra varandani --~--~---

[Proto-Scripty] Error in prototype js

2009-05-21 Thread mahi
Hi All i am working on a site where i wanna to use jquery and prototype js on same page but when i add both of the scripts on same page then prototype js will give this error Error: element.dispatchEvent is not a function Source File: /lib.js/prototype.js Line: 4072 and when i remove the jquer