<meta http-equiv="Content-Script-Type" content="text/Javascript" />
script>
<!--
function Show(divId){
document.getElementById(divId).style.visibility ='visible';
}
function Hide(divId){
document.getElementById(divId).style.visibility ='hidden';
}
function Showhide(divId){
if (document.getElementById(divId).style.visibility =='hidden') {
Show(divId)
}
else if (document.getElementById(divId).style.visiblilty =='visible') {
Hide(divId)
}
else {
alert('An Error Occured during show/hide command please notify creator immediatly about this error')
}
}
//-->
</script>
Skipping to the part where it calls to
<form>
<input type="button" value="Show/hide" onclick="Showhide('hs');" />
</form>
<div id="hs">
<img src="images/previews/1.bmp" style="width:250px;height;250px;border:3px ridge black;" >
<img src="images/previews/2.bmp" style="width:250px;height;250px;border:3px ridge black;" >
<img src="images/previews/3.bmp" style="width:250px;height;250px;border:3px ridge black;" >
<br>
<img src="images/previews/4.bmp" style="width:250px;height;250px;border:3px ridge black;" >
<img src="images/previews/5.bmp" style="width:250px;height;250px;border:3px rnamege black;" >
<img src="images/previews/6.bmp" style="width:250px;height;250px;border:3px ridge black;" >
It will not show or hide now. Can you help. I decided to use the regular show hide code and make a single button out of it. Thanks. Not even my error i put will go off Thanks
EDIT: here is the firebug error.
wait i fixed it but... Now its doing nuthing but that error message i put it as if it does not run well :S also i updated the source because i fixed some of the errors myself i found because of firebug. firebug helped with most but now i cant find it
This post has been edited by coaster3000: 26 August 2009 - 01:30 PM

New Topic/Question
Reply



MultiQuote




|