Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 22-05-2005, 01:51 PM   #1 (permalink)
What? Where? How?
 
escape7's Avatar
 
Join Date: Dec 2004
Location: Home
Posts: 402
Default Need Help; HTML Querriesl


1. Can i make an HTML page go fullscreen on opening. If yes, how?
2. I want to make a button, which on being pressed closes itself(the html page). How do i do it?
__________________
98% of the people using internet have started or forwarded "chain mails". If you are one of the 98%, Die a horrible death.
escape7 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 22-05-2005, 01:58 PM   #2 (permalink)
Just Do It
 
Charley's Avatar
 
Join Date: Feb 2005
Location: Bangalore
Posts: 2,125
Default Re: Need Help; HTML Querriesl

Quote:
Originally Posted by escape7
1. Can i make an HTML page go fullscreen on opening. If yes, how?

You can get to full screen mode two ways. You can have the window simply open full screen by itself or set up a button or link that will open the window.
Internet Explorer user can also get to a kind-of full screen mode by just hitting F-11. If you're using MSIE, try it. Hit F-11 again to return to normal mode. Since it doesn't work in Netscape Navigator, I am not making it a subheading. I just wanted to mention it so you'll know the trick.

Let's start with just opening the browser in full screen mode. It's easy. Copy and paste this into the page's HEAD tag section:

<script>
<!--
window.open("bigpage.html","fs","fullscreen,scroll bars")
//-->
</script>

That format will give you scrollbars. If you don't want scrollbars, just alter the code a bit to this:

<script>
<!--
window.open("bigpage.html","fs","fullscreen=yes")
//-->
</script>

Note that the "fs" is simply a name I assigned to the page. You really don't even need that in there. The page will open without it.

2. I want to make a button, which on being pressed closes itself(the html page). How do i do it?
You might take it from the italic statements above that the newly opened full screen can be closed through hitting F-11. Nope. You need to offer the user the ability to close the window. Add this code to the newly opened page:
Close window

That will offer a link that closes the window named "fs". See why I used a name for the page?

If you'd like a button that closes the window, try this:

<FORM>
<INPUT TYPE="button" VALUE="Close the Window" onClick="window.close('fs')">
</FORM>


Charley is offline  
Old 22-05-2005, 02:23 PM   #3 (permalink)
What? Where? How?
 
escape7's Avatar
 
Join Date: Dec 2004
Location: Home
Posts: 402
Default Re: Need Help; HTML Querriesl

[quote="achacko@dataone.in"]
Quote:
Originally Posted by escape7
1. Can i make an HTML page go fullscreen on opening. If yes, how?

You can get to full screen mode two ways. You can have the window simply open full screen by itself or set up a button or link that will open the window.
Internet Explorer user can also get to a kind-of full screen mode by just hitting F-11. If you're using MSIE, try it. Hit F-11 again to return to normal mode. Since it doesn't work in Netscape Navigator, I am not making it a subheading. I just wanted to mention it so you'll know the trick.

Let's start with just opening the browser in full screen mode. It's easy. Copy and paste this into the page's HEAD tag section:

<script>
<!--
window.open("bigpage.html","fs","fullscreen,scroll bars")
//-->
</script>

That format will give you scrollbars. If you don't want scrollbars, just alter the code a bit to this:

<script>
<!--
window.open("bigpage.html","fs","fullscreen=yes")
//-->
</script>

Note that the "fs" is simply a name I assigned to the page. You really don't even need that in there. The page will open without it.
u confused me there.

& how do i link another page to one using a button.
__________________
98% of the people using internet have started or forwarded "chain mails". If you are one of the 98%, Die a horrible death.
escape7 is offline  
Old 22-05-2005, 02:27 PM   #4 (permalink)
Just Do It
 
Charley's Avatar
 
Join Date: Feb 2005
Location: Bangalore
Posts: 2,125
Default Re: Need Help; HTML Querriesl

u confused me there.

& how do i link another page to one using a button.[/quote]

Right, it didnt get into the quote box, anyway here it is below

You might take it from the italic statements above that the newly opened full screen can be closed through hitting F-11. Nope. You need to offer the user the ability to close the window. Add this code to the newly opened page:
Close window

That will offer a link that closes the window named "fs". See why I used a name for the page?

If you'd like a button that closes the window, try this:

<FORM>
<INPUT TYPE="button" VALUE="Close the Window" onClick="window.close('fs')">
</FORM>
Charley is offline  
Old 22-05-2005, 09:26 PM   #5 (permalink)
What? Where? How?
 
escape7's Avatar
 
Join Date: Dec 2004
Location: Home
Posts: 402
Default

thanks there.

1. In a html page, how do i write something within fixed dimensions.
I'd like a window in which i display the info. With vertical scrolling only.

2. How do make a button that inturn is linked to another page.
__________________
98% of the people using internet have started or forwarded "chain mails". If you are one of the 98%, Die a horrible death.
escape7 is offline  
Old 04-09-2005, 01:59 PM   #6 (permalink)
What? Where? How?
 
escape7's Avatar
 
Join Date: Dec 2004
Location: Home
Posts: 402
Default

how do i add date & time in an HTML page?
__________________
98% of the people using internet have started or forwarded "chain mails". If you are one of the 98%, Die a horrible death.
escape7 is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Sujeet
- by gforz
- by soumya

Advertisement




All times are GMT +5.5. The time now is 03:25 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2