How can i create a sliding/slideout block for my contact module
Hi everyone. I am in the concluding stage of building a theme and I am in a dilemma of how to implement the contact form that appears on the right side on every node on my website just like the feedback form on the build a module website, the difference now is that instead of it popping out it slides out instead.
here is my first approach, to use the existing forward and contact module and turn it into a block module. I have successfully turned the module into a block but i don't know how i am gonna turn it into a sliding block. the trickiest part is that my site has different colour codes for each menu you are on at a point in time and I will also need the block to inherit the colour code of the node it appears on. The other option i am considering is to add the form as pure HTML to my drupal template and then write a PHP script to execute the form validation. This approach seems easier but then i dont think it is right coding practice. I have not done this yet but I will like to exhaust all option there is in using the Drupal module before resulting to the second option.
I will really appreciate any help at all. thanks in advance :)
I forgot to mention that I am building a drupal 7 theme.