Click to See Complete Forum and Search --> : need help in javascript very important


libra78
09-10-2003, 01:17 AM
hi all how are you?
i need help in javascript , i'm new in webdeveloping and still learning about it.
1) i need to know how to make a menu with sub menu by using picture and i want the main menu to be in the html page and the sub menu be in other html page, i have an example but the menu and the sub menu in the same window.

2) the other question i need to know how to make table, example i have a user wants to search for information and when the page fine fill the table with this inforamtion like vb grid.

please help me friends as soon so possible

thank you

Fang
09-10-2003, 03:35 AM
1) This will open a pop-up window containing the submenu page

<a href="http://www.nojavascript.html" onclick="window.open('submenu1.html','mysubmenu','toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=400, height=400'); return false;"><img alt="menu1" src="images/menu1.gif" height="25" width="100" /></a>


2) Here is the basic table information (http://www.w3schools.com/html/html_tables.asp)

Charles
09-10-2003, 05:33 AM
<a href="submenu1.html" onclick="window.open(this.href, 'mysubmenu', 'toolbar,location,menubar,scrollbars,copyhistory,width=400,height=400'); return false;"><img alt="menu1" src="images/menu1.gif" height="25" width="100" /></a>