[Proto-Scripty] Re: Screwy CSS confusing Prototype

2009-05-27 Thread craig

I suppose I should be more specific.  My question is whether there are
certain HTML tags that could cause this to not work.  I realize that
there's nothing in the slide div, in the actual code there is, I just
didn't paste it here.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---



[Proto-Scripty] Re: Screwy CSS confusing Prototype

2009-05-27 Thread bernard
all i see is missing td/td... in my experience that can jack things up 
rather quickly, depending on browser and other factors...
  - Original Message - 
  From: craig 
  To: Prototype  script.aculo.us 
  Sent: Wednesday, May 27, 2009 11:08 AM
  Subject: [Proto-Scripty] Screwy CSS confusing Prototype



  I've got:

  tr
  div onclick=Effect.toggle('blinddown_demo', 'slide'); return
  false;
  td id=teamTeam 1/td
  td class=players{need a team}/td
  /div
  div id=blinddown_demo style=display:none; width:200px; height:
  150px; background:#ccc;/div
  /tr

  The problem is that this works if I put it in a simple HTML file, but
  if I try to paste this exact thing in my site code it doesn't work.
  I've put the headers for prototype and javascript, so I'm assuming
  there's some screwy CSS or HTML reason for this not working.  Does
  anyone have any ideas?
  

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---



[Proto-Scripty] Re: Screwy CSS confusing Prototype

2009-05-27 Thread craig

OK, nevermind I've got it.  As you were saying, and as I didn't know,
everything in tr needs to be inside a td.

Thanks for your help!
Craig
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---