Все вопросы: [dhtml]
147 вопросов
Не удается получить раскрывающийся список CSS над файлом Flash
Я обыскал все и перепробовал все доступные мне методы, но не могу отобразить раскрывающиеся меню CSS над файлом Flash. Вы можете перейти по адресу: http://beta.riverlifefellowship.com и имя пользователя - «riverlife» ипароль - "поток" (без кавычек на обоих). Я использую swfObject и имею ...
Fx на Javascript: как убрать вещи и т. Д. Без фреймворков?
Я хотел бы узнать, как сделать затухание и подобные эффекты на Javascript. Я часто получаю ответы, например, почему бы не использовать JQuery, mootools и т. Д.?Ну я Если хотите узнать, как все работает, я не буду возражать против использования любой из этих сред. В настоящее время я изучаю из...
Всплывающая подсказка для отображения над или под горячей точкой в зависимости от положения прокрутки
Я сделал простой JavaScript, чтобы отображать и скрывать некоторые элементы div при наведении указателя мыши на горячую точку на карте изображений. <script> function showDiv(name) { document.getElementById(name).style.display = "block"; } function hideDiv(name) { document.getElementById...
Всплывающее окно DHTML
Я пытаюсь создать окно DHTML на своем веб-сайте и могу заставить его всплывающее окно для меня.Проблема, с которой я столкнулся, заключается в том, что когда он появляется, он перемещает текст по странице.Я видел примеры всплывающих окон DHTML, где этого не происходит, например здесь: http: //d...
Как я могу принудительно переформатировать после изменения DHTML в IE7?
У меня есть страница, на которой пользователь может динамически добавлять поля для загрузки файлов.Добавление блоков изменяет высоту div, в котором они находятся, но некоторые элементы div под ним остаются на том же месте, поэтому они начинают перекрываться с новыми элементами DOM. Это правил...
Необходимо установить стиль 1 span для отображения: блокировать при загрузке страницы для галереи изображений, состоящей из набора span для отображения: none
У меня есть некоторый javascript в заголовке страницы, который управляет галереей изображений, где пользователь щелкает миниатюрное изображение и изображение большего размера, а некоторый текст отображается в промежутке.на каждой странице по 10 таких эскизов, и мне нужно выяснить, как установить...
Как управлять звуком в игре на чистом DHTML
Я собираюсь писать веб-игры, используя только Javascript, HTML и CSS.Похоже, что с помощью этих технологий можно было бы создать множество игр, за исключением одного.Я не могу найти хороший способ управления звуком, единственное, что я вижу, что он работает, - это встраивание какого-либо элемент...
Как можно динамически размещать различные шаблоны на изображениях на веб-странице.
у меня есть Набор выкроек ткани (простые файлы jpg) Изображение для каждой буквы алфавита (пустой белый фон) По сути, я хочу иметь страницу, подобную этой: http://www.craftcuts.com/hand-painted- деревянные-буквы-одиночные-шаблоны.html но вместо статической страницы я хотел бы, что...
Советы по ресурсам для подвижных компонентов
Я хотел бы создать пользовательский интерфейс, например профили iGoogle или facebook, где конечный пользователь может настраивать макет.Перемещайте компоненты, изменяйте размер и т. Д. Есть ли у вас предложения по ресурсам / примерам кода для создания чего-то подобного?
Есть ли в TinyMCE используемые события фокусировки / размытия контента?
Я хочу, чтобы текст по умолчанию, например «Введите сюда ...», появлялся при первой загрузке редактора, но я хочу, чтобы этот текст исчезал, когда пользователь щелкает / фокусируется на области содержимого. Затем, если они «размывают» (перемещаются) из области содержимого, ничего не вводя, я хоч...
Прокрутка HTML-страницы с помощью javascript?
Я создал страницу, которая прокручивается с помощью JavaScript, но в некоторых браузерах она прокручивается не очень плавно, когда вы вводите текст на странице?И в хроме вроде бы вообще не работает. Мой вопрос: Каков наилучший метод создания плавных прокручиваемых html-страниц с использованием...
Forcing lightbox/dhtml over flash
I have read a lot of posts about how you can force lightbox (or other dhtml things) above flash by modifying the embed-tag with wmode="opaque". Just modifying the z-index of lightbox (or whatever else you want above the flash) simply is not enough. But what if you cannot control the embed-tag? ...
How to store dynamically generated HTML form elements from Javascript in Python?
I have an HTML form that a user can add an arbitrary amount of input fields to through jQuery. The user is also able to remove any input field from any position. My current implementation is that each new input box has an id of "field[i]" so when the form is posted it is processed in Python as fi...
Make the OnMousedown event to be triggered only after the OnBlur event is triggered
We have a HTML screen that is formed by including the two sections below: Footer - A bar with icons that includes an Update button. The update button has the onmousedown event associated with it. When the Update button is clicked the data present in the Body is saved in the database. Body - H...
How to "lock" columns in an HTML table?
I am pulling back a large amount of tabular data that I wish to display using a table. The only caveat is that I would like to be able to "lock" a few of the columns (fname/lname/email) so that when users scroll horizontally those columns always stay "locked" in place and are visible. I have do...
Flash movie rendering on top of dhtml menu
How should one go about placing a flash movie beneath a dhtml menu? On the following page: http://bit.ly/aZai8 , the flash movie appears on top of the dhtml drop down menus in Internet Explorer. This does not seem to be an issue in more civilized browsers.
How to make swappable div 'ui cards' with jQuery?
For example if you had a wizard that had step by step directions asking for information, each div would have the controls needed for each step (only one div shows at a time). Then you would swap through them one by one, hence going through a multi-step process all in one page load. Is this pretty...
Replace JavaScript with ActionScript in DHTML
I need to write a DHTML page. But, since I have most of the code inside an AS3 library, I want to use ActionScript instead of JavaScript to do the most of work. In this case JavaScript layer (if any) would be just a write-once abstract proxy. I know about ExternalInterface stuff, but I want some...
YUI Hello World
I'm trying to do some experimental stuff for which YUI looks like the best solution. The Getting Started documentation is all written on the assumption that you already know how to use YUI and only need to find out how to use specific components. Is there any documentation available that tells yo...
iframe as textarea?
I have an iframe in an HTML page, how can I cause it to act as a textarea?
Menu javascript/dhtml
Does anybody know a good free javascript/dhtml menu with vertical alignment, supporting multi-level options, expanding on hover? Tks in advance
WYSIWYG HTML editor for custom cms
Am looking for a good and easy to use WYSIWYG HTML editor that i can integrate into a CMS that am currently developing for a client. Am developing the CMS in PHP and is web-based. The editor will have both visual and code view. Thanks for ur help.
How to make an Ajax loader follow mouse?
I want to have something on my site that follows the mouse around, sort of like how Windows 7 does it. Like in Windows 7 when something is loading up a little circle comes and follows the mouse. I am using the jQuery library so I know I can use Ajax Start and Stop to make it appear but am not s...
Is it possible to modify a web page as it's loading?
I have a Perl script that generates a web page. It takes a non-trivial amount of time to run. I would like to be able to render a complete HTML table to the user so they know what results to expect, but fill in the details slowly as the Perl script generates them. What approach should I be takin...
How do I attach events to dynamic HTML elements with jQuery?
Suppose I have some jQuery code that attaches an event handler to all elements with class .myclass. For example: $(function(){ $(".myclass").click( function() { // do something }); }); And my HTML might be as follows: <a class="myclass" href="#">test1</a> <a c...
How does gmail dictate if an attachment is to be rendered or downloaded?
I'm curious what the methodology is behind the way that gmail (in their web client) offers a "view" and "download" links right next to each other for things like an attached .jpg file. I have found that the browser generally decides how it's going to handle such things based on the file's extens...
Draggable div issue in IE7
This example uses mootools but I see the same behavior with scriptaculous. I have a div with some content, in this case a single X and there's plenty of white space around the content. I make the div draggable but I find it's difficult to drag the div in IE. In IE I need to click and drag dire...
z-index not working in IE
I have a button, while clicking the button i just produce a div containing some checkbox. If the user select the required checkbox, it will produce a iframe according to the value of the checkbox and the div will disappear. Its placed immediately below the button. Up to this its working fine. If ...
CSS issue: a:hover not working with IE (css Ninja needed)
Why does IE not change the background color on my site for tabs a:hover but does so in Firefox/Chrome/Safari correctly? What can I do to make it work in IE 6+? HTML <ul class="tabbernav"> <li class="tabberactive"><a title="All" href="javascript:void(null);">All</a></...
How can I find out what div a div is in with javascript?
I have a page which will contain 4 static divs with IDs. I will be adding scriptaculous dragable and droppable effects to allow interaction by moving many dynamically generated divs from one div to another. I need to be able to find out which of the static divs the dynamic divs are in. How can I...