LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-21-2004, 01:33 PM   #1
taoweijia
Member
 
Registered: Sep 2003
Posts: 163

Rep: Reputation: 30
how to invoke Mozilla webpage in full screen when it is run


hi

I have a program which calls Mozilla to display a flash file and I want this Mozilla page to be in full screen mode automatically( so that I can fully display flash files with any dimension) when it is run. also i need to pass it a dimension of full screen, i.e fullscreen maybe 300 x 400 or 500 x 700.
how do I do it? I tried many times but all faild, it doesn't work that simple as it looks to me. the full screen problem has been a big big headache.
anyone has done the similar thing please give me some idea.

thank you very much
 
Old 01-21-2004, 02:54 PM   #2
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
I usually hit F11 or go to View>Full Screen and it works. As for full screen automatically just by opening up Mozilla, I have no idea. Why would you put any restraints on the full screen size? If you run "full screen" at 300x400 or 500x700 then it's not really full screen is it? If you want it smaller than your actual Mozilla window, then you should be able to view it smaller I would think by View>zoom or whatever for resizing. I'm not at my linux box at home right now and don't have mozilla here or I'd give better details on how to full screen/zoom. Hopefully this helps.
 
Old 01-22-2004, 04:28 AM   #3
taoweijia
Member
 
Registered: Sep 2003
Posts: 163

Original Poster
Rep: Reputation: 30
hi Texicle,
thanks for your reply, but I don't want to hit F11 or go to menu to zoom, what I am looking for is a way to programmatically invoke Mozilla ( by changing the source, or by a script file which pass through the params). I forgot to say that I will also get rid of all the menu bars and buttons when Mozilla is running. Ok, dont mind the restraint of full screen size now. if anyone knows how to display Mozilla webpage in full screen mode without interfacing with its GUI, it will be much appriciated.
thanks.
 
Old 01-22-2004, 04:33 AM   #4
taoweijia
Member
 
Registered: Sep 2003
Posts: 163

Original Poster
Rep: Reputation: 30
and....i fond the function which deal with the full screen thing in Mozilla source, i tried to call it in the initialization function and it failed, any one knows where should I invoke this full screen function? thanks a lot
 
Old 01-23-2004, 07:13 AM   #5
nowonmai
Member
 
Registered: Jun 2003
Posts: 481

Rep: Reputation: 48
if it's a javascript function, just put it in the <body> tag in the page.
 
Old 02-21-2004, 05:45 PM   #6
german
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Debian etch, Gentoo
Posts: 312

Rep: Reputation: 30
if you unzip $MOZILLA_HOME/chrome/browser.jar and edit (I think) browser.xul and browser.js you can follow through where it initializes the window, and call the fullscreen method. I have done this before, there are a few references available through google to help you out. You can use this method to disable most of the functionality of the browser to make a kiosk browser, for instance.

HTH

B.
 
  


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
Screen Lock up when enabling full screen in VLC unux82 Linux - Software 0 07-20-2005 04:01 AM
Mozilla scroll bar inactive during downloading of a webpage Linils Linux - Software 0 03-19-2004 12:35 PM
Can't get games to run full screen help! snatale1 Mandriva 0 02-29-2004 09:23 PM
scripting a mouse movement and click & mozilla full screen kingshrimp Linux - Software 2 11-26-2003 08:02 AM
Unable to run webpage on local server using ip in the url MakingOfAGeek Linux - Newbie 16 11-15-2003 08:09 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration