Hi there,
I have some radio buttons with text beside them. I want to be able to click on the button or the text to select the radio button. No problem not using struts:
<input type="radio" name="rdoThing" id="rdoThing1" value="1"/> <label for="rdoThing1">Thing 1</label><br/>
<input...
Hey there,
What I'm doing is simple, but I seem to be missing something. I have this style:
table.tblBlock tbody td{
padding:10px;
}
table.tblBlock tbody td table tbody td{
padding:2px;
}
td.dataGridCell{
padding:40px;
}
I want dataGridCell to override anything else. So a cell with a...
I found my problem, I think I was trying to get LinkedList elements that weren't there, but why didn't tomcat throw an error? That would have saved me hours.
________________________
JoelMac
Hi there,
I have a very odd problem. I'm running tomcat 4.1.
I have a jsp page that happens to display a calendar. It's works pretty good, but when I try to do a little more and display events on the calendar from a database the page only about half loads, it just stops mid String...
I've found a solution to my problem. I've declared my HashMap in the Header like this:
<%! // <--- NOTE: the "!"
HashMap props = new HashMap();
%>
This way I can refer to the props variable in files that include the Header before the line where the Header is included...
Hi there,
Is it possible to somehow nest style elements inside one another? For example: Could I have all anchors inside a table cell styled one way and all anchors out side the table styled another, without explicitly setting classes on each of the anchors?
Thanks.
________________________...
That's a good idea, but I still have to declare something. I want most of my pages to behave in a 'default' manner and only declare and pass the varible for special cases.
________________________
JoelMac
Hi there,
Is there a way that I can see if a varible is declared?
I'm including Headers on my pages using <%@include file="Header.jsp"%>. Some pages will declare varibles for the Header to read, but if no varible is declared I want the Header to just ignore it. How would I do this?
Thanks...
hmmmm, now that I've thought about it more you may be right, but I may need to know where I am in the array so that I can modify other elements that are near by, like the element before or after this one.
________________________
JoelMac
Hi there,
I have an array of spans with the onClick set something like this:
<span id="aSpace" onClick="span_onClick(this);"></span>
In my span_onClick() function I want to know which span was clicked by getting the span's index in the array. Anyone know the function That I can call to get...
The same way that you would to get the directories on your local drive? It's not working.
I can see files and directories on my local drive fine and I can see the mapped drives, but I can't see any files or directories on the mapped drives.
________________________
JoelMac
Hi there,
I'm using the File object to navigate through my local file system on a windows machine. With File.listRoots() I can see all my drive letters, including mapped network drives, but I can't seem to see what's inside the mapped drives.
Is there something else I need to do to see...
I tried the currentStyle, but it only works if the property is explicitly set. Otherwise it returns 'auto'.
I couldn't get getComputedStyle to work in IE.
It only has to work in IE.
Any other ideas?
________________________
JoelMac
Hi there,
I'm creating DIVs on a page with the createElement function and setting the position style to absolute. Each DIV has a different amount of text in it so the width of each DIV is different. I want to place the DIVs in a row. I can get the left and top perporties, but I can't get...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.