Click here to Skip to main content
15,892,517 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: image size as cell size Pin
Viral Upadhyay5-Jul-10 0:03
Viral Upadhyay5-Jul-10 0:03 
GeneralRe: image size as cell size Pin
caradri5-Jul-10 1:17
caradri5-Jul-10 1:17 
GeneralRe: image size as cell size Pin
JHizzle5-Jul-10 2:06
JHizzle5-Jul-10 2:06 
Questioncontact client pc from web server Pin
dene999703-Jul-10 13:30
dene999703-Jul-10 13:30 
AnswerRe: contact client pc from web server Pin
Richard MacCutchan3-Jul-10 20:36
mveRichard MacCutchan3-Jul-10 20:36 
GeneralRe: contact client pc from web server Pin
dene999704-Jul-10 4:15
dene999704-Jul-10 4:15 
GeneralRe: contact client pc from web server Pin
Richard MacCutchan4-Jul-10 21:15
mveRichard MacCutchan4-Jul-10 21:15 
QuestionCant figure out why loop keeps breaking Pin
TreyUF2-Jul-10 4:11
TreyUF2-Jul-10 4:11 
I am just going to get right into it. I have a function that is supposed to reset the
to original starting point (one showing and the other 6 hidden), however I can not figure out why the loop keeps breaking.


function resetListGroup(n) {
  var content=cs_findContent("cs_"+n);
  if (content!=null && content.lists.length>0) {
    cs_initListGroup(content,"");
  
	for (var i = 0; i < states.length; i++) {
		var layer = states[i];
		alert("the number is: " + i + " and layer is: " + layer);  // for debugging only
		if (d!= states[i]) {
			layer.style.display = "none";
		}
		else {
			layer.style.display = "none";
		}
	}
	opening.style.display = "block";
	
	}
}


and the array is:

states=new Array()
states[0]="Mac"
states[1]="XP-32-Printers"
states[2]="Vista-32-Printers"
states[3]="Vista-64-Printers"
states[4]="7-32-Printers"
states[5]="7-64-Printers"
states[6]="opening"


what did I miss?

AnswerRe: Cant figure out why loop keeps breaking Pin
TreyUF2-Jul-10 4:32
TreyUF2-Jul-10 4:32 
AnswerRe: Cant figure out why loop keeps breaking Pin
David Skelly2-Jul-10 5:54
David Skelly2-Jul-10 5:54 
QuestionBody on load, doesn't seem to work? Pin
offroaderdan2-Jul-10 0:49
offroaderdan2-Jul-10 0:49 
AnswerRe: Body on load, doesn't seem to work? Pin
Not Active2-Jul-10 2:14
mentorNot Active2-Jul-10 2:14 
GeneralRe: Body on load, doesn't seem to work? Pin
NeverHeardOfMe2-Jul-10 3:25
NeverHeardOfMe2-Jul-10 3:25 
GeneralRe: Body on load, doesn't seem to work? Pin
Not Active2-Jul-10 3:46
mentorNot Active2-Jul-10 3:46 
QuestionRFI Pin
JohnQuar11-Jul-10 7:27
JohnQuar11-Jul-10 7:27 
AnswerRe: RFI Pin
Not Active1-Jul-10 7:40
mentorNot Active1-Jul-10 7:40 
Questionneed Javascript show/hide <div> help Pin
TreyUF30-Jun-10 10:10
TreyUF30-Jun-10 10:10 
AnswerRe: need Javascript show/hide help Pin
NeverHeardOfMe30-Jun-10 14:00
NeverHeardOfMe30-Jun-10 14:00 
QuestionGetting used to php Pin
Bram van Kampen29-Jun-10 15:33
Bram van Kampen29-Jun-10 15:33 
AnswerRe: Getting used to php Pin
Dr.Walt Fair, PE29-Jun-10 17:08
professionalDr.Walt Fair, PE29-Jun-10 17:08 
AnswerRe: Getting used to php Pin
Graham Breach29-Jun-10 21:10
Graham Breach29-Jun-10 21:10 
QuestionNeed Help with 3 tabbed menu Pin
TreyUF29-Jun-10 9:42
TreyUF29-Jun-10 9:42 
AnswerRe: Need Help with 3 tabbed menu Pin
R. Giskard Reventlov30-Jun-10 0:50
R. Giskard Reventlov30-Jun-10 0:50 
GeneralRe: Need Help with 3 tabbed menu Pin
TreyUF30-Jun-10 2:35
TreyUF30-Jun-10 2:35 
GeneralRe: Need Help with 3 tabbed menu Pin
R. Giskard Reventlov30-Jun-10 3:07
R. Giskard Reventlov30-Jun-10 3:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.