View guestbook in fullscreen

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
Jomar
Posts: 50
Joined: Tue May 22, 2007 8:09 pm

View guestbook in fullscreen

Post by Jomar »

Script URL: http://www.ceesenco.nl/gbook17/gbook.php
Version of script: 1.7
Hosting company: Pins
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
fullscreen
Write your message below:

Sometimes I like to make my websites visible in fullscreen mode, also the guestbook I use on this website.

In html I use the code:
window.moveTo(0,0);
window.resizeTo(screen.availWidth,screen.availHeight);

Is there a way to use this code in the guestbook?
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hello Jomar,

I you normally do this by using the onload function in your body tag, you can edit the file overall_header.php which is place in the templates/default folder.

I just now looked further into your code.
You have it inside the <body>...</body> part.
Than you can use the header.txt file which is inside your gbook folder. Juste paste the code

Code: Select all

<script type="text/javascript"> 
self.moveTo(0,0); 
self.resizeTo(screen.availWidth,screen.availHeight); 
</script>
inside it.

But to be honest, i hate it when websites try to control my browser. I have a 24" screen (1920x1200 pixels). Most websites are not build te be shown on a screen that wide. Also the guestbook would become unreadable when it is that wide because of a to long line length. So i normally have my browser only displayed on half my screen width.

Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Jomar
Posts: 50
Joined: Tue May 22, 2007 8:09 pm

Post by Jomar »

Guess you're right Henrie, although I don't think a lot of the visitors of this guestbook have the luxury of a big screen ;-)

But I made some changes in the lay-out and now I think it looks better on the small window.
Post Reply