Click here to Skip to main content
16,011,120 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Help needed with javascript function for validating textbox data Pin
RyanMorris13-May-09 0:14
RyanMorris13-May-09 0:14 
GeneralRe: Help needed with javascript function for validating textbox data Pin
Brendan Vogt13-May-09 0:38
Brendan Vogt13-May-09 0:38 
GeneralRe: Help needed with javascript function for validating textbox data Pin
RyanMorris13-May-09 0:59
RyanMorris13-May-09 0:59 
QuestionIIS Settings Pin
p_196012-May-09 18:40
p_196012-May-09 18:40 
AnswerRe: IIS Settings Pin
Yusuf14-May-09 8:20
Yusuf14-May-09 8:20 
QuestiononClick JavaScript handler in a frame works in IE7/8 but not in Safari Beta 4 Pin
BillWoodruff12-May-09 5:16
professionalBillWoodruff12-May-09 5:16 
Questiondocument.execCommand("InsertHorizontalRule") will not insert the InsertHorizontal Rule in IE while you don't have selected text Pin
Member 364582312-May-09 4:45
Member 364582312-May-09 4:45 
Questiontoggle and drop down menu(show/hide) Pin
crain198112-May-09 3:07
crain198112-May-09 3:07 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" <br />
<br />
"http://www.w3.org/TR/html4/loose.dtd"><br />
<html><br />
<head><br />
<LINK REL=StyleSheet HREF='TestDrop.css' TYPE='text/css'><br />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><br />
<script language='text/javascript'src='toggle.js'></script><br />
<title>Testing</title><br />
</head><br />
<body><br />
<div><br />
<a id="lame" href="#" ><img id="test"  src="images/tbl_expand.gif" onclick="beg()" /> </a><br />
</div><br />
</body><br />
</html>


This is the html file.

function beg()<br />
{<br />
	var toggle ='on'<br />
	var obj = document.getElementById('test')<br />
	<br />
		EC();<br />
		<br />
<br />
}<br />
<br />
function showHide(id) <br />
{<br />
	 var e = document.getElementById(id);<br />
	  if(e.style.display != 'none') <br />
		  {<br />
		  e.style.display = 'none';<br />
		  } <br />
	  else <br />
		  {<br />
		  e.style.display = '';<br />
		  }<br />
}<br />
function EC()<br />
{<br />
	if(toggle =='on')<br />
	{  <br />
		obj.src = "images/tbl_collapse.gif";<br />
		toggle = 'off' ;<br />
	}<br />
	else<br />
                  {<br />
		obj.src= "images/tbl_expand.gif";<br />
		toogle = 'on';<br />
	}<br />
}<br />
<br />
<br />
<br />


And this is the javascript file. What I need right now is when you click on the image. It toggles to the next image. Later on will be a drop down menu, something like show/hide. An example of this is on the website http://blog.movalog.com/a/javascript-toggle-visibility/[^
AnswerRe: toggle and drop down menu(show/hide) Pin
crain198112-May-09 4:35
crain198112-May-09 4:35 
AnswerRe: toggle and drop down menu(show/hide) Pin
WoutL12-May-09 20:31
WoutL12-May-09 20:31 
GeneralRe: toggle and drop down menu(show/hide) Pin
crain198113-May-09 10:36
crain198113-May-09 10:36 
Questionline graphs creation in html page [modified] Pin
NarVish11-May-09 22:48
NarVish11-May-09 22:48 
AnswerRe: line graphs creation in html page Pin
Ashfield12-May-09 1:24
Ashfield12-May-09 1:24 
GeneralRe: line graphs creation in html page Pin
NarVish12-May-09 18:47
NarVish12-May-09 18:47 
GeneralRe: line graphs creation in html page Pin
Ashfield12-May-09 21:32
Ashfield12-May-09 21:32 
QuestionNeed help in code-behind Pin
Senthil S11-May-09 21:25
Senthil S11-May-09 21:25 
AnswerRe: Need help in code-behind Pin
saanj12-May-09 20:50
saanj12-May-09 20:50 
GeneralRe: Need help in code-behind Pin
Senthil S17-May-09 19:45
Senthil S17-May-09 19:45 
GeneralRe: Need help in code-behind Pin
saanj17-May-09 20:34
saanj17-May-09 20:34 
QuestionHow to avoid printing Empty page ? Pin
I Sam Asir Aloysious11-May-09 20:23
I Sam Asir Aloysious11-May-09 20:23 
QuestionPaypal Web Site Pro Integration - Request and Response handling [modified] Pin
devvvy11-May-09 16:35
devvvy11-May-09 16:35 
QuestionUse cases Pin
Sparker11-May-09 2:32
Sparker11-May-09 2:32 
AnswerRe: Use cases Pin
Ashfield11-May-09 21:01
Ashfield11-May-09 21:01 
GeneralRe: Use cases Pin
Sparker18-May-09 0:03
Sparker18-May-09 0:03 
GeneralRe: Use cases Pin
Ashfield18-May-09 1:14
Ashfield18-May-09 1:14 

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.