Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by chetFinster

  1. chetFinster

    Dynamically add style info to DIV

    So if the DIV tag looks like this: <div id= "image5094"><a name = "image5094anc"><img name = "image5094Img" src ="images/see.gif' alt="See" width=142 height=92 border=0></a></div> Then I can fun a function that does this: document.getElementById('image5094').style.filter = "alpha(opacity=10)"...
  2. chetFinster

    Dynamically add style info to DIV

    OK - one more time at the risk of being redundant. In the DIV tag, the attribute style does not exist. It is never written into the DIV tag, so the filter:alpha.opacity value can not be set. I don't believe you are saying that the attribute gets dynamically written when a value is assigned to...
  3. chetFinster

    Dynamically add style info to DIV

    I must be missing something somewhere. If I add my replacement string when the DIV is initially written, then a value for: *** alert(document[newObject].filters.alpha.opacity); *** is 100. If I try to simply set *** thisVariable.style = "filter:alpha(opacity=10)" *** and then check the...
  4. chetFinster

    Dynamically add style info to DIV

    Here's the problem: A program I use creates the DIV tags dynamically, but doesn't add a 'filters' attribute, which I need to use to adjust the alpha of objects on the fly (trans in and out). The following is the last line as the program writes it: **** this.div += ' border=0 >'+divEnd+'\n'...
  5. chetFinster

    detect mouse over TWO images (image OVER image)

    What I'm trying to do is create a better drag and drop. Thus far I have the image moving with the mouse (image linked to clientX, Y), no big deal. The problem is, using the IE ondragover, drageend, (or even onmouseup) events, the event doesn't register eith the target. It doesn't register the...
  6. chetFinster

    DOM concat variable into instruction

    See below - "B" works, while "A' doesn't. I want to allow the user to change some values in the FORM by passing params in a function. The value of 'thisFormName' is retrieved dynamically so the script is re-useable (test for FORM type). Simply trying to use the variable (thisFormName) to...

Part and Inventory Search

Back
Top