elements

Javascript - Visual Representation of Element as an Image

This is a long shot but I've seen things which might make it posssible. I have a div, which is filled with images. Album covers if you must know. And I want to allow users to download this as an image. So they could use it as something like a desktop background. So is this possible? Get this visual representation of an element and disp...

list elements by activity

Hello, I'm working on automated builds and need to be able to list elements that were worked on under particular activities. I'm new to ClearCase so I apologise for naiivety ... My downstream build process works fine and I now need to populate a 'pre-build' area by identifying the (checked-in) files associated with one or more activiti...

Are <hr> and <br> inline or block elements?

My guess is that <br> might be inline and that <hr> might be block. But I don't really have a clue... ...

How to loop through WPF StackPanel static Items?

Probably very easy but I am having trouble to figure this out (also Google doesn't seem to help much). How can I loop through the statically declared elements (no databinding - elements are declared in the xaml) of a StackPanel? Any help appreciated! ...

Access iframe elements in javascript

I have a webpage where there is a texarea within a iframe. I need to read the value of this textarea from its child page javascript. Presently by using window.parent.getelementbyID().value in the javascript, I am able to fetch values of all controls in the parent page except the textarea within the iframe. Can anyone please give me any p...

Getting elements that exceed the maxium value. JAVASCRIPT/JQUERY

greetings, I'm new with java script so bear with me! I want to achieve something using JQuery selectors. I have a list menu. It looks like this... <ul style="width:auto"> <li>item one</li> <li>item two</li> <li>item three</li> <li>item four</li> <li>item five</li> </ul> Okay, so currently I'm using the parseInt function to retrieve...

Is it possible to obtain a list of events bound to an element in jQuery?

As the question said, i need the list of events bound to a specific element. I mean events like click, mouseover etc bound to that element at the loading of the dom. (Stupid) example: $("#element").click(function() { //stuff }); $("#element").mouseover(function() { //stuff }); $("#element").focus(function() { //stuff }); ...

jQuery: hidden elements - general question

hi, when elements are hidden, you can't read eg. their dimensions, is this a general javascript problem or is there maybe a workaround in jQuery? i'm having eg. some tabs which contain widgets, initializing them doesn't work properly since they're hidden. thx ...

return type of input with jquery

I have a form with dynamically created form elements. I need to get the value of each element, and send an ajax request to make sure the data is ok (the easy part). I can get each elements value easy enough, but the problem comes in with radio buttons. For example: <input type = 'radio' class = 'form_element' value = '1'> <input type =...

Select an element that doesn't have a background set

The title pretty much says it all. Using jQuery, I need to select all elements that do not have a background color or image defined, and apply at least a white background to it. Thanks! ...

jQuery How to Hide DIVs, they are Showing for a Split Second on page Load

Hi, I have made a very quick jquery slideshow, and i'm using this to hide the DIV's which shouldn't be shown until it's their turn obviously: $(document).ready(function() { //Hide All Div's Apart From First $('div#gall2').hide(); $('div#gall3').hide(); $('div#gall4').hide(); But on loading the page you can see DIV's gal...

c# LINQ to XML Query Expression for elemennt exhist ?

<channel> <title>Best Web Gallery - Flash + CSS Gallery</title> <link>http://bestwebgallery.com&lt;/link&gt; <description>Featuring the world best web design</description> <pubDate>09 Dec 2009</pubDate> <generator>http://wordpress.org/?v=2.3.2&lt;/generator&gt; <language>en</language> <...

Parsing periodic elements in PHP/html

This problem actually hit me recently. So I was tasked with putting people's bios up on the web (asked for opinions in a different question), which I went with XML and just created elements based on what sections was going to be displayed. Some people had formulas in their bio and when I was copying/pasting the formatting didn't copy o...

Styling regular form elements with jQueryUI

Hi. I'm using jQueryUI on my site, as well as http://www.filamentgroup.com/lab/jquery%5Fui%5Fselectmenu%5Fan%5Faria%5Faccessible%5Fplugin%5Ffor%5Fstyling%5Fa%5Fhtml%5Fselect/ as replacement for select elements. But I have a problem to style other form elements, text and textarea. Have anybody idea how to do this right way? ...

How to arrange elements of vector in Fortran?

Hi, I have two p*n arrays, y and ymiss. y contains real numbers and NA's. ymiss contains 1's and 0's, so that if y(i,j)==NA, ymiss(i,j)==0, and 1 otherwise. I also have 1*n array ydim which tells how many real numbers there is at y(1:p,n), so ydim has values 0 to p In R programming language, I can do following: if(ydim!=p && ydim!=0...

How to set DOM element as the first child?

Simple question - hard to answer, by my experience: I have element E and I'm appending to it some elements to it. All of a sudden, I find out that next element should be first child of E. What's the trick, how to do it? Method unshift doesn't work because E is an object, not array. Long way would be to iterate trough E's children and...

With ASP.Net, how do you write to a client-side control (text box) with server-side code?

If I have a standard HTML textbox: I can retrieve the value using Request.Form. But how do I go about populating this textbox from the server-side? I tried Request.Form["txtTest"] = "blah"; but got a readonly error. ...

JavaScript getElementsByCustomTag('value')?

Hi, I know getElementsByName('something') that returns the elements with name="something", but I want to return a list of elements where custom="something", how would I do that? ...

Elements disappearing on IE7 window resize

I am coding this web page. http://www.nomizine.com/misc/tbs/default.html It renders well everywhere except for IE7. When I resize the browser window, top navigation, the compass on the left and subscribe block on the right disappears. Any idea how to fix it? BTW, I have already tried HasLayout tricks like zoom:1, clear:both etc but not...

How Can You Remove Unnecessary HTML elements with jQuery?

In wikispaces, they use one of two HTML elements as buttons in a wikispace. Here they are... <button name="lock" type="submit" class="btn"><span><span>Lock Topic</span></span></button> Or... <a onclick="jQuery(this).parents('form').submit();" class="btn"><span><span>Search Posts</span></span></a> <a class="btn primary" id="newPostT...