Jump to content
  • 0

Динамические web-страницы


PavluxaF
 Share

Question

Доброго времени суток!

Подскажите пожалуйста как в ниже приведенном примере выводить слой (ограниченный тегами <div id="apDiv1"></div>) не в статически заданном месте как в данном примере, а всегда после кнопки <input type="submit" name="buttonE" id="buttonE" value="CC" />. Количество строк изменяется динамически поэтому статическое положение не устаивает.

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<title>Тест</title>
<style type="text/css">
<!--
.C { text-align: center;}
#apDiv1 {position:absolute;left:5px;top:660px;width:1000px;height:80px;z-index:1;}
-->
</style>
</head>
<body class="C">
<p> <label> <input type="image" name="imageField" id="imageField" src="Тест_files/60000000.png" /></label></p>
<p> </p>
<font size="+2">
<p><strong>Вопрос множественного выбора</strong></p>
</font>
<p> </p>
<form id="form1" name="form1" method="post" action="http://10.0.0.2/cgi-bin/TestServer3.exe">
<p> <label> <input type="checkbox" name="radio1" id="radio" value="1" />Вариант №9 </label> </p>
<p> <label> <input type="checkbox" name="radio2" id="radio" value="2" />Вариант №6 </label> </p>
<p> <label> <input type="checkbox" name="radio3" id="radio" value="3" />Вариант №1 </label> </p>
<p> <label> <input type="checkbox" name="radio4" id="radio" value="4" />Вариант №10 </label> </p>
<p> <label> <input type="checkbox" name="radio5" id="radio" value="5" />Вариант №2 </label> </p>
<p> <label> <input type="checkbox" name="radio6" id="radio" value="6" />Вариант №8 </label> </p>
<p> <label> <input type="checkbox" name="radio7" id="radio" value="7" />Вариант №11 </label> </p>
<p> <label> <input type="checkbox" name="radio8" id="radio" value="8" />Вариант №12 </label> </p>
<p> <label> <input type="checkbox" name="radio9" id="radio" value="9" />Вариант №3 </label> </p>
<p> <label> <input type="checkbox" name="radio10" id="radio" value="10" />Вариант №7 </label> </p>
<p> <label> <input type="checkbox" name="radio11" id="radio" value="11" />Вариант №5 </label> </p>
<p> <label> <input type="checkbox" name="radio12" id="radio" value="12" />Вариант №4 </label> </p>
<p> <label> <input type="submit" name="buttonE" id="buttonE" value="CC" /> </label> </p>
</form>
<p> </p>
<div id="apDiv1">
<form id="form2" name="form2" method="post" action="http://10.0.0.2/cgi-bin/TestServer3.exe">
<p>Перейти к вопросу №</p>
<label> <input type="submit" name="button" id="button" value="1" /> </label>
<label> <input type="submit" name="button" id="button" value="2" /> </label>
<label> <input type="submit" name="button" id="button" value="3" /> </label>
<label> <input type="submit" name="button" id="button" value="4" /> </label>
<p> <label>
<input type="submit" name="EndButton" id="EndButton" value="DD" /> </label></p>
</form>
</div>
</body>
</html>

Edited by PavluxaF
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy