[thelist] Perl, SSI, Paths and JS?
.jeff
jeff at members.evolt.org
Thu Feb 7 12:21:01 CST 2002
sabrina,
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Sabrina Dent, Apperception
>
> 2. Pop-Ups
>
> I actually want the large image to appear in a pop-up,
> the JS code of which is already in gallerytest.shtml.
> Therefore, I need to edit the <a href> tag in the Perl
> script to include the openWindow command, and I don't
> know how to do that.
>
> The Perl code as it is:
> <a href=\"$script_name\?$tnlist[($anum * 1)]\">
>
> And the JS code is:
> <a href="JavaScript:openWindow2('pop_icon_legend.asp')">
>
> So what I'm looking for is something like:
> <a href=\"JavaScript:openWindow2('$script_name\?$tnlist[($anum * 1)]\')">
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
you're unnecessarily making the large images available only to javascript
enabled users. give this fresh article a read:
Links & JavaScript Living Together in Harmony
http://evolt.org/article/thelist/17/20938/index.html
enjoy,
.jeff
http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/
More information about the thelist
mailing list