Re: A two flavored post

From: Date: Sat, 06 Oct 2007 23:30:46 +0000
Subject: Re: A two flavored post
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-262886@lists.php.net to get a copy of this message
At 1:49 PM -0400 10/6/07, Robert Cummings wrote:
On Sat, 2007-10-06 at 13:41 -0400, tedd wrote: Unfortunately, my solution isn't unobtrusive.
<a href="img.php?i=<?php echo($value);?>" onclick="window.location = this.getAttribute( 'href' ) + '&s=' + s; return false;"> However, I couldn't see a way to make it so.
Why not? I'm guessing because you need to the link to have the JavaScript variable in it. If this is the case then the href target should link to a page informing the user that they need to have JavaScript installed. By doing so you inform them of why clicking on the link is not having the desired outcome :) Cheers, Rob.
Rob: I would agree with you IF I was creating a web page for the general public. However, what I am creating in my laboratory is a monster of my own making that will be used only by my clients AND those clients will be required to have javascript turned on. Sometimes, programming for the lowest common denominator limits possibilities. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#262886) next »