[Proto-Scripty] Re: IE 8 compatibility issue with prototype 1.6 version

2009-08-12 Thread rai.ashis
i have same problem here but i am using IE7.

The error message is same as karamjit.



On Tue, Aug 11, 2009 at 9:23 AM, John Harris GM jkharr...@gmail.com wrote:


 On 8/10/2009 4:02 PM, karamjit wrote:
  Hi All,
 
  I am using the prototype version 1.6 framework with lightview api. I
  having issue with IE 8, but the same code is working fine in FireFox.
 
  Error : Line 1928, Invalid argument.
 
  Can someone please help me to solve this issue?
 
  Thanks in Advance
 
  Regards
  Karamjit
 
  
 
 I am new to serious Prototype/Scriptaculous programming, but I had a
 problem with IE8.  My code worked on FF, Safari, Chrome but not IE8 or
 IE7.  I was using the InPlace Editor. True not the same as lightview,
 but when I loaded Prototype 1.6.1_RC3, it worked.  I understand RC2 and
 RC3 are interim releases that have IE8 issues resolved.  See the website.

 Good luck.  I hope this is some help.
 John

 


--~--~-~--~~~---~--~~
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-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---



[Proto-Scripty] Re: Adding a input box

2009-05-14 Thread rai.ashis
Hi,

you can try other way to insert like

$('uiElements').insert(input type='text' id='idName' value='anything'/);

it's the simple way as you are writing the code in js file so you can try
this one.


You can try scriptaculous builder.js also. Here is the link

http://wiki.github.com/madrobby/scriptaculous/builder


Thanks


On Thu, May 14, 2009 at 2:54 PM, mahi chiku.4...@gmail.com wrote:


 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
 


--~--~-~--~~~---~--~~
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-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---



[Proto-Scripty] Re: Setting the value of a select list

2009-05-13 Thread rai.ashis
Hi jason,

try this = $(selectList).childElements()[index].selected=true

this will sets the value for your selec element.

I hope this will work.

Thanks

Ashis

On Tue, May 12, 2009 at 8:40 PM, Jason jason.di...@gmail.com wrote:


 Hello,

 I'm not sure if this is an IE problem or a Prototype problem.

 I am trying to set the value of a select list via the following
 code;

 $('selectList').setValue('some_value');
 I get an error stating that this object does not support this property
 or method.

 I have also tried these variants;

 $('selectList').value = 'some_value';
 $('selectList').selectedIndex = 0;

 Nothing seems to work. Anyone have any ideas?

 Thank you for your time,
 Jason

 


--~--~-~--~~~---~--~~
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-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---



[Proto-Scripty] Re: Check element class against array

2009-05-13 Thread rai.ashis
Hi,

i think you can you can use include which will return either true or false
depending upon.

I think this one works.

Thanks

On Thu, May 14, 2009 at 12:19 AM, louis w louiswa...@gmail.com wrote:


 I have an array containing a number of strings. I would like to
 continue exucuting my script only if an item has ANY/ALL of the
 strings assigned as a class name.

 $A(['foo', 'bar', 'foob']);

 Is there an elegant want to do this without having to loop through the
 items?
 



-- 
Ashis Rai
Sundhara, Kathmandu, Nepal
P.O Box No: 12434

--~--~-~--~~~---~--~~
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-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---



[Proto-Scripty] Re: Draggable with Sortable

2009-04-05 Thread rai.ashis
Yeah the containment can be use to do so but as you have told the whole
element is replaced and i don't want to do that.

I just want to make draggable element that can be droppable on sortable list
where ever i wish to drop it in any position of the list index.

If you have any idea that will be helpful to me.

Thanks

On Fri, Apr 3, 2009 at 6:36 PM, Walter Lee Davis wa...@wdstudio.com wrote:


 If you make two Sortable lists, and set their containment to contain
 each other:

 containment: ['list_a','list_b']

 Then you may drag from one into the other, and the drop will happen
 where you like within the list. This removes the item from list_a and
 puts it into list_b, note. There are ways you can simulate a never-
 ending-supply of list_a elements with ghosting and onDrop functions,
 but it's a whole lot of work.

 Walter

 On Apr 3, 2009, at 7:09 AM, lun.ashis wrote:

 
  Scriptaculous is pretty good scripts to use. I have come across with
  one problem on draggable and sortable. I am trying to add draggable
  element on sortable list. While adding the draggable item it
  automatically appends to the end of the sortable list but I don't want
  to do that. I want to add the draggable elements anywhere i like to on
  Sortable list.
  I have tried to do so but couldn't . Let me know if you have come
  across this problem.
 
 
  Thanks in advance.
 
  


 



-- 
Ashis Rai
Sundhara, Kathmandu, Nepal
P.O Box No: 12434

--~--~-~--~~~---~--~~
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-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---