Control.Tabs is not a constructor

Hi There

I strongly try to get Control.Tabs working. I used Prototype 1.6.0 and read in this forum, that this is not supported. So I changed to Prototype 1.5.0.

My code is kept really simple:




new Control.Tabs('tabs');

The code does not run and firebug says to me:

Control.Tabs is not a constructor

I hope you can help me!

Thanks a lot Remo

Posted February 13th, 2008 at 4:34am by remo

I know the answer is probably going to make me feel stupid, but I'm having the same problem, I have minimal experience with prototype and control.tabs though. Firebug also tells me:

Class is not defined Control.Tabs = Class.create();

I'm using prototype 1.5.1 and control.tabs 2.1.1

Thanks

Posted February 25th, 2008 at 11:51am by johallar

Yeah I figured it out, You need to include the prototype script before the control.tabs or control.whatever script.

ie.

Posted February 25th, 2008 at 12:36pm by johallar

I mean i.e.


Posted February 25th, 2008 at 12:37pm by johallar

ok take 3.


Posted February 25th, 2008 at 12:37pm by johallar

nevermind

Posted February 25th, 2008 at 12:37pm by johallar

Login or Register to Post