New versions of favorite applications are always a little tricky; you want to keep up with the times without fixing what ain't broke. With that in mind, I took a look at the newly released Firefox 3 Beta 2 to see what we can look forward to when the final version ships in 2008.
Although the basic look of the browser hasn't changed, there are actually quite a few new features coming. (For a complete list, you can check out Mozilla's release notes.)
[Improved in Beta 2!] Firefox 3 Beta 2 includes approximately 900 improvements over the previous beta, including fixes for stability, performance, memory usage, platform enhancements and user interface improvements. Many of these improvements were based on community feedback from the previous beta.
Some of the new features in Firefox 3 are not immediately obvious -- at least, not to the casual user. Among other things, Mozilla is incorporating new graphics- and text-rendering architectures in its browser layout engine (Gecko 1.9) to offer rendering improvements in CSS and SVG; adding a number of security features, including malware protection and version checks of its add-ons; and off-line support for suitably coded Web applications.
Here is a java script function that opens a new window (popup) and puts it on center of screen:
<script>
function PopupCenter(pageURL, title,w,h) {
var left = (screen.width/2)-(w/2);
var top = (screen.height/2)-(h/2);
var targetWin = window.open (pageURL, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width='+w+', height='+h+', top='+top+', left='+left);
}
</script>
The link example would be like this:
<a href="javascript:void(0);" onclick="PopupCenter('http://www.nigraphic.com', 'myPop1',400,400);">CLICK TO OPEN POPUP</a>
CLICK TO OPEN POPUP
This is a COPY and PASTE script, tested on internet explorer 7 / 6 and firefox 2.
if you put # before any css tag, only IE 7 and IE 6 will read that line.
if you put _ before any css tag, only IE 6 will read that line.
example:
width: 560px; /* All other browsers */
#width: 558px; /* IE 6 & 7 */
_width: 557px; /* IE 6 */
just remember to keep this order.