JavaScript Открывает текстовую анимацию?Html

Программисты Html
Ответить
Anonymous
 JavaScript Открывает текстовую анимацию?

Сообщение Anonymous »

Я немного озадачен этим. Я только начал работать с JavaScript, и у меня есть небольшие проблемы с тем, чтобы это работать. В основном у меня есть ссылки в параграфах, которые расширяются при нажатии с помощью JavaScript. Тем не менее, я хотел бы добавить эффект к этому расширению, например, затухание или прокрутка. Раньше я имел только дополнительные эффекты к классам Div, но это не Div. В любом случае, вот мой код, спасибо! < /P>
javascript: < /p>

function reveal(a){
var e=document.getElementById(a);
if(!e) return true;
if(e.style.display=="none"){
e.style.display="inline"
} else {
e.style.display="none"
}
return true;
}
< /code>

html: < /p>

< /p>

Project Star in a Jar

[*]













Изображение

Project Star in a Jar





Table of Contents




Star in a Jar - A How-To Guide
Introduction



Why would anyone want to build a star in a jar? Is it because they want to feel like a mad scientist? Because they want to impress their friends or peers? Although these are all possible reasons, the main reason why people have been building and researching these incredible devices is because quite frankly, we are running out of energy solutions. If we don't have a working solution in the next 20-50 years, we either won't have energy or the little energy we produce will be outrageously expensive. The energy that we consume is almost directly matched with the human exponential growth model and we simply cannot be sustained with conventional energy production methods. The more people that are aware or interested in this technology, the faster we will be able to develop fusion based energy solutions.



Since this is an advanced topic and this writing will use highly technical lexis, I will write in such a way as to target multiple audiences. I understand that some of you reading this are doing so because you are planning on building or already built a fusion device and are looking for more useful information to further develop and experiment with your device. On the other hand, some of you may be reading this from a purely academic standpoint and have nor the intention or means to build such a device. That is perfectly fine! If the former, and you are familiar with the terms and already have an understanding of the concepts in this text, then you can read it without expanding the text for a better tailored experience. However, if the latter, and you are unfamiliar with the terms of this field, I have developed the writing on the site to be dynamic and interactive. Every word or phrase you see that is in orange, can be expanded into an explanation when clicked. Try it out with the following phrase!

What is Tritium?.
>>





(s28400)



< /code>

< /p>

Подробнее здесь: https://stackoverflow.com/questions/264 ... animations
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «Html»