Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-28-2004, 03:07 PM   #1
LQ Newbie
Registered: Oct 2004
Location: Lexington, SC
Distribution: Slackware 10
Posts: 13

Rep: Reputation: 0
Cannot view javascript in webpages

I've tried to view several webpages now that I've had problems viewing javascript, entire menus are not visible, but I can still click on them like they are working. Do i need to install java or is there something else wrong with my system?
Old 10-28-2004, 03:12 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
You may need to install java but there are very few menu systems that use pure java and you don't need a jre to use javascript. It sounds more like the person that has produced the site made mistakes when they were programing.
Old 10-28-2004, 03:17 PM   #3
LQ Newbie
Registered: Oct 2004
Location: Lexington, SC
Distribution: Slackware 10
Posts: 13

Original Poster
Rep: Reputation: 0
Its a fairly large business website so I don't think that they have any problems with their menus, at least not major ones. How would I determine if I need to install java? Here is the website if you would like to see that their menus work (not trying to advertise the site here or anything...):

This is a sample of their code, maybe that will help figure out what I need to get it to work?

function clearMenus() {
var i,e;
for (i = 0; i < selected.length; i++) {
e = selected[i];
elempt = document.layers["s" + e];
if (elempt != null) {
elempt.visibility = "hide";
selected.length = 0;

Old 10-28-2004, 03:33 PM   #4
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,041
Blog Entries: 11

Rep: Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907

It's not a well-written site in the first place ;)

More specifically it will not display properly in
Netscape (and compatible) newer than version
6 - the layers object isn't supported in those
any more.

Old 10-28-2004, 04:50 PM   #5
LQ Newbie
Registered: Nov 2003
Distribution: Slackware
Posts: 19

Rep: Reputation: 0
What browser are you using?


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
Can you view which webpages are currently running? linuxboy69 Linux - Software 1 10-28-2004 11:18 AM
Not able to view apache webpages metoome Slackware - Installation 2 03-20-2004 10:12 PM
unknown host trying to view webpages burglus Linux - Newbie 2 12-03-2003 01:01 PM
View webpages internally?? joealaska Linux - Networking 2 12-07-2002 06:37 PM
Cannot view webpages CragStar Linux From Scratch 2 04-28-2002 03:51 PM

All times are GMT -5. The time now is 05:56 PM.

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