You are here: Technology, Web & Business Forum
: Web Development
: Design
:
Expanding div's upon user interaction
|
Welcome to the Technology, Web & Business Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| Design Talk about web design techniques and ideas in CSS, HTML, etc.
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
|||
I've figured out how to embed YouTube videos into a vBulletin installation of mine. How would I go about making a vertically expanding table that expand when the user would click on the "YouTube" text? I'm thinking of starting out out as a size maybe 100px high and 400px wide, and expand to 375px high and 450px tall. I've checked Google, but nothing seemed to come up that I could use.
|
|
|||
|
|||
I'm no JavaScript coder but I believe you'd be able to use it to do this. It would require you to keep the height and width properties in the HTML code however, and I've only once done this with a DIV so I don't know if it'll work for a table.
I used document.getElementById() to call the ID of the div, and then you're probably looking for div.style.height and div.style.width just to give you an idea of its syntax. You'd need to turn the youtube text into a button of some sort, and use an onclick= to call the JavaScript function. I know this isn't very detailed but I hope it'll help point you into the right direction.
__________________
new door |
|
|||
|
|||
Hello, If you know that you're not that skilled yet in playing gin rummy then consider playing without bets first. Otherwise, you won't have any dime with you at the end of your playing session. See, playing gin rummy can be addictive in the sense that you'll never notice the time passing and you're money losing because the game can be highly entertaining and engrossing. So if you know that you don't have the expertise so far or even be highly competitive in playing the game then content yourself in playing for free online or with a friend that can teach you the fundamentals, tricks and strategies of gin rummy. And if you are having a problem about gin rummy tricks and How to recording top scores, Gamecolony can help you find what you need. Thanks ________________________ |



Linear Mode
