Ctrl + P (Печать...)
Mosart, style="display:none;" уберите. /ru/forum/comment/7576135
js
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script> <script type="text/javascript"> $(function(){ $("div.ololo:not(#id1)").hide(); $("a.ololo").click(function() { $("div.ololo").hide(); $("div#" + $(this).attr("href")).show(); return false; }); }); </script>
про дублирование ничего не понял :)
Mosart, я немного js подправил и html (убрал style="display:none;", на случай, если будет отключен js в браузере).
попробуйте это
html
$content = 'Lorem ipsum dolor sit amet, {consectetur adipisicing elit}, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. {Ut enim ad minim veniam}, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit {in voluptate velit esse} cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.'; $result = preg_match_all("/{(.*)}/U", $content, $matches); print_r($matches[0]);
js:
index.html
o-nas.html
html:
le_chat, да ладно.
огласи ему сумму, чтобы себя не обидеть. если заказчик готов платить - почему бы и не сделать.