Problem: When setting the background color style on a field the field style reverts to non-XP 2D style.
Target browser: IE 5.5/6.X
Problem OS: WindowsXP
I am working on an application that has some dynamic field interaction. Field2 is disabled unless field1 is populated. This works fine...
I want to get the current instance name from within that same instansiated function.
function MyFunction() {
this.prop1 = 1;
this.prop2 = 2;
alert("My instance name: " + MyFunction.caller + "?");
}
var newFunc1 = new MyFunction();
var newFunc2 = new MyFunction()...
I have been searching for a way to make an iframe transparent. I have found several examples. However, none of them work. According to documentation this should work on IE 5.5+. I am running IE 5.5 and am having no luck.
This is what I am doing (according to MSDN here...
I created a menu bar on my page that contains many sub elements (tables). Each element is a container for related data. Within each element there may be an option to expand an area to display more data. All the elements in the menu are constrained within one div with a set width. The code below...
I have an iframe that contains a form. The form area changes in size dynamically depending on user options. When the form gets too big, scrollbars show up. I want the iframe to dynamically get bigger if the content overflows the boundry of the page.
With a style I can set overflow to hidden to...
I am creating a layout that used some iframes. I used iframes because of its ability to dynamically display scrollbars when needed. On top of that, only the data within the iframe needs to be refreshed. Someone mentioned that I should use a scrollable layer instead of an iframe. What is the...
I have used the following code snippet in several pages. This is a copy and paste from a page that works to a new page that does not. The point of interest is the JavaScript that gets the iframe and its document. When I run this I get an error message saying "Access denied" on the line...
I want to be able to set some global colors in a global style sheet. Then use those global settings in other style sheets using the import command.
Here is how I have it set up. I have two base style sheets (globals.css and template.css) that are used in several different web applications. In...
We are trying to create an image manager servlet. We pass it information and it returns the image that we need. Not the text to get the image, but the byte stream of the image. Since the browser is expecting a byte stream of image data, we have set the servlet content type to...
<tiles:importAttribute />
<nd:tabmgr page='<%= pageContext.getAttribute("currentPage")%>'/>
<nd:tabmgr> is a taglib that I wrote. If you pass it text for the current page, it displays a tab menu with the currentPage selected. Works like a charm like this:
<nd:tabmgr page='main'/>
I...
I want to get the affect of using one JSP tag within another. Unfortunately embedding tags within tags is not valid syntax. I have a taglib with one attribute like the following:
<custom:tag1 attrib="myAttribValue"/>
So what if I want to have attrib set by another JSP tag...
I created a template using Tiles. No problem. I needed a dynamic menuing system. So I created a tag lib that would output the desired menu based on a parameter passed to it. I then put the taglib in the tamplate like this:
<table>
<tr><nd:tabmgr page="main"/></tr>
</table>
This...
I created a template using Tiles. No problem. I needed a dynamic menuing system. So I created a tag lib that would output the desired menu based on a parameter passed to it. I then put the taglib in the tamplate like this:
<table>
<tr><nd:tabmgr page="main"/></tr>
</table>
This...
Look at this flash I made (http://www.kingdon.net/rtec/). It is one of my first. The problem is in the buttons. As expected, when you mouse over the button a description appears in the middle. However, mouse over the area where where the description is at and you get some wacky behavior.
Here...
I am pulling my hair out trying to fix what I have done. I am fairly new to Flash MX. I have created a presentation that has four button links and some other graphics. All together there are about 20 layers and 50 or so graphics of various types.
Problem: When I view the swf file (in the...
Changing CSS with JavaScript is pretty well known. Is there a way to go the other way? Take the following code for example:
<body onload="runOnLoad()">
Can you set a listener in CSS to catch the onload event and then kick off the JavaScript script?
The following code does not work...
How can I make Java wait 10 seconds to continue? I am using JUnit to test a login feature on our site. I want the test case to wait 10 seconds after logging out before trying a second login to verify changes in the first login. Any ideas?
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.