oneofayykind Posted November 10, 2008 Share Posted November 10, 2008 I have a php calendar on my site. I would like to customize the calendar and add a bg image behind it which I know how to do...but what I would like to do is rotate the calendar so it doesnt look so "flat". My site is http://www.theallentree.com and the bg image i'm talking about adding to the calendar is something like http://www.theallentree.com/images/calendarbg.jpg. That isnt the exact image but something to that affect and as you can see the bg image is not straight so I would like to be able to take the actually calendar itself and rotate it to look like it is part of that bg image. Anyone have any ideas on how I could go about doing this? Quote Link to comment Share on other sites More sharing options...
SuperBlue Posted November 10, 2008 Share Posted November 10, 2008 That can't be done through CSS alone, you may want to look into flash to create a effect like that. Quote Link to comment Share on other sites More sharing options...
oneofayykind Posted November 10, 2008 Author Share Posted November 10, 2008 So I could code the php into a flash swf and the load the movie onto the page? Quote Link to comment Share on other sites More sharing options...
oneofayykind Posted November 10, 2008 Author Share Posted November 10, 2008 There has to be a solution besides flash...I dont like flash movies on my sites! Quote Link to comment Share on other sites More sharing options...
Mchl Posted November 10, 2008 Share Posted November 10, 2008 Well... Nothing in HTML or CSS specification allows that... Or at least I don't know of such mechanism. Besides Flash you might want to create dynamic images with underlying image map for links. Quote Link to comment Share on other sites More sharing options...
SuperBlue Posted November 10, 2008 Share Posted November 10, 2008 There is nothing wrong with using flash, most users have flash installed these days, one reason why flash is fine for banners and animation, even (UIs in some cases) is that larger video sites are all using flash, which again has made even more users install a flash player on their system. But i agree that its not the best solution, at least not to display a calender. The alternative would be to position each letter a few pixels up, so it looks like the text is rotated in about 25.00 degrees angle, however that wouldn't rotate the letters them self. And i don't think you can do this with JavaScript either. You may also want to consider that the effect you would like is, and i would even say to far away from standard UI behaviour, so it would end up confusing your users. Also using images instead of text is really a bad idea, atleast when it comes to creating navigation menus. Its still an option, but i would simply consider it impractical. If you chose to do so anyway, you can then generate the calender using GD library or similar. Quote Link to comment Share on other sites More sharing options...
BoltZ Posted November 16, 2008 Share Posted November 16, 2008 Javascript or maybe DHTML may work here. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.