Displaying 2 results from an estimated 2 matches for "displaydiv".
Did you mean:
display_id
2010 Jun 16
4
firebug jQuery undefined message in rails app
...ot;#stu": 6
}
/*
links = document.getElementsByTagName("a");
if(links.className.indexOf("div-link") > -1){
links.onclick = function{
removeHash(this.getAttribute("href"));};
}
*/
$("a.div-link").click(function(){displayDiv($(this).attr("href"));});
function displayDiv(id){
var linkInt = linksToInt[id];
on_btn_click(linkInt);
}
function on_btn_click(displayDiv){
displayDiv != null ? null : this;
switch(displayDiv){
case 0:
$(content).empty();...
2010 Jun 21
4
javascript tabs not working in rails app
...on() {
var linksToInt = {
"#i": 0,
"#j": 1,
"#k": 2,
"#a": 3,
"#b": 4,
"#c": 5,
"#d": 6,
"#e": 7,
"#f": 8,
"#g": 9,
"#h": 10}
$("a").click(function(){displayDiv($(this).attr("href"));});
function displayDiv(id){
var linkInt = linksToInt[id];
on_btn_click(linkInt);
}
function on_btn_click(displayDiv){
displayDiv != null ? null : this;
switch(displayDiv){
case 0:
$("#content > div").hide();...