Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 05-03-2004, 11:25 AM   #1
Registered: Mar 2003
Location: Iowa, US
Distribution: Gentoo!!, Mandrake 9.1
Posts: 170

Rep: Reputation: 30
Question function problems (web java)

I have a quick question for anyone / everyone that can help. I recently, yesterday, designed a website for a class project. In it I used the following java script to popup predefined windows from links. It worked fine in Mozilla FireFox (used on my linux box). However, when I got to work and tried it with IE6 on WinXP the java script didn’t work. It also doesn’t work with IE5 on Win98. Could someone lend a hand at explaining this? How can I change it to work on all browsers?
Function in head:
function L_details(newURL, high, widt, sc) {
var st = "height="+high+",width="+widt+",
open(newURL, "More Details", st);
// -->

Function call in body:
<a href="javascript:L_details('i_q.html', 450, 400, 0)" class="note">details</a>
Also, I never thought I would see the day when IE really just couldn’t do it. I have always like Linux, but the IE browser always seemed to be more advanced than those available on Linux. You could guess my surprise when my page, which uses sever semi-transparent png files, flopped on IE. I assumed that since FireFox renders the png files with transparency so would IE. Even FireFox running on windows renders the images correctly. I guess I will have to put up with the gray boxes IE replaces the transparency with. Oh, well….. Some day all browsers will render the same…. Wishful Thinking I Know.

Well, any help with the above script would be great!!


Old 05-03-2004, 05:15 PM   #2
Registered: Mar 2003
Location: Iowa, US
Distribution: Gentoo!!, Mandrake 9.1
Posts: 170

Original Poster
Rep: Reputation: 30
Never mind.... I tracked down the error. The window name, "More Detail", in this case can not have a space in it. I find it odd that FireFox would execute it. Oh well.



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
Java and Web Browser problems. RHLinuxGUY Linux - Software 1 09-25-2005 12:01 PM
Problems with Java Web Start (java 1.4.2 - 1.5.0) on Slackware Egy Slackware 11 05-10-2005 07:30 AM
Javascript - what to use rather than window.close() then davee Programming 2 04-11-2005 09:28 AM
Open terminal window from web browser anoop_cn Linux - General 3 07-27-2004 04:10 AM
Web start java not working (java works fine) powadha Debian 5 06-05-2004 01:57 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:16 AM.

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