file of javascript, i need hide this (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets and Accessibility



Message


ing_gabo_gb -> file of javascript, i need hide this (11/10/2006 19:07:48)

hi everybody.

i have a page with one menu of the extention JS, but this menu i want to show with a button, this menu is here in my page


<html>

<head>

<title></title>

<script type="text/javascript" language="JavaScript1.2" src="stmenu.js"></script>

<!-- THE FILE OF HERE DOWN IS THE MENU .JS AND THE FILE OF HERE UP IT WORKS WITH THE ONE OF DOWN -->

<script language="JavaScript" type="text/javascript">
var s = document.createElement("script");
s.setAttribute("type", "text/javascript");
s.setAttribute("language", "JavaScript");
s.setAttribute("src", "CFE.js");
document.getElementsByTagName("head")[0].appendChild(s);
</script>

</head>

<body>



<form name="form1">
<input type="button" value="Ver hoja" onClick = "" >

</form>


</body>

</html>

PLEASE I NEED YOUR HELP THANSKS




jaybee -> RE: file of javascript, i need hide this (11/12/2006 17:29:52)

You have me completely confused. You seem to be saying you want to replace the form submit button with the javascript menu button?

I don't think you can. If you just want to use the same image then change the html to

<button type="submit" name="submit" value="submit">
<img src="the name of your image goes here" />
</button>

If you're just talking about making a me
nu with buttons then I don't understand why the form is there.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
4.589844E-02