Forum: JavaScript / DHTML / AJAX Mar 3rd, 2008 |
| Replies: 1 Views: 576 Re: "if" suggestions nevermind, i figured it out. just a little slow on the uptake of interval time delays with variables involved. |
Forum: JavaScript / DHTML / AJAX Mar 2nd, 2008 |
| Replies: 1 Views: 576 "if" suggestions i have three "buttons". when each is pressed i want to 1.) detect if it is not hidden, if so, return (do nothing). 2.) detect if another button is not hidden, if so i want it to hide that button and... |
Forum: JavaScript / DHTML / AJAX Mar 2nd, 2008 |
| Replies: 3 Views: 824 Re: onclick changes other object i tried to implement the second solution you had, but it failed.
i will show you my html and my javascript, in case it might help.
<div id="sender" class="examplediv">
<p>Click me!</p>
<p>Click... |
Forum: JavaScript / DHTML / AJAX Mar 2nd, 2008 |
| Replies: 4 Views: 1,381 Re: onclick toggle Thank you, now it makes complete sense. I realized that it wasn't a normal call to the function, but i assumed it was a different way of calling. I really wish tutorials would explain the code in... |
Forum: JavaScript / DHTML / AJAX Mar 1st, 2008 |
| Replies: 3 Views: 824 onclick changes other object what i am trying to accomplish is to have two elements lets say SEND and RECEIVE.
when i click the element SEND i want the RECEIVE element to receive the effect.
currently my script only effects the... |
Forum: JavaScript / DHTML / AJAX Mar 1st, 2008 |
| Replies: 4 Views: 1,381 Re: onclick toggle yes that's exactly what i meant to do. sorry for the confusion of what i said.
now i wish i knew why your code works, because this part:
function sizeChange() {
if (!this.currentWidth)... |
Forum: JavaScript / DHTML / AJAX Feb 29th, 2008 |
| Replies: 4 Views: 1,381 onclick toggle i have been trying to find a way to do it, but i can't seem to think of one. i need to do this:
var animElements = document.getElementById("resizercontainer").getElementsByTagName("p")
for(var i=0;... |