
Originally Posted by
nospoony
<a href="javascript:popBeeld('aanbieding/boeket/big1.JPG?'+newDate().getTime()','Boeket v/d Week')">
Have you considered that if scripting is disabled, that image will be inaccessible to the user?
HTML Code:
<a href="aanbieding/boeket/big1.JPG" onclick="popBeeld(this.href, 'Boeket v/d Week'); return false;">
If you are trying to prevent caching by appending a number to the URL, first think if you really need to do that (caching is your friend - only disable it if absolutely necessary), and second, do it from the server.
the function popBeeld is working though.
Perhaps, though it still would have been nice to know what the arguments for that function mean. For example, if the second argument was the name for a new window, you'd have problems because any characters beyond letters, numbers, and underscores generally aren't well-received.
Mike
Bookmarks