11-18-2005, 05:47 AM
(This post was last modified: 11-18-2005, 05:48 AM by Cryptoys.com.)
Quote:Well what the hell are you sitting here typing for man, dig it up! Dig it up!!![]()
Does it resize the .jpg as well or just tables??? I\'m so lost. There are a TON of frikkin tables in there :ph34r:
[post=\"123099\"]<{POST_SNAPBACK}>[/post]
What an ass. Anyway here\'s your fricken code. The jpg.s have to be set at the size you want them, resizing to a browser is really not a good idea.
It screws with pics and layout and on some screens makes the page look really bad.
That\'s why I don\'t know the code by heart. The screen size you should set for is 800x600 pixels.
My site is slightly larger than that, most peoples screens are larger, 84% of the population have larger screens but I still wouldn\'t want to alienate 16% of my visitors.
This requires Java script, and some people have it disabled and some companies require it to be disabled.
Also I am not guaranteeing this too work, website design as you know are far from an exact science. Jason
<!-- In the head section of the page
<script>
<!--
function wopen(url, name, w, h)
{
// Fudge factors for window decoration space.
// In my tests these work well on all platforms & browsers.
w += 32;
h += 96;
var win = window.open(url,
name,
\'width=\' + w + \', height=\' + h + \', \' +
\'location=no, menubar=no, \' +
\'status=no, toolbar=no, scrollbars=no, resizable=no\');
win.resizeTo(w, h);
win.focus();
}
//
</script>