Jonathon Davis a écrit : > I have another problem now, though. Yeah: you throw HTML and CSS to the wind.
Your UI structure does not lend itself too well to AJAX (and your layout clearly has issues), but that's not the issue here. The core of your issue is that your loginwrapper div takes the whole viewport: it acts as a "glasspane" over the remainder of the UI (your pagewrapper div), intercepting hovers, clicks, and the like. Firebug inspection show so right away. Second, the HTML you get back and put in the DIV is weird: <title>, <link>... This is all <head> stuff, it shouldn't quite be in a <div>. You can fix the fundamental issue by better styling your stuff: there should be no loginwrapper div: use a "modal" dialog box like the Prototype Window Class lib to achieve the same effect while retainining a single wrapper behind (you may even not need the wrapper at all, then, and use the body directly). Aside from this, you should reconsider your content architecture (division, layout, tags in there) to fix semantic issues (and make it strict, so you don't have to tinker with QuirksMode in most browsers). When you have time, also make your JS unobstrusive, that would be nice. -- Christophe Porteneuve a.k.a. TDD "[They] did not know it was impossible, so they did it." --Mark Twain Email: [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] 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 -~----------~----~----~----~------~----~------~--~---
