We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Exhibition link issues (Read 653 times)
Exhibition link issues
Nov 28th, 2005, 6:23pm
 

There seem to be issues with some exhibition links while running IE 6 (sp2)

Line: 7
Char: 3
Invalid Argument

This applys to "Flight Patterns" "Net Worth" "letter pairs analysis" "unreal art" "metropop denim" "electroPlastique" and "thinkingMachine4".

A safer method for javascript window calling (and one which will continue to work with non JS browsers) is to use both an <a href link and a function call such as:

<a href="mypage.html" target="popup"
onClick="wopen(mypage.html', 'popup', 648, 480); return false;">

Where wopen ==

<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=yes, resizable=yes');
win.resizeTo(w, h);
win.focus();
}
// -->
</script>


Cheers.
Page Index Toggle Pages: 1