Страница 1 из 1

Функции на cnc-club.ru (Как сделать такие же)

Добавлено: 22 мар 2013, 21:55
serguspl
1,2. Как сделать такое:
2.png (2027 просмотров) <a class='original' href='./download/file.php?id=13118&mode=view' target=_blank>Загрузить оригинал (55.8 КБ)</a>
?
3. Как сделать такую мультизагрузку как на этом форуме?
4. Как сделать :
3.png
3.png (5.25 КБ) 2022 просмотра
?

Re: Функции на cnc-club.ru (Как сделать такие же)

Добавлено: 25 мар 2013, 11:48
Nick
Все просто по первому - просто html в template:

Код: Выделить всё

				<!-- ========= Replaced by custom mod ========= -->				
				<style type="text/css">
					div#site-description div#site-descriptions {margin: 0px 0px 0px 250px; width: 290px; height:37px; overflow:hidden;}
					div#site-description div#site-descriptions p {display:none; font-size: 9px; position: relative; margin:0px; padding:0px;}
				</style>
				<div id="site-descriptions">
					<p>«ЧПУ Станки, коллективная помощь/опыт/знания, секретные технологии, и не только.»<br><small>&nbsp; &nbsp; &nbsp; &nbsp;- Гармонист</small></p>
					<p>«ЦНЦ клаб - твой надежный друг и партнер!»<br><small>&nbsp; &nbsp; &nbsp; &nbsp;- Гармонист</small></p>
					<p>«CNC-Club - выжми из станка все!»<br><small>&nbsp; &nbsp; &nbsp; &nbsp;- Nick</small></p>
					<p>«Здесь куют роботов. Поможем, поделимся, подружимся, присоединяйся!»<br><small>&nbsp; &nbsp; &nbsp; &nbsp;- Гармонист</small></p>
					<p>«Вкалывают роботы, а не человек.»<br><small>&nbsp; &nbsp; &nbsp; &nbsp;- Приключения Электроника, Rafiq</small></p>
				</div>				
				<script langiage="javascript">
						var div = $("#site-descriptions");
						var ps = $("#site-descriptions p").toArray();
						
						var current = 0;
						var i = 0;
						function animateIt() {
							i = Math.floor(Math.random()*ps.length);
							$(ps[current]).slideUp("slow");
							$(ps[i]).delay("slow").slideDown("slow");
							current = i;
							window.setTimeout(animateIt, 10000);
						}
						animateIt();
				</script>
				<!-- ========= Replaced by custom mod ========= -->
				<!---<p>Статьи, обзоры, цены на станки и комплектующие.</p> -->
				<!-- ========= Replaced by custom mod ========= -->
2. Это хитрая штука... Галерея вложений в шапке форума #13
3. Мультизагрузку подробно описал на phpbbguru.net http://www.phpbbguru.net/community/topic36446.html
4. Это addthis - копируешь оттуда html и вставляешь себе в overall header и footer. http://www.addthis.com/

Re: Функции на cnc-club.ru (Как сделать такие же)

Добавлено: 30 мар 2013, 18:19
serguspl
Как реализовать?
1.png
1.png (10.32 КБ) 1970 просмотров

Re: Функции на cnc-club.ru (Как сделать такие же)

Добавлено: 30 мар 2013, 18:51
serguspl
Nick писал(а):Все просто по первому - просто html в template:

Код: Выделить всё

				<!-- ========= Replaced by custom mod ========= -->				
				<style type="text/css">
					div#site-description div#site-descriptions {margin: 0px 0px 0px 250px; width: 290px; height:37px; overflow:hidden;}
					div#site-description div#site-descriptions p {display:none; font-size: 9px; position: relative; margin:0px; padding:0px;}
				</style>
				<div id="site-descriptions">
					<p>«ЧПУ Станки, коллективная помощь/опыт/знания, секретные технологии, и не только.»<br><small>&nbsp; &nbsp; &nbsp; &nbsp;- Гармонист</small></p>
					<p>«ЦНЦ клаб - твой надежный друг и партнер!»<br><small>&nbsp; &nbsp; &nbsp; &nbsp;- Гармонист</small></p>
					<p>«CNC-Club - выжми из станка все!»<br><small>&nbsp; &nbsp; &nbsp; &nbsp;- Nick</small></p>
					<p>«Здесь куют роботов. Поможем, поделимся, подружимся, присоединяйся!»<br><small>&nbsp; &nbsp; &nbsp; &nbsp;- Гармонист</small></p>
					<p>«Вкалывают роботы, а не человек.»<br><small>&nbsp; &nbsp; &nbsp; &nbsp;- Приключения Электроника, Rafiq</small></p>
				</div>				
				<script langiage="javascript">
						var div = $("#site-descriptions");
						var ps = $("#site-descriptions p").toArray();
						
						var current = 0;
						var i = 0;
						function animateIt() {
							i = Math.floor(Math.random()*ps.length);
							$(ps[current]).slideUp("slow");
							$(ps[i]).delay("slow").slideDown("slow");
							current = i;
							window.setTimeout(animateIt, 10000);
						}
						animateIt();
				</script>
				<!-- ========= Replaced by custom mod ========= -->
				<!---<p>Статьи, обзоры, цены на станки и комплектующие.</p> -->
				<!-- ========= Replaced by custom mod ========= -->
В какой файл его вписать?

Re: Функции на cnc-club.ru (Как сделать такие же)

Добавлено: 30 мар 2013, 19:34
serguspl
Nick писал(а):2. Это хитрая штука... Галерея вложений в шапке форума #13
Все сделал по этому посту, но ничего не изменилось.

Сайт: http://bodyink.pp.ua