Current time: 23.03.2024, 16:37 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
Вопросы по HTML/JS/CSS
» и прочему сайтостроению
Author Message
gamecreator Offline

Posts: 7107
Post: #46

Драколич,
тег оффтоп - это так
.


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
22.10.2009 18:20
Find all posts by this user Quote this message in a reply
fireman Offline
Forum Moderators

Posts: 1426
Post: #47

Code:
[spoiler=spoiler]text in spoiler[/spoiler]
spoiler text (Click to View)


Новости по WoG 3.59, ХотА и другим модам.
(This post was last modified: 22.10.2009 20:31 by fireman.)
22.10.2009 20:28
Find all posts by this user Quote this message in a reply
UksusoFF Offline

Posts: 562
Post: #48

Code:
<div style="padding: 3px; background-color: #FFFFFF; border: 1px solid #d8d8d8; font-size: 1em;"><div style="text-transform: uppercase; border-bottom: 1px solid #CCCCCC; margin-bottom: 3px; font-size: 0.8em; font-weight: bold; display: block;"><span onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerHTML = '<b>{TEXT1}: </b><a href=\'#\' onClick=\'return false;\'>Скрыть</a>'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerHTML = '<b>{TEXT1}: </b><a href=\'#\' onClick=\'return false;\'>показать</a>'; }" /><b>{TEXT1}: </b><a href="#" onClick="return false;">показать</a></span></div><div class="quotecontent"><div style="display: none;">{TEXT2}</div></div></div>

Code:
[spoiler={TEXT1}]{TEXT2}[/spoiler]

а вот этот спойлер без JS вроде работает...



Как нибудь возможно уменьшить картинку заданную вот так:
Code:
<img src="img5/at09.jpg" width=1000 height=700>
внешними тэгами, JS, CSS или вообще любым другим способом?


Image: 0_38e1a_676166ca_L.jpg
23.10.2009 01:59
Visit this user's website Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16449
Post: #49

Где задана, где нужно уменьшить?


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
23.10.2009 15:25
Find all posts by this user Quote this message in a reply
DracoLich Offline

Posts: 251
Post: #50

Gamecreator, это тут так 118 Обычно оффтоп прячут, бо оффтоп это варн или бан 118 Просто его название я вспомнил быстьрее, чем "спойлер" )
23.10.2009 16:53
Visit this user's website Find all posts by this user Quote this message in a reply
UksusoFF Offline

Posts: 562
Post: #51

ну вот есть который береться с другого сайта плагином для joomla
Code:
<img src="img5/at09.jpg" width=1000 height=700>
картинка вставляется в страницу, но не умещается на ней, както можно не модифицируя данный кусок кода ее уменьшить?


Image: 0_38e1a_676166ca_L.jpg
25.10.2009 22:30
Visit this user's website Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16449
Post: #52

Как вставляется?


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
25.10.2009 22:56
Find all posts by this user Quote this message in a reply
UksusoFF Offline

Posts: 562
Post: #53

(25.10.2009 22:56)Berserker Wrote:  Как вставляется?

ну я же написал выше Sm img src длинна ширина и тд Sm


Image: 0_38e1a_676166ca_L.jpg
25.10.2009 23:33
Visit this user's website Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #54

дык поменяй длину-ширину


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
25.10.2009 23:34
Find all posts by this user Quote this message in a reply
UksusoFF Offline

Posts: 562
Post: #55

(25.10.2009 23:34)gamecreator Wrote:  дык поменяй длину-ширину

я не могу менять эту длину и ширину так как она берется с другого сайта


Image: 0_38e1a_676166ca_L.jpg
25.10.2009 23:37
Visit this user's website Find all posts by this user Quote this message in a reply
gamecreator Offline

Posts: 7107
Post: #56

как берется? поконкретней


When all gods have burnt to ashes in eternity of sorrow,
Demons gonna tear your soul because there is no tomorrow.
25.10.2009 23:38
Find all posts by this user Quote this message in a reply
UksusoFF Offline

Posts: 562
Post: #57

(25.10.2009 23:38)gamecreator Wrote:  как берется? поконкретней

ну Content Grabber парсит страницу с которой берет эту картинку на указанные тэги, и потом выдает в результате эту ссылку. Пока что не позволяет убирать параметры тэгов и парсить символы, так что приходится както извращаться

ЗЫ не картинка берется, а этот кусок кода, не так выразился


Image: 0_38e1a_676166ca_L.jpg
(This post was last modified: 25.10.2009 23:47 by UksusoFF.)
25.10.2009 23:46
Visit this user's website Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16449
Post: #58

Тогда ничего. Править код граббера и заменять размеры разве что....


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
26.10.2009 16:52
Find all posts by this user Quote this message in a reply
UksusoFF Offline

Posts: 562
Post: #59

блин, плохо Bad


Image: 0_38e1a_676166ca_L.jpg
26.10.2009 20:11
Visit this user's website Find all posts by this user Quote this message in a reply
DracoLich Offline

Posts: 251
Post: #60

Подскажите код, чтобы при наведении на объект (mouseover) мышь становилась "рукой" (т.е. гиперссылка), а при "mouseout" (уводе мыши, могу ошибаться со словом) обратно.
31.10.2009 20:24
Visit this user's website Find all posts by this user Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Forum Jump:

Powered by MyBB Copyright © 2002-2024 MyBB Group