#1 (permalink)  
Old 12-19-2005, 02:52 PM
Registered User
 
Join Date: Dec 2005
Posts: 1
HTML question

if i have a div box is there a way to make a button and when you press it it changes the div box's height?

  #2 (permalink)  
Old 12-25-2005, 07:44 AM
tthurgo's Avatar
Moderator
 
Join Date: Jan 2002
Location: Lebanon, PA
Posts: 357
Quote:
Originally Posted by Error
if i have a div box is there a way to make a button and when you press it it changes the div box's height?
Yes, there is. ;-)

I'm pretty sure you can do something like document.getElementById(foo).style.height = 500px;
__________________
Tom Thurgo
my future is coming on
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
html web page with power point slide or flash zillah Graphics and Flash 6 08-24-2006 03:16 AM
HTML Image question GreenKoopaKid Programming and Scripting 2 12-16-2005 06:43 PM
NEWBIE to html ammy Programming and Scripting 17 12-15-2005 05:31 PM
Position of HTML controls pwl Programming and Scripting 1 05-12-2005 03:38 AM
HTML Validation/WYSIWYG Editors PixelRat Programming and Scripting 3 02-13-2005 01:38 AM


All times are GMT -5. The time now is 04:48 PM.

 
Clicky Web Analytics
CloudContacts
Loop11
Page.ly


Subscribe to our feed | add to myYahoo!

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.1 PL1
© 1997-2009 HTMLCenter