LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 11-04-2003, 03:04 PM   #1
toovato
Member
 
Registered: Jul 2003
Location: Ft Lauderdale, FL
Distribution: debian
Posts: 48

Rep: Reputation: 15
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
 
Old 11-05-2003, 06:53 AM   #2
moeminhtun
Member
 
Registered: Dec 2002
Location: Singapore
Distribution: Fedora Core 6
Posts: 647

Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables inside client to inside host with outside DNS or IP - Help! linuxhelp2 Linux - Networking 1 10-15-2005 06:19 AM
Any way to redirect DISPLAY inside Java app? paulsm4 Programming 0 03-23-2005 07:35 PM
Java Menu help webwolf70 Programming 5 10-30-2004 02:33 AM
calling a frame from another frame : JAVA randomx Programming 0 10-07-2004 02:49 PM
how to invoke a linux command inside a java code ? kusum Linux - Software 2 11-23-2003 01:19 PM


All times are GMT -5. The time now is 09:13 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration