I realize that this isn''t exactly a Rails question, but I _am_ planning to use the information for a Rails app :-). I''m interested in stacking GIFs w/transparent backgrounds, then using JavaScript to hide/show certain images. This will (it says here :-) let the user cause different parts of a diagram to appear and disappear. Problem is, I haven''t found a way to stack images so that this works. I''m using an opaque white image as the bottom image, then layering others (with transparent backgrounds) on top. If I set the opacity to (say) 0.5, I see all of the diagrams, with different amounts of haziness. Help? -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm-go8te9J4rpw@public.gmane.org http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Never mind. Somehow, I didn''t have transparent backgrounds. -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm-go8te9J4rpw@public.gmane.org http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
In case anyone is interested, I hacked up some JavaScript to do dynamic composition of (Graphviz) diagrams: Diagram Composition http://www.cfcl.com/rdm/diagrams/dc.html Dynamic Diagram Composition http://www.cfcl.com/rdm/diagrams/ddc.html -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm-go8te9J4rpw@public.gmane.org http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I''m facing the same problem as you. I need to stack different images on each other dynamically when a user selects something from a list. How did you do it? Did you use css? On 26 feb, 11:49, Rich Morin <r...-go8te9J4rpw@public.gmane.org> wrote:> In case anyone is interested, I hacked up some JavaScript > to do dynamic composition of (Graphviz) diagrams: > > Diagram Composition > http://www.cfcl.com/rdm/diagrams/dc.html > > Dynamic Diagram Composition > http://www.cfcl.com/rdm/diagrams/ddc.html > > -r > --http://www.cfcl.com/rdm Rich Morinhttp://www.cfcl.com/rdm/resume r...-go8te9J4rpwR57kWC/PLzw@public.gmane.org://www.cfcl.com/rdm/weblog +1 650-873-7841 > > Technical editing and writing, programming, and web development--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
try this: http://pastebin.ca/372959 On 2/26/07, Joram <joram.barrez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I''m facing the same problem as you. > I need to stack different images on each other dynamically when a user > selects something from a list. > > How did you do it? Did you use css? > > > On 26 feb, 11:49, Rich Morin <r...-go8te9J4rpw@public.gmane.org> wrote: > > In case anyone is interested, I hacked up some JavaScript > > to do dynamic composition of (Graphviz) diagrams: > > > > Diagram Composition > > http://www.cfcl.com/rdm/diagrams/dc.html > > > > Dynamic Diagram Composition > > http://www.cfcl.com/rdm/diagrams/ddc.html > > > > -r > > --http://www.cfcl.com/rdm Rich Morinhttp://www.cfcl.com/rdm/resume r...-go8te9J4rpwR57kWC/PLzw@public.gmane.org://www.cfcl.com/rdm/weblog +1 650-873-7841 > > > > Technical editing and writing, programming, and web development > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
At 2:58 AM -0800 2/26/07, Joram wrote:> I''m facing the same problem as you. I need to stack > different images on each other dynamically when a user > selects something from a list. > > How did you do it? Did you use css?CSS, HTML, and JavaScript - do a "View Source"> On 26 feb, 11:49, Rich Morin <r...-go8te9J4rpw@public.gmane.org> wrote: >> In case anyone is interested, I hacked up some JavaScript >> to do dynamic composition of (Graphviz) diagrams: >> >> Diagram Composition >> http://www.cfcl.com/rdm/diagrams/dc.html >> >> Dynamic Diagram Composition >> http://www.cfcl.com/rdm/diagrams/ddc.html-r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume rdm-go8te9J4rpw@public.gmane.org http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---