<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<P><FONT size=2></FONT></P>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2><SPAN class=930260905-09122001><FONT face=Arial size=3> I prefer the
JavaScript bible by Goodman awesome...!</FONT></SPAN></FONT></DIV>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2><SPAN class=930260905-09122001><FONT face=Arial
size=3>Scott</FONT></SPAN></FONT></DIV>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2><SPAN class=930260905-09122001><FONT face=Arial size=3><A
href="http://www.goldentroll.com">www.goldentroll.com</A></FONT></SPAN></FONT></DIV>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2><SPAN class=930260905-09122001><FONT face=Arial size=3>(it shouldn't
crash Netscape now.....)</FONT></SPAN></FONT></DIV>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2><SPAN class=930260905-09122001><FONT face=Arial
size=3> </FONT></SPAN>-----Original Message-----<BR><B>From:</B>
javascript-admin@LaTech.edu [mailto:javascript-admin@LaTech.edu]<B>On Behalf Of
</B>Dave<BR><B>Sent:</B> Saturday, December 08, 2001 5:59 AM<BR><B>To:</B>
javascript@LaTech.edu<BR><B>Subject:</B> Re: [Javascript] thumbnails displayed
on one html page<BR><BR></DIV></FONT>Hi Peter, <BR> Thanks for
the quick response on my question. I will use this info and try to make it work
again and then if I have a problem I can ask another more specific question.
What book would you consider to be the best on Javascript? I have found that
when buying books that I usually end up with about 10-20 books on the same
subject as not all books are created equal, and some books have more info or are
written in an easier to learn fashion. I tend to favor O'Reilly or Wrox..I would
like your honest opinion of a book that I should get..... <BR>Thank you,
<BR>Dave
<P>Peter Brunone wrote:
<BLOCKQUOTE TYPE="CITE">Dave,
<P> In server-speak, the parameters
after the ? in the URL are called the <BR>querystring. In the client
side world... well, I don't know what to call <BR>them, so we'll just keep
calling them that :-)
<P> Using the window.location.href
property, you can get the entire URL of the <BR>current page (including
parameters that you append). The correct syntax for <BR>appending
parameters is as follows:
<P><A
href="http://www.domain.com/directory/file.html?param1=this&param2=that">http://www.domain.com/directory/file.html?param1=this&param2=that</A>
<P>and so on. When you grab this entire string using
window.location.href, you <BR>can then parse the URL for the pieces you want
using the .substring and <BR>.indexOf methods and the .length property of your
string. For example, if <BR>you wanted the piece of the above URL (after
putting it into a variable <BR>called strURL) after the question mark, you
would do the following:
<P>strParams = strURL.substring(strURL.indexOf("?"), strURL.length);
<P> You could then split up the
pieces further. I suggest you pick one of the <BR>Javascript resources
from <BR><A
href="http://www.mountaindragon.com/javascript/resources.htm">http://www.mountaindragon.com/javascript/resources.htm</A>
or a good book and <BR>read up on the string methods.
<P> Alternatively, you could do this
server-side with PHP, ASP, PERL, or <BR>another scripting environment.
For what it's worth, I find server-side <BR>methods easier and more powerful
for dynamic content like this, but what you <BR>want is still attainable with
client-side Javascript.
<P>Cheers,
<P>Peter
<P>|-----Original Message----- <BR>|From: javascript-admin@LaTech.edu [<A
href="mailto:javascript-admin@LaTech.edu">mailto:javascript-admin@LaTech.edu</A>]On
<BR>|Behalf Of Dave <BR>|Sent: Friday, December 07, 2001 8:21 PM <BR>|To:
javascript@LaTech.edu <BR>|Subject: [Javascript] thumbnails displayed on one
html page <BR>| <BR>| <BR>|Hi, <BR>| I am not an expert so I
have come to find help on an operation I <BR>|have seen work, but cannot get
it to work for me. I want to display <BR>|pictures created with thumbnails
with the output going to a single html <BR>|page so I can retain my background
to match my website. This is opposed <BR>|to the full sized image being
displayed on a white background and in the <BR>|upper left hand corner. I have
heard of a "?" extension (in html 4.01) <BR>|being applied to an html document
in the URL address with everything <BR>|being set after a "?" in a document,
accessable from javascript in the <BR>|opened document. You can then use it to
send the filename of the image <BR>|to be opened on that page. Does anybody
know how to do that? <BR>|Thanks, <BR>|Dave <BR>|</P></BLOCKQUOTE></BODY></HTML>