Compatibility with different browsers for frames


 
Thread Tools Search this Thread
Top Forums Web Development Compatibility with different browsers for frames
# 1  
Old 07-12-2008
Compatibility with different browsers for frames

Hi,

I am writing a web application using Perl CGI. And I have defined an frame within like this

Code:
"<iframe id=\"iframe01\" name=\"iframe01\" height=480 width=800 frameborder=0 scrolling=no></iframe>"

My problem is that this iframe appears differently on different browsers - IE6, IE7, Mozilla 2 and Mozilla 3. When I redirect the output of a particular operation into this iframe, on some browsers, the iframe reduces to a small window and doesn't stay at the defined size.

How do I get over this problem?

Regards,
garric

Last edited by Neo; 07-12-2008 at 03:30 AM.. Reason: Please use code tags with code, thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. What is on Your Mind?

Adblocking shuts down browsers by default?

One more detail, since I never was interested in netflix or hulu. But since netflix started to make it harder for so called thugs, I see in iceweasel, firefox, konqueror, qupzilla (did not try Otter or Midori) that any adblocking policy or addon just slams down my browser immediately. Only chrome... (3 Replies)
Discussion started by: 1in10
3 Replies

2. Shell Programming and Scripting

How to close the Web browsers in Shell Script?

Hi, Is there anyway to close all the Open tabs in Web Browser via Shell Script. Like browser.close( ) or something like that. Pls do help me soon, Thanks in Advance :) (1 Reply)
Discussion started by: Megala
1 Replies

3. Solaris

Web Browsers

How and what other web browsers can I install for Solaris 11 86_64? (1 Reply)
Discussion started by: Fingerz
1 Replies

4. UNIX for Advanced & Expert Users

Surfing the Internet problems with multiple browsers

Could anyone explain why I am having trouble surfing the internet with both firefox and konqueror? Chromium seems to be the only browser that will work. I tried to create a new profile with firefox and that didn't work either. I can ping things just fine, I can download stuff with wget, I can ssh... (6 Replies)
Discussion started by: cokedude
6 Replies

5. Shell Programming and Scripting

wget returns different data from web browsers

I am facing a strange issue with wget. I am not able to get the same data that I can get from my firefox web browser. I tried setting the user agent to firefox but i am still not able to get the same data.. Hope anyone can help point me to the correct direction. This is the command i used :... (0 Replies)
Discussion started by: Leion
0 Replies

6. IP Networking

Frames problems

I'm using ethereal to analyse my network from my pc. There're too many TCP Bad checksum 1. between my PC and unix servers (checksum: 0x6660 ) 2. between my PC and other servers (windows, novell) checksum: 0x6644 ) There're too many NBNS and BOOTP/DHCP Malformed Packet(Exception occured) ... (0 Replies)
Discussion started by: nymus7
0 Replies

7. UNIX for Dummies Questions & Answers

Flash/Shockwave Plugin Seems to Crash Browsers!

I have a problem, that's of course why I'm here. I just today installed, Vector Linux on a PII 233mhz with 160mb ram. The OS is stable, runs well, and is speedy for this older computer while running some GUI version. I can't recall which one. I can find out but it the browsers crash in all the... (1 Reply)
Discussion started by: garfunkle
1 Replies

8. BSD

error message in all browsers...

yes, i receive the same error message in all the browsers, the error message is: error host not found (1 Reply)
Discussion started by: nobody
1 Replies

9. UNIX for Dummies Questions & Answers

browsers

hello all, to see what browsers exist on solaris server what is the path and then how can i acces the internet? i appreciate your help. thanks, grep (4 Replies)
Discussion started by: grep
4 Replies
Login or Register to Ask a Question
NSDEJAVU(1)							     DjView-4							       NSDEJAVU(1)

NAME
nsdejavu - DjVu browser plugin SYNOPSIS
/usr/lib/x86_64-linux-gnu/netscape/plugins/nsdejavu.so DESCRIPTION
The shared library nsdejavu.so uses the Netscape browser plugin API to display DjVu images in in a number of popular web browsers. Differ- ent web browsers provide various level of support for Netscape plugins. Please check section "Browser Compatibility" for instructions on how to enable the DjVu browser plugin. The DjVuLibre browser plugin works by invoking a standalone viewer with the special command line option -netscape. The plugin first searches a program named djview. If this program cannot be found, it searches for djview4 and finally djview3. It is always possible to override this search strategy by setting the environment variable NPX_DJVIEW to the full path of the desired executable. MIME TYPES AND EXTENSIONS
Typing the URL of a recognized DjVu document in your web browser should automatically invoke the DjVu browser plugin. Each browser uses different methods to determine that a particular URL is in fact a DjVu document. Web server normally provide a MIME type to web browsers. The official MIME type for DjVu documents is image/vnd.djvu. For compatibility with ancient versions of the DjVu viewer, it is common to use instead the experimental MIME type image/x-djvu or image/x.djvu. Web servers should be configured to send the proper MIME type for DjVu documents. Most web browsers also recognize files ending with .djvu or .djv as DjVu files. An easy way to check if an http server is giving an appropriate content-type is to invoke the following command with a URL corresponding to an actual DjVu file on the server. curl -u URL | grep Content-Type The result should be one of the following, preferably the first. Content-Type: image/vnd.djvu Content-Type: image/x.djvu Content-Type: image/x-djvu Any other MIME type indicates a server misconfiguration. CGI-STYLE FLAGS The behavior of the DjVu browser plugin can be specified by augmenting the URL using a syntax similar to that used by the CGI programs. This syntax is described by the following template: http://.../file.djvu?djvuopts&keyword=value&keyword=value&... The DjVu browser plugin only recognizes keywords that appear after the word djvuopts. The keywords recognized by each viewer are listed in the man pages for djview3(1) and djview4(1). Unrecognized keywords are ignored. The most common keywords are: page=pagename Specify which page is displayed by name or by ordinal number. zoom=zoomfactor Set the zoom factor. Legal values for zoomfactor are: +-------------------------------------------------------+ |number Magnification factor in range 10% to 999%. | |one2one Select the "one-to-one" mode. | |width Select the "fit width" mode. | |page Select the "fit page" mode. | |stretch Stretch the image to the plugin window size. | +-------------------------------------------------------+ BROWSER COMPATIBILITY
The DjVu browser plugin has been tested with several popular web browsers: Netscape 4 and 6; Gecko based browsers such as Mozilla, Galeon and Firefox; KHTML based browsers such as Konqueror; and Opera. Please read the browser documentation to find out where the plugin library should be installed. EMBEDDING DJVU IMAGES IN HTML PAGES
You can integrate DjVu content on an HTML web page with either the <embed> or the <object> tag. This method will work even if your web server does not support the DjVu MIME type. The CGI style flags can be directly used as attributes of the embedding tag. The following example shows the W3C standard syntax with the OBJECT tag: <object data="myfile.djvu" type="image/vnd.djvu" width="100%" height="100%" > <param name="page" value="iii"> <param name="zoom" value="stretch"> This browser cannot render djvu data. </object> And this is the customary syntax with the EMBED tag: <embed src="myfile.djvu" type="image/vnd.djvu" width="100%" height="100%" page="iii" zoom="stretch"></embed> INTERFACING THE DJVIEW PLUGIN WITH JAVASCRIPT
Recent versions of the djview4 plugin can be controlled from the JavaScript intepreter of browsers implementing the Mozilla NPRuntime API. To access the plugin object, include the attribute id="pluginname" into the <object> or <embed> tag and use the JavaScript function getEle- mentById("pluginname"). The plugin object implements two methods to retrieve and set the value of the options usually recognized as CGI-style flags. It also can evaluate a specified JavaScript expression whenever something changes in the status of the djview interface. pluginobject.setdjvuopt("key",value) Set the value of the djvu option key to the character string value. This achieves the same effect as specifying option key=value among the CGI-style flags. For instance, values of the key page can be page IDs, page titles, page numbers, or page names. pluginobject.getdjvuopt("key") Return the value of the djvu option key as a string. The returned value is always a character string, even when the return is logi- cally a number. Boolean values are returned as strings yes or no. Besides the usual CGI-style flags, this function recognizes the additional key pages and returns the total number of pages in the DjVu document. An empty string is returned when the key is not recognized. pluginobject.onchange="code"; Ensure that string code is evaluated in the context of the plugin object whenever something changes in the djview graphical user interface. For instance, this evaluation happens when progressive refinements are painted, and when the user manipulates the image interactively. pluginobject.version Return a string describing the plugin version. This property can be used to test whether the djview plugin is scriptable in this browser. Note that the scriptability feature may not be accessible until the djview plugin is fully loaded. Therefore it is advisable to check pluginobject.version from the JavaScript onload before calling any other method. CREDITS
This program was written by Andrei Erofeev <andrew_erofeev@yahoo.com> and was then improved by Bill Riemers <docbill@sourceforge.net> and Leon Bottou <leonb@users.sourceforge.net>. SEE ALSO
djvu(1), ddjvu(1), djview4(1) djview3(1) DjView-4 1/4/2007 NSDEJAVU(1)