Preserved Topic: resizing iFrames? |
|
---|---|
Author | Thread |
Nervous Wreck (II) Inmate From: sj, ca, usa |
posted 07-31-2002 20:29
ok, i'm trying to resize an iframe. originally it's 200px wide, and i want to click on a button and have the onclick do a resizeIframe() function. problem is, it doesn't seem to do anything when you say: |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 07-31-2002 20:43
If the frame has an id attribute (id="myid") you can do it like this: |
Nervous Wreck (II) Inmate From: sj, ca, usa |
posted 07-31-2002 20:57
thanks Slime! that worked like a charm. i was banging my head all morning on that one. |
Maniac (V) Inmate From: there...no..there..... |
posted 07-31-2002 21:50
hehe, that's funny. I was just getting ready to post that same thing and I got called into a meeting. Got back and Slime already did it. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 08-01-2002 03:50
See, when I realized you might finish first, I quickly called up your boss and said "quick, get this guy into a meeting"... |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
posted 08-01-2002 14:57
yeah, damnit... can't have people stealing your thunder... |
Maniac (V) Inmate From: there...no..there..... |
posted 08-01-2002 16:19
steal my thunder. . . ??? I don't care really. Just glad that the problem was solved. I just thought I'd share what happened. That's all. No big deal. Found it funny. Know what I mean ?? |