Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-11-07 23:08:32

Anton
Plugin Author
From: Alingsås, Sweden
Registered: 2004-11-16
Posts: 138
Website

'behaviour' tab

I was thinking about the ‘content’ <-> ‘presentation’ separation in Textpattern and came to think of the last, lacking one: ‘behaviour’. Wouldn’t it be nice to have a separate tab for javscript-editing, pretty much like the css (raw) editor but with some prebuilt stuff there, like hooks to the awesome behaviour library or similar. Maybe Prototype/Script.aculo.us stuff too.

What do you all think of this?

/Anton

Offline

#2 2005-11-07 23:54:10

hakjoon
Moderator
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,633
Website

Re: 'behaviour' tab

I’ve been thinking about this too. I’ve also been thinking it would be useful to have methods for plug-in authors to register onload events etc without everyone having to come up with their method. I thought including Prototype would be a nice start.

And behaviour is really cool although I thik getElementBySelector is worth the price of admission all on it’s own. I definitely think something like this could probably be prototyped as a plugin first.


Shoving is the answer – pusher robot

Offline

Board footer

Powered by FluxBB