dhtml

Custom dropdown box using javascript and css

hi everyone, Is it possible to create a custom dropdown box using javascriit and css. for which i need to place a background-image for dropdown box using javascript If yes or no ? if yes . give any suggestion ? without using JQuery Thanks & Regards Ravi ...

Positioning an element below another element in Javascript

I'm trying to create a dialog similar to the one that shows when clicking the 'flag' link here on SO (without using JQuery or any other library though). The code below displays a dialog when the Show Dialog link is clicked. The code works very well except one thing which is that when the text of the page is resized, the dialog doesn't d...

Dhtml Transitions

hi everyone, Is it possible to move the slide from left to right.when the user click the button. i am using progid:DXImageTransform.Microsoft.Slide(slideStyle='PUSH', bands=1).it moves from right to left as way i need to move from left to right. anybody knows ? it an urgent. Regards Ravi ...

Implementing columns in HTML/CSS

I have a bunch of DIVs that contain textual information. They're all the same width (maybe 400px or so), but different heights. For space reasons, I'd like to have two or three columns of these DIVs (sort of like a want-ad section in a newspaper). See attractive ascii-art below :) DIV1 DIV3 DIV1 DIV3 DIV1 DIV1 DIV4...

Div Moving in cycle rotation using Javascript

Is it possible to rotate a Div in cyclic rotation using javascript. I have four DIVs in an HTML page. I need to rotate those DIVs in a cyclic rotation. If it's possible tell me now. It is urgent. Thanks & Regards Ravi Kumar ...

Rotating Div using javascript

Hi everyone Here is a link: http://www.avineon.com/ Open this link see on the top. Four images are rotating. I need something similiar using Javascript. Is it possible by using Javascript. Thanks & Regards Ravi Kumar ...

How to access an html element in flash?

I have an html page with a flash movie embded in it, that flash movie contains a button. I want to pass the id of an element on the containing html page to the flash movie so that when the button is clicked, I get the text of that element in flash (i.e. innerHTML). So, my question is basically two questions: How to pass something from...

CSS Problem: How to make the images in a <table> made of images touch vertically?

In the page Toggle Squares , I have a table made out of an <img /> in every cell generated by JavaScript. I applied the following CSS: .game, .game td, .game tr, .game img { border: none; border-spacing: 0; padding: 0; margin: 0; } In order to remove all spacing. However, now I'm getting a thin background line of spacing bet...

Shrink image using javascript

Hi everyone, I need to shrink the image that was kept in div background-image using javascript.for that image four's side having rounded corner. Is it possible in javascript? any suggestions ? Thanks & Regards Ravi Kumar ...

How to Fix Browser Compatibility

I have developed a html file. It is working fine in IE6 and IE7. When I run the same html file in IE8, the design is not the same and the Javascript is not working properly. It is showing browser's "Compatibility view"? How do I fix this? ...

JavaScript range slider / dual slider exist withOUT using a framework

I'm looking for a JavaScript control that is a Range Slider (dual knob) that: does NOT use an existing JS framework (e.g. dojo, jquery, etc) - unless you can roll/create your own sub framework where I can compile in just the components I need. works in all major browsers An example a Range Slider is below, but of course this uses JQu...

how to make a click or double click on a word on a webpage to trigger an event handler?

for a page like http://www.answers.com if the user double clicks on any word in the page, a pop up box will show up and shows the definition for that word. I can think of a way to use DOM scripting to break up all words in the page and then make each of them go under a separate "span" element... but otherwise isn't it true that if all...

can any text on a webpage in a <p> tag or <span> tag be selected programmatically?

can any text on a webpage in a tag or tag be selected programmatically? the input element and textarea element can do that easily, but how about text in other cases? ...

insertRow vs. appendChild

Which method is preferred for adding a row to a table? var tr = tbl.insertRow(-1); or var tr = document.createElement('tr'); tbl.appendChild(tr); ? ...

jQuery enable/disable show/hide button w/ SELECT options. Get remaining option values

I have a select list which is being populated using the values from a text field. I also have two buttons: an add button which adds the entered value to the select list and a remove button which removes the entered value from the select list. I would like to do the following using jQuery: If the value entered into the text field is NOT...

JavaScript - How to sort a div

I have a listing of home information in the format below. <div id="content"> <div class="listing"> <div class="photo"><a href="#"><img src="img.jpg" width="200"></a></div> <div class="info"> <p class="address"><a href="#">321 Main St<br>Beverly Hills, CA 90210</a></p> <div class="attr">Price</div> <div cl...

ToolTip - Title not working in IE 6

Hi Friends, I am using a dropdown, which having the width of 100px. But the content with in that dropdown is more than that - its not visible to the user, so i go for title (ToolTip in html). Its not working in IE 6.. What is the alternative method for this.. mouseover event is also not working in . Please help and clarify the bug <s...

javascript slide slick_accessible_slideshow

hi everyone, i have three div's in an HTML page. the page look like this HTML Page: leftArrow(>) div rightArrow(<) i need to move the div from left to right and right to left. using javascript and DHTMl or JQuery. Is it Possible to Move in that direction ? Thanks & Regards Ravi ...

Dynamic select box and dynamic DIV, set element as opposed to remove/append

I am creating a dynamic select box, on change a text section will get populated with data. I would rather have the data set to some text as opposed to being append. For example: This function gets called when a select box is changed: function createDetails(...) { var details = document.getElementById("detailsDIV"); var docFr...

How do you handle HTML element IDs and Javascript references when adding line items using Javascript?

First off, I read all of the suggested questions that sounded halfway relevant and didn't find anything that addressed my issue. Second, if this is already addressed somewhere, I didn't search well enough for it. Finally, on to the problem. :D I have a page that has a 'line item' on it. A 'line item', for our purposes, is simply a b...