In fact, it has been done here 
http://github.com/madrobby/scriptaculous/wikis/puzzle-demo

i checked the source code and included javascript file is builder.js
where we get different files in source folder. Anyway, I copied the
html of images to a page on my server and included effect.js,drag.js
and scriptiolus.js files and it worked on my server i,e the puzzle
game worked on my server as it is working in the demo.

Now the problem is that I have flash charts, i can display them in
DIVs and not as images. I did this to change the function call of demo
game,

<script type="text/javascript">
(function(){
  var p = $('flashcharts');

  Sortable.create('flashcharts', {
    tag:'div',overlap:'horizontal',constraint: false
  });
})();
</script>


but it didn't work for me. I cannot drag divs which have flash charts
in each of them.

Has anybody got any idea how to deal with this?



On Jul 1, 1:23 am, Matt Foster <[EMAIL PROTECTED]> wrote:
> Hmm, Sortable could get 90% of this done, drawing the pseudo box would
> be the only special change, and I know its been done, can't remember
> now who...
>
> http://github.com/madrobby/scriptaculous/wikis/sortable
>
> --
> Matt Foster
> Ajax Engineer
> Nth Penguin, LLChttp://www.nthpenguin.com
>
> On Jun 30, 12:26 pm, Walter Lee Davis <[EMAIL PROTECTED]> wrote:
>
> > Isn't there a portal toolkit over at Scripteka? I could swear I have
> > seen this, ready to use and everything.
>
> > Walter
>
> > On Jun 30, 2008, at 9:19 AM, Diodeus wrote:
>
> > > It is possible, but there's no "out of the box" solution.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to