Hi
Would I perhaps be able to add this dynamic script to my blog's index page without braking it completely, or even half-way. Or would anyone perhaps guide me through the step or point me in the right direction if I would like to attempt to create a plugin that utilizes this script.
http://www.dynamicdrive.com/dynamicinde ... npanel.htm
Adding a New Script that is not in Plugin Repo
Re: Adding a New Script that is not in Plugin Repo
I don't see the need to turn this into a plugin. Basically, you just have to add all the necessary files to your template folder -- the .js, the .css and the images --, reference the .js/.css in your index.tpl's head and use the appropriate (X)HTML markup as shown on the script's page.MadFly wrote:Would I perhaps be able to add this dynamic script to my blog's index page without braking it completely, or even half-way. Or would anyone perhaps guide me through the step or point me in the right direction if I would like to attempt to create a plugin that utilizes this script.
You can check Bulletproof's index.tpl for examples on how to include extra stylesheets and javascript. If you want to put the images in your template's img/ directory (definitely safer/cleaner), you'll probably have to adapt the img paths in the .css file. You'll also have to add another piece of Javascript to your index.tpl to actually set up and toggle the script's effect.
YL
Re: Adding a New Script that is not in Plugin Repo
Cool. Thanks
I will try that some time. Don't really know what to put in the panel, but it looks nice
so I was hoping that once I got it implemented, I would eventually find something to put into it.
I will try that some time. Don't really know what to put in the panel, but it looks nice
so I was hoping that once I got it implemented, I would eventually find something to put into it.