In my previous article I described how we can hide a scrollbar from user's view by putting the same color value as the web page.
What I have described in that article is absolutly fine for those web pages whose content fits in the browser display area because Netscape and Mozilla display no scrollbars for such pages and as far as IE is concern the scrollbar can be made transparent or hidden as it recognizes the CSS scrollbar properties. Even, if the page content is more than the browser display area, IE would show transparent or hidden scrollbar as it understands the css properties of the scrollbar but in case of Netscape and Mozilla they will display a scrollbar.
a small snipet of code will look like
window.open('URL', 'NAME', 'FEATURES', 'REPLACE')By default, If we provide the filename of a web page through the first argument, it will be loaded in the new window.
NAME: specifies a name for the new window which can be used as value for the target attribute of < a > tags.
FEATURES: let you define properties of the window such as width, height, presence or absence of scrollbars, location bar, status bar etc.
REPLACE: takes a boolean value... we won't bother ourselves with this argument!
The width and the height take a number (pixels) as value, for other features the value is either a yes or no.
This window has the menu and the status bars. The others are absent since we didn't specify them.
The fullscreen feature is specific to this browser and displays the document on the entire screen. A neat effect... sort of! Click on the F11 to remove the full screen display.
Note: Firefox and Netscape also open a full sized window but show the title bar at top.
- ► 2010 (40)
- Silverlight 3- Beta - released
- Creating Calender Using Java Script
- Use a session variable in the class files in c# AS...
- ASP page with database handling
- Keycodes at a glance
- Type Text in Upper Case using CSS
- Transparent or Hide Scrollbar
- disable scroll bar
- Sending Email Through ASP.NET using C#
- Overview of ASP.Net Framework
- ▼ March (14)