Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Behaviours or Scripts Tab...
I know we all want to keep the interface simple. But a lot of web developers refer not only to seperating content from presentation but also from behaviours.
Wouldn’t it be nice to have a Behaviours tab that functioned like the style tab, where you could internally manage javascripts?
I’d like that, how about you? =P
Offline
Re: Behaviours or Scripts Tab...
I agree with mrdale. JS behaviours are a dire necessity for a web admin. Having something like that would eases up things and also help us carry js files along with the database. I have infact made a plugin-request <a href=“http://forum.textpattern.com/viewtopic.php?pid=87659#p87659”>over here</a>.
“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”
— Albert Einstein
Offline
Re: Behaviours or Scripts Tab...
I agree that a “Behavior” tab would be great, so that each layer has a tab:
Page (content)
Style (CSS)
Behavior (javascript)
This would help people to use scripts that are unobtrusive, rather than inline.
Offline
#4 2006-10-09 23:28:08
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: Behaviours or Scripts Tab...
under Presentation, I’d be happy with a ‘Javascript’ tab – that works like ‘Style’
a few small .js files are the only things I have to manage outside the Txp interface …
(granted many people work differently, or are dealing with complex scripts)
Offline
Re: Behaviours or Scripts Tab...
Crosspost stm_javascript now gives you a javascript tab in the presentations area. seems to work nicely.
You need to edit line #16; remove the double quotes after
</script>
to make it work properly.
Offline
Re: Behaviours or Scripts Tab...
You need to edit line #16; remove the double quotes after </script> to make it work properly.
stm_javascript was updated
Offline