don't really see a reason for using anything besides javascript for something like this... especially consider how fast browsers are now and how flexible jquery is.
oh, I see what you mean. the first example you gave acts sorta like throwing new cards on a deck. I think I like the coda effect better if I had to pick one of the two.
jquery has a built in way of doing this and its one of several blocks on our todo list. not sure when its gonna get done, but yes - seems like a great idea.
I'm experimenting with making this coda block... I download the jquery plugin for it and I have all the javascript in the folder and the auto.js(I don't know what that is) and the add.php (I'm assuming i need that) and a db.xml and a edit.php and a view.php
wish me luck everyone if I have a problem can I contact someone for help?
well, the coda might be a bit difficult one to attempt as your first block, so good luck. auto.js is automatically included with the popup/dialog box when the block is being added or edited (I'd personally rather this was just one file so as to prevent code duplication, but you can have them both include the same form if you'd like, as is done on the form block). You need both an add.php and an edit.php for adding and editing the block. The view.php is the display of the block, once it's inserted into a page.
The error message you're getting is because it can't find the controller class for that block. In your controller.php file, the main class there should be class SliderBlockController{}, provided that it's in a folder called slider_block.
It will only create a database table for it during the block's installation if there is a db.xml file there. look at the other db.xml files as example of how this works.
I would like to include slider in one of my pages, like on this site: (http://promark.com/)with five slides with picture on the left side and text on right side including option for making link from this text.
Is something like this available somewhere? I am not so much in to programming that's why I am asking for a little help here.
Tnx.
Code
Post Reply
Delete Post
You are allowed to delete your post for 5 minutes after it's posted.