LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   java menu inside frame (https://www.linuxquestions.org/questions/programming-9/java-menu-inside-frame-112376/)

toovato 11-04-2003 03:04 PM

java menu inside frame
 
Hello All:

Let me start by saying I am new to Java....

I am calling a menu inside a body tag as such:
<tr><td>
<script type='text/javascript' src='/snortcenter/snortcenter.js'></script>
<script type='text/javascript' src='/snortcenter/menu_com.js'></script>
<noscript>Your browser does not support script</noscript>
</td></tr>

and it works on apache.


I have a link inside of webmin that calls the same apache page, but inside a frame:
<html><head><title>Mt. Zion Secure Intrusion Prevention Center 1.110 on morpheus (Debian Linux 3.0)</title></head>
<frameset framespacing=0 border=0 rows=135,90% frameborder=0>
<frame noresize=noresize name=toplogo src=logoframe.html scrolling=no>
<frameset framespacing=0 border=0 cols=235,* frameborder=0>
<frame noresize=noresize name=Inhalt target=Hauptframe src=nav.cgi>
<frame noresize=noresize name=Hauptframe src=zionipshome.cgi>
</frameset></frameset></html>

The cgi is a redirect to:
#!/usr/bin/perl
require '../web-lib.pl';
&redirect("https://morpheus:30001/snortcenter/");

which is the apache page

The page loads with no error, but the menu is no where to be found

The webmin menu loads fine, and is also javascript

Thanks
Brian

moeminhtun 11-05-2003 06:53 AM

Please!!!!!!!!!!
JavaScript is NOT Java.
These two are totally different technologies. It just happened that their names are similer. Java is from Sun. JavaScript is from Netscape. Nothing to do with each other. Absolutely different. Totally unrelated.


All times are GMT -5. The time now is 02:25 PM.