Admin Panel with jQuery duplicate form elements
I was just curious, I’m working on creating a framework to use for a couple of my sites. And for that I was thinking of creating a admin panel interface, giving the user an easier way to add a featured slider in the header.
I know there are plenty of plugins already made with featured slider, but I prefer everything to be as lean and in my full control as possible, plugins often add messy code.
So my idea is to have a panel giving the users the option to dynamically add a slide. With a + and – button giving them the possibility to copy a group of form elements which make up the slides content, let’s say URL, headline and subtitle.
Creating a basic panel isnt a big problem. But since every field has to be in an array before give up the mark-up, i have no idea how to do something like this.
Maybe I’m looking from the wrong direction, and maybe this is more like a custom plugin. But if anyone could help me in some direction, it would be much appreciated.
If anyone knows a good or similar plugin otherwise, with clean code and using the jquery.cycle plugin that would be evenly appreciated.
- The topic ‘Admin Panel with jQuery duplicate form elements’ is closed to new replies.