Dr.Canibal

Рейтинг
17
Регистрация
08.09.2007
Должность
Web-developer

всем скинул ссылку

Киньте, плз, УРЛ в личку

если ещё актуально - напишите в личку

готов забрать за 50у.е.

tsugaru, киньте, плз, урл в личку

в таком случае нужно делать несколько наборов правил

можно попробовать так


RewriteEngine On
RewriteRule ^distr/([^/]*)\.html$ /index.php?distr=$1 [L]
RewriteRule ^distr/([^/]*)/var2/([^/]*)\.html$ /index.php?distr=$1&var2=$2 [L]

попробуйте так


RewriteEngine On
RewriteRule ^distr/([^/]*)\.html$ /index.php?distr=$1 [L]

mixas01, попробуй вот такой вариант


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<TITLE></TITLE>
<style type="text/css">
*{
margin: 0;
padding: 0;
}
html, body {
height:100%
}
body {
position:relative;
}
#wrap{
height: 100%;
width: 100%;
background-color: #000000;
}
#header{
top: 0px;
left: 0px;
width: 100%;
height: 100px;
background-color:#0028af;
color: #ffffff;
}
#main{
position: absolute;
text-align: center;
width: 100%;
height: expression((document.body.clientHeight - 130) + "px");
background-color: #00afaf;
top: 100px;
bottom: 30px;
}

#content1{
width: expression((document.body.clientWidth-20) + "px");
height: 15%;
background-color: #FF5400;
margin-left: 10px;
margin-right: 10px;
position: relative;
}

#content2{
float: left;
width: expression((document.body.clientWidth-400)+"px");
height: 85%;
margin-left: 10px;
background-color: #FF5400;
position: absolute;
top: 15%;
left: 0px;
right: 400px;
bottom: 30px;
}
#content3{
width: 400px;
height: 85%;
float: right;
margin-right: 10px;
background-color: #FDB900;
position: relative;
}

#footer{
width: 100%;
height: 30px;
background-color:#0008af;
left:0pt;
right:0pt;
bottom: 0pt;
position: absolute;
color: #ffffff;
}

</style>
</HEAD>
<BODY>
<div id="wrap">
<div id="header">&nbsp;&nbsp;Шапка 100% х 100рх</div>
<div id="main">
<div id="content1">&nbsp;content1<br /> высота: 15% внутреннего пространства. т.е. 100% - 100рх (шапка) - 30рх (футер)<br />ширина 100% внутреннего пространства. т.е. 100% - 10рх (левая рамка) - 10рх (правая рамка)</div>
<div id="content2">&nbsp;content2<br /> высота: 85% внутреннего пространства. <br />ширина: 100% внутреннего пространства. - 400рх (content3)</div>
<div id="content3">&nbsp;content3<br /> высота: 85% внутреннего пространства. <br />ширина: 400рх </div>
</div>
<div id="footer">&nbsp;&nbsp;футер 100% х 30рх</div>
</div>
</BODY>
</HTML>

немного грубовато, но проверил под IE 7, Safari 3.1.1, Opera 9.27, Firefox 2.0.0.14... работает :)

вот вариант решения задачи с использованием библиотеки jquery

<form>

<table width="300" border="1" cellspacing="0" cellpadding="2" align="center">
<tr>
<td><input type="checkbox" name="checkbox" id="1" class="check" value="checkbox"></td>
<td>
<input name="textfield[]" type="text" id="text1" value="Тру ля ля"> </td>
</tr>
<tr>
<td><input type="checkbox" name="checkbox[]" id="2" class="check" value="checkbox"></td>
<td><input name="textfield[]" type="text" id="text2" value="Дин дин дон"></td>
</tr>
<tr>
<td><input type="checkbox" name="checkbox[]" id="3" class="check" value="checkbox"></td>
<td><input name="textfield[]" type="text" id="text3" value="Аз БукиВеди"></td>
</tr>
<tr>
<td colspan="2"><label>
<textarea name="textarea" id="textarea" cols="40" rows="10"></textarea>
</label></td>
</tr>
</table>
</form>
<script type="text/javascript" src="/jquery-1.2.3.pack.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$(".check").change(function(){
if( ($(this).attr('checked')==true) || (($(this).attr('checked')=='checked'))){
var id = $(this).attr('id');
var text = $("#text"+id).attr('value');
$("#textarea").val($("#textarea").val()+text);
}
else{
//здесь можно попробовать удалять текст при выключении чекбокса
}
});
});
</script>

для полей формы добавил атрибуты id и class дабы было удобнее работать с селекторами

Насчёт картинок - точно не знаю, а вот текст можно вытягивать...

Для начала стоит посмотреть сюда http://php.net/manual/en/ref.pdf.php

там в комментах можно много интересного найти

а дальше нада гуглить на эту тему... ;)

самому интересно, но времени не хватает

123 4
Всего: 40