| Вопросы "чайника"АВТОР | СООБЩЕНИЕ |
---|
Имя: Рабадан Сейчас нет на сайте Репутация: 0 Регистрация: 18.10.2010 Всего сообщений: 75 Откуда: Махачкала |
| ооо теперь до меня наконец дошло почему то, все это время я думал, что опустят весь сайт | |
| | Имя: Имран Сейчас нет на сайте Репутация: 0 Регистрация: 8.08.2008 Всего сообщений: 497 Откуда: Зимбабве |
| Люди добрые, нужна помощь, думаю среди вас найдутся знающие, может быть вопрос не по теме, мне надо решить две задачи в Qbasic, вы моя надежда.. Задание 1. Составьте программу на языке программирования Qbasic: заданы два числа a и b. Переменной k присвоить значение 20, если a<b, и -10, если a> (или равна) b. Исходные данные: 1)a=1, b=-4; 2) a=6, b=6.
Задание 2. Составьте программу на языке программирования Бейсик. В программе предусмотреть ввод и печать исходных данных, и печать полученного результата. Используйте циклы для ввода, вывода и обработки массивов: составить программу на языке программирования Бейсик: 1) Найти и вывести сумму S элементов массива {b1; b2;...bn}; 2) составить и вывести массив из элементов bi/2S. Исходные данные: b1=10, b2=2, b3=11, b4=-2, b5=-7. | |
| | Репутация: 126 Регистрация: 25.04.2006 Всего сообщений: 10175 Откуда: Уфа РБ |
| IMR@N, извини, но с Qbasic я не знаком | |
| | Имя: Имран Сейчас нет на сайте Репутация: 0 Регистрация: 8.08.2008 Всего сообщений: 497 Откуда: Зимбабве |
| | | Сейчас нет на сайте Репутация: 0 Регистрация: 27.06.2008 Всего сообщений: 391 Откуда: RUSSIA |
| кто знает,подскажите. Короче,сделал сайт на narodе и хочу перенести домен с мастерхоста в народ, что и как сделать,подскажите. | |
| | Имя: Виктор Сейчас нет на сайте Репутация: 15 Регистрация: 22.12.2008 Всего сообщений: 2686 Откуда: Ямославль |
| Подскажите пожалуйста, а чем отличаются эти домены друг от друга? .ru .com .net. Есть ещё куча других доменных зон | | JPG 36.4 Kб |
|
| | Имя: Руслан Сейчас нет на сайте Репутация: 4 Регистрация: 23.12.2008 Всего сообщений: 623 Откуда: Северо-Запад |
| вопрос, как опимизировать запись сообщений в личке в базу данных, чтобы нагрузка на базу была как можно меньше? В начале было по-простому, в таблицу записывались все сообщения подряд, искались по логину пользователя. Нагрузка очень большая, пришлось удалять сообщения после 5 месяцев, многим это не нравится. В Вконтакте, я так понял, на каждого пользователя отельная таблица с сообщениями.Но несколько тысяч таблиц в базе это по-моему перебор. Или я ошибаюсь? | |
| | Сейчас нет на сайте Репутация: 0 Регистрация: 27.06.2008 Всего сообщений: 391 Откуда: RUSSIA |
| может подскажете, как изменить размер фото в слайде,хочу чуть больше поставить. Вот здесь <div class="slider1" align="center"> <div id="slider" class="nivoSlider"> <a href="#"><img src="/images/blank_slider.jpg" title="------------------------------"></a> <a href="#"><img src="/images/blank_slider1-2.jpg" title="---------------------------------"></a> <a href="#"><img src="/images/blank_slider3.jpg" title="Lider"></a> </div> | |
| | Имя: Виктор Сейчас нет на сайте Репутация: 15 Регистрация: 22.12.2008 Всего сообщений: 2686 Откуда: Ямославль |
| Zeon, не вижу никаких размеров в твоем куске кода, вероятно они в css перенесены и привязаны к img, а рядом параметры отображения. | |
| | Сейчас нет на сайте Репутация: 0 Регистрация: 27.06.2008 Всего сообщений: 391 Откуда: RUSSIA |
| Viktos, вот css---- body {background:#fff; margin:0; padding:0;} body, td {font-family:tahoma; font-size:12px; color:#3c3c3c;}
a:link, a:active, a:visited {font-family:tahoma; font-size:12px; color:#3c3c3c; text-decoration:none;} a:hover {text-decoration:underline;} img {border:0;} hr {border-top:1px dashed #fff; border-bottom:1px solid #d7d7d7; border-left:0; border-right:0; margin:5px 0;}
h1,h2,h3,h4,h5,h6 {display:block; margin:0 0 10px 0; padding:0; color:#3c3c3c;}
h1 {font-size:22px;} h2 {font-size:20px;} h3 {font-size:18px;} h4 {font-size:16px;} h5 {font-size:14px;} h6 {font-size:12px;}
textarea, select, input[type="text"], input[type="password"], input[type="submit"], input[type="button"], input[type="reset"] {background:#f4f4f4; border:1px solid #dadada; border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px; -khtml-border-radius:3px; behavior:url('/images/pie.htc'); padding:3px 5px; font-family:tahoma; font-size:11px; color:#969596;} input:hover[type="submit"], input:hover[type="button"], input:hover[type="reset"] {cursor:pointer;}
#all {background:#fff url('/images/bg.png') repeat; min-height:600px; min-width:1000px; margin:0; padding:50px 100px 10px 100px; border-top:5px solid #689ec9;} #content {border:1px solid #bfbfbf; border-bottom:0; background:#fbfbfb; padding:2px 1px 0 1px; min-height:200px;} #content2 {background:#f0f0f0 url('/images/content.png') repeat; min-height:200px; overflow:hidden; padding:7px 13px 15px 9px;} #side_r {float:right; overflow:hidden; width:287px; margin:0 0 0 15px;} #side_l {overflow:hidden; padding:10px 0 0 0;}
/* header */ .header {background:#ededed url('/images/header.png') repeat-x 0 -69px; height:69px; overflow:hidden;} .header2 {background:url('/images/header.png') no-repeat right -138px; height:69px; overflow:hidden;} .header3 {background:url('/images/header.png') no-repeat left 0; height:69px; overflow:hidden;} .hLogo {float:left; padding:15px 0 0 24px;} .hSearch {float:right; padding:26px 13px 0 0;} .hSearch input[type="text"] {background:#f2f2f2 url('/images/search.png') no-repeat; width:161px; height:28px; border:0; margin:0; padding:0 26px 0 8px; font-size:10px; color:#969596; float:left;} .hSearch input[type="submit"] {background:url('/images/search_sbm.png') no-repeat; margin:9px 0 0 -18px; border:0; width:11px; height:12px;} .header_menu {background:#161516 url('/images/header_menu.png') repeat-x; height:38px; margin:0 0 6px 0;} .header_menu ul.right {float:right; margin:0; padding:2px 0 0 0; border:0; list-style:none;} .header_menu ul.right li {float:right; height:36px; display:block; background:url('/images/header_menu_li.png') no-repeat left top; padding:0 0 0 2px; line-height:36px; text-align:center; position:relative;} .header_menu ul.right li a {float:right; height:36px; display:block; color:#a6a6a6; font-weight:bold; padding:0 14px;} .header_menu ul.left {float:left; margin:0; padding:2px 0 0 0; border:0; list-style:none;} .header_menu ul.left li {float:left; height:36px; display:block; background:url('/images/header_menu_li.png') no-repeat right top; padding:0 2px 0 0; line-height:36px; text-align:center;} .header_menu ul.left li a {float:left; height:36px; display:block; color:#a6a6a6; font-weight:bold; padding:0 14px;} .header_menu ul.right a:hover, .header_menu ul.left a:hover {background:url('/images/header_menu_h.png') repeat-x; color:#f9f9f9; text-decoration:none;} li:hover .hProfile {visibility:visible;} .hProfile {background:url('/images/hProfile.png') no-repeat; width:170px; height:74px; visibility:hidden; position:absolute; top:36px; right:0px; overflow:hidden;} .hAvatar {float:left; overflow:hidden; border:1px solid #cecece; padding:2px; background:#f7f7f7; margin:18px 6px 0 16px; width:35px; height:35px;} .hAvatar img {width:35px; height:35px;} .hInfo {overflow:hidden; font-size:10px; line-height:17px; margin:24px 11px 0 0;} .hInfo a {float:none !important; height:100% !important; padding:0 !important; background:0 !important; font-size:10px;}
.slider1 {background:#f9f9f9; border:1px solid #c5c5c5; padding:4px; margin:0 0 8px 0; height:160px; overflow:hidden;} .slider2 {float:right; overflow:hidden; background:#fff; border:1px solid #c0c0c0; padding:1px; margin:0 0 8px 8px;} .slider3 {background:#f9f9f9; padding:4px; width:293px; height:160px;} #slider {position:relative; width:678px; height:160px; background:url('/images/loading.gif') no-repeat 50% 50%;} #slider img {position:absolute; top:0px; left:0px; display:none;} #slider a {border:0px; display:block;} .nivo-controlNav {display:none !important;} .nivo-directionNav a {display:block; width:14px; height:19px; background:url('/images/arrows.png') no-repeat; text-indent:-9999px; border:0;} a.nivo-nextNav {background-position:-14px 0px; right:11px;} a.nivo-prevNav {left:11px;} .nivo-caption {text-shadow:none; font-family: Helvetica, Arial, sans-serif;} .nivo-caption a {color:#efe9d1; text-decoration:underline;} .clear {clear:both;} .nivoSlider {position:relative;} .nivoSlider img {position:absolute; top:0px; left:0px;} .nivoSlider a.nivo-imageLink {position:absolute; top:0px; left:0px; width:100%; height:100%; border:0; padding:0; margin:0; z-index:6; display:none;} .nivo-slice {display:block; position:absolute; z-index:5; height:100%;} .nivo-box {display:block; position:absolute; z-index:5;} .nivo-caption {position:absolute; left:0px; bottom:0px; background: url('/images/fon_nivo-caption.png') repeat; font:12px Verdana,Arial,Helvetica, sans-serif; color:#dddddd; font-weight: bold; width:100%; z-index:8; text-align:left;} .nivo-caption p {padding:6px; margin:0;} .nivo-caption a {display:inline !important;} .nivo-html-caption {display:none;} .nivo-directionNav a {position:absolute; top:68px; z-index:9; cursor:pointer;} .nivo-prevNav {left:0px;} .nivo-nextNav {right:0px;}
.slider_img {float:left; width:293px; height:160px; overflow:hidden; position:relative; box-shadow: 0 0 2px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 -1px 0 rgba(0, 0, 0, 0.3) inset; opacity:0.9; -moz-opacity:0.9; filter: alpha(opacity=90);} .slider_img:hover {opacity:1; -moz-opacity:1; filter: alpha(opacity=100);} .slider_img span {float:left; width:283px; background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5); position:absolute; left:0px; bottom:0px; padding:4px 5px 4px 5px; text-align:left; font-weight:bold; color:#f9f9f9;} .slider_img span b {display:block; float:right; background:url('/images/slider_rating.png') no-repeat left; text-indent:14px;} /* ------ */
/* content */ .vid_mater {border:1px solid #e1e0e0; background:#f9f9f9; padding:8px; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; -khtml-border-radius:4px; behavior:url('/images/pie.htc'); overflow:hidden; margin:0 0 13px 0;} .vid_mater_l {float:left; overflow:hidden; margin:0 13px 0 0; width:194px; height:158px; border:1px solid #c3c6c8; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; -khtml-border-radius:4px; behavior:url('/images/pie.htc');} .vid_mater_l img {width:194px; height:158px; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; -khtml-border-radius:4px; behavior:url('/images/pie.htc');} .vid_mater_r {overflow:hidden;} .vid_mater_r span {display:block;} span.category a {color:#808080;} span.info {font-size:10px; color:#808080;} span.info a {color:#808080; font-size:10px;} span.message {margin:10px 0 0 0;} span.entry {float:right;} span.comments {color:#808080;}
b.swchItemA1, a.swchItem1, b.swchItemA, a.swchItem {display:inline-block; background:#f7f7f7; border:1px solid #d8d8d8; padding:5px 6px; color:#d2d2d2; font-weight:bold;} b.swchItemA1, b.swchItemA, a:hover.swchItem1, a:hover.swchItem {color:#292628;} /* ------ */
/* blocks */ .block {width:276px; border:1px solid #e1e0e0; background:#f8f8f8; padding:4px 4px 4px 5px; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; -khtml-border-radius:4px; behavior:url('/images/pie.htc'); margin:0 0 12px 0;} .block_t {background:#232222 url('/images/block_t.png') no-repeat; width:276px; height:33px; text-indent:13px; line-height:33px; text-align:left; font-weight:bold; color:#f3f3f3;} .block_c {padding:15px 3px 0 10px; overflow:hidden;} .block_c.informer {padding:6px 0 0 0;}
.catNumData {float:right; display:block; color:#929292;} .catsTd {background:#f8f7f7 url('/images/categories.png') no-repeat 0 0; width:260px; height:20px; text-indent:18px; line-height:20px; padding:0 4px 0 0;} .catsTd:hover {background:#e7e7e7 url('/images/categories.png') no-repeat 0 -20px;} .catsTd a {color:#5a5858; text-decoration:none;} .catsTd:hover a {color:#2d2d2d;}
hr.last_com_hr {border-top:1px dashed #e1e0e0; border-bottom:0; border-left:0; border-right:0; padding:0; margin:6px 0;} .last_com {width:262px; border:1px solid #e1e0e0; background:#f7f5f5; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; -khtml-border-radius:4px; behavior:url('/images/pie.htc'); padding:6px;} .last_com_t {overflow:hidden; padding:0 0 7px 0;} .last_com_date {float:right; overflow:hidden; background:url('/images/last_com_date_line.png') no-repeat left top; margin:3px 0 0 0; padding:0 0 0 8px; font-size:10px; color:#acacac; text-align:left;} .last_com_ava {float:left; overflow:hidden; width:37px; height:36px; border:1px solid #c6c4c4; margin:0 6px 0 0;} .last_com_ava img {width:37px; height:36px;} .last_com_title {font-size:10px; color:#6b6b6b;} .last_com_title span {display:block; margin:7px 0 0 0;} .last_com_mess {width:100%; overflow:hidden;} /* ------ */
/* footer */ .footer_menu {background:#161516 url('/images/header_menu.png') repeat-x; width:100%; height:38px; margin:0; border-bottom:1px solid #5f5e5d;} .footer_menu ul {float:left; margin:0; padding:2px 0 0 0; border:0; list-style:none;} .footer_menu ul li {float:left; height:36px; display:block; background:url('/images/header_menu_li.png') no-repeat right top; padding:0 2px 0 0; line-height:36px; text-align:center;} .footer_menu ul li a {float:left; height:36px; display:block; color:#a6a6a6; font-weight:bold; padding:0 14px;} .footer_menu ul li a:hover {background:url('/images/header_menu_h.png') repeat-x; color:#f9f9f9; text-decoration:none;} .footer {background:#393734 url('/images/footer.png') repeat-x 0 -50px; height:50px; overflow:hidden;} .footer2 {background:url('/images/footer.png') no-repeat right -100px; height:50px; overflow:hidden;} .footer3 {background:url('/images/footer.png') no-repeat left 0; height:50px; overflow:hidden;} .footer_right {float:right; padding:8px 8px 0 0;} .footer_banner {border:1px solid #32302f; width:88px; height:31px; display:inline-block;} .footer_banner img {width:88px; height:31px;} .footer_line {background:url('/images/footer_line.png') no-repeat; width:2px; height:33px; display:inline-block; margin:0 14px;} .footer_vk {display:inline-block; width:11px; height:14px; background:url('/images/footer_vk.png') no-repeat; margin:0 0 10px 0;} .footer_rss {display:inline-block; width:14px; height:14px; background:url('/images/footer_rss.png') no-repeat; margin:0 0 10px 0;} .footer_text {float:left; padding:11px 0 0 12px; font-size:11px; color:#919191;} .footer_text a {font-size:11px; color:#919191;} /* ------ */
/* other */ #tooltip {position:absolute; z-index:10; border:1px solid #c0c0c0; background-color:#f9f9f9; font-size:11px; color:#1eab44; margin:0 5px 0 0; padding:2px 4px; opacity:0.75; -moz-opacity:0.75; filter: alpha(opacity=75); -moz-border-radius:5px; -webkit-border-radius:5px; -khtml-border-radius:5px; border-radius:5px; behavior:url('/images/pie.htc'); box-shadow:0 0 5px #c0c0c0; -webkit-box-shadow:0 0 5px #c0c0c0; -moz-box-shadow:0 0 5px #c0c0c0; filter: progid:DXImageTransform.Microsoft.shadow(direction=0, color=#c0c0c0, strength=5); text-shadow:none;} #tooltip h3 {display:block; margin:0; padding:0; font-size:11px; color:#3c3c3c; text-shadow:none;} a.top {font-size:10px; color:#aaadac; font-family:calibry; text-decoration:none;} /* ------ */ | |
|
|
|