Помощник
|
Изменение высоты <iframe> |
ElektrinO
|
Сообщение
#1
|
||
|
|
||
|
|||
Exterior |
2.8.2008, 18:12;
Ответить: Exterior
Сообщение
#2
|
|
ElektrinO,
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>test</title> <script type="text/javascript"> <!-- function chHeight(frame) { var iframe = document.getElementById(frame); iframe.style.height!='200px'?iframe.style.height='200px':iframe.style.height='400px'; } //--> </script> </head> <body> <iframe src="frame_page.html" id="frame_1" style="width:400px; height:200px; float:left; margin-right:10px;"></iframe> <input type="button" value="change height iframe" onclick="chHeight('frame_1');" /> </body> </html> |
|
|
ElektrinO
|
Сообщение
#3
|
|
Вооо!!! СПС те Exterior большое !!! я тож думал что надо через (style)!!! а так СПС!
|
|
|
Monster_hb |
6.11.2008, 20:47;
Ответить: Monster_hb
Сообщение
#4
|
|
|
только в осле работает >_>
|
|
|
||
|
Похожие темы
Тема | Ответов | Автор | Просмотров | Последний ответ | |
---|---|---|---|---|---|
Продажа iframe Трафика | 1 | Chapa | 3396 | 20.5.2019, 14:48 автор: -Android Traffic- |
|
Изменение дизайна шаблона Joomla | 0 | neesupermario | 1790 | 3.1.2018, 15:20 автор: neesupermario |
|
Изменение шрифта в placeholder | 6 | Alexej_mw | 2431 | 24.8.2017, 12:10 автор: Alexej_mw |
|
Как вывести информацию из БД в <iframe>? | 1 | Yumakaev | 3651 | 13.1.2017, 15:27 автор: -vasian7474- |
|
Изменение цвета в шаблоне | 18 | shulz | 3124 | 5.12.2016, 17:11 автор: shulz |
Текстовая версия | Сейчас: 29.3.2024, 5:13 |