View Single Post
Old 2015-05-03, 12:39 PM   #1
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
Question non-javascript help

Anyone know how I can do this without using javascript?

Code:
<a href="bondage-movies/bdsm-videos-0002.shtml" onclick="window.open(this.href, 'mywin',
'width=600,height=400,toolbar=no, location=no,directories=no,status=no,menubar=no,scrollbars=yes,copyhistory=no, resizable=yes'); return false;">
Basically I need to create a resizable new window without any toolbars, status data, menus, etc. but without using javascript. Oh and it has to work across all browsers and tablets (not too worried about 'phones as the site will not really shrink enough for 'phones).

The reason being that I need to check any clicks on the new window for the ability to carry a referrer, and there is a bug in all versions of IE from 98 onwards (Microsoft claim it is a "feature" everyone else calls it a "bug") that means you always get "no referrer" from a javascript generated window.
ecchi is offline   Reply With Quote