Technology, Web & Business Forum

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.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-31-2009
Junior Member
 
Join Date: Aug 2009
Posts: 2
Default Expanding div's upon user interaction

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.
Reply With Quote
  #2 (permalink)  
Old 09-07-2009
Junior Member
 
Join Date: Sep 2009
Posts: 3
Default hai

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
Reply With Quote
  #3 (permalink)  
Old 06-17-2010
Senior Member
 
Join Date: Mar 2010
Posts: 186
Default playing gin rummy

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
________________________
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 10:19 AM.