jege Posted August 28, 2011 Share Posted August 28, 2011 Hi! Im sorry if i post this in wrong section. but anyways I want to make an box which expands when I click an button, i got no idea how i could do this. I got 2 screenshots so you got an idea what i mean and: so basicly it just expands alot an displays the data inside. This aint only css i think Link to comment https://forums.phpfreaks.com/topic/245865-strange-css-question/ Share on other sites More sharing options...
Frank P Posted August 28, 2011 Share Posted August 28, 2011 Hi, Its is a perfectly normal question, but where did you see it? Must have been on a website, but why didn't you look in the source code of that page? If you don't know how to do that or how to read source code, it will be impossible for your to implement any code that we would give you here. Because it indeed is a combination of javascript and css, called dynamic html (DHTML). Link to comment https://forums.phpfreaks.com/topic/245865-strange-css-question/#findComment-1262815 Share on other sites More sharing options...
JasonLewis Posted August 28, 2011 Share Posted August 28, 2011 You're correct, it requires a combination of JavaScript and CSS. These days people tend to lean towards using a JavaScript library, such as jQuery. This allows for easy animating of elements and more. Link to comment https://forums.phpfreaks.com/topic/245865-strange-css-question/#findComment-1262819 Share on other sites More sharing options...
Frank P Posted August 29, 2011 Share Posted August 29, 2011 These days people tend to lean towards using a JavaScript library, such as jQuery. They indeed do, but jQuery would be a humongous overkill here. Link to comment https://forums.phpfreaks.com/topic/245865-strange-css-question/#findComment-1263014 Share on other sites More sharing options...
JasonLewis Posted August 29, 2011 Share Posted August 29, 2011 These days people tend to lean towards using a JavaScript library, such as jQuery. They indeed do, but jQuery would be a humongous overkill here. Of course. Unless there will be more JS usage across the website. Link to comment https://forums.phpfreaks.com/topic/245865-strange-css-question/#findComment-1263187 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.