No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
Re: You've probably had a solution by now but this works: The function: function activate(obj){ links = document.getElementById('navigator').getElementsByTagName('td'); for(i=0;i<links.length;i++){ links[i].className = 'nav'; if(links[i].id==obj){ links[i].className='sel'; } } } The table: <table id="navigator"> <tr><td id="link1" class="sel" onclick="activate(this.id)">Link1</td><td id="link2" class="nav" onclick="activate(this.id)">Link2</td><td id="link3" class="nav" onclick="activate(this.id)">Link3</td><td id="link4" class="nav" onclick="activate(this.id)">Link4</td></tr> </table> If this doesn't work with your … | |
This is driving me mad. I have a div on a page and am using a call to a function which uses <code>new Ajax.Updater('obj','page')</code> in an attempt to load content. All is well in Firefox but, no matter what I do, I can't get IE to do anything. I'm missing … |
The End.