Isn't this actually just using the target=_blank attribute though? All
you've done here, as I see it, is to not use the target attribute in the
tag, but use your _javascript_ to add the target attribute to the tag. Now
I haven't really gotten into xhtml compliance, but I don't understand
the logic
After a slight change in approach I've managed to simplify my code (to a degree).
qry_photos.cfm
--
cfset serverdir = d:\serverdir\photos\full\
cfset httpdir = http://urladdress/images/photos/full
!--- retrieve all JPGs ---
cfdirectory name=getrecords
action="">
I ended up revisiting an old photoalbum I have setup on a few sites (from a tutorial several years ago). In it the album uses a query and the resulting recordset to do all the work. HOWEVER, I used querysim when setting up and testing, and it never got changed. Now, instead of using a query I want
7:49 PM
Subject: Photo Album Modification
I ended up revisiting an old photoalbum I have setup on a few sites (from
a tutorial several years ago). In it the album uses a query and the
resulting recordset to do all the work. HOWEVER, I used querysim when
setting up and testing, and it never got
BTW, I'd reconsider moving to using directory listings.With querying a
database, you can have a lot more control over what (and how) photos are
displayed.
Not to mention that you can add descriptive text to go with each one and
sorting options if you use a database...
Which brings up an
*slaps forehead* correct, thanks Jim. I have it working now. I need them in a list for another purpose which I've now solved. Getting ahead of myself again it seems. Your point re using a database for more control is noted and understood, and for a full-on feature rich photoalbum I can understand
- Original Message -
From: Les Mizzell [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, August 25, 2004 8:26 PM
Subject: Re: Photo Album Modification
BTW, I'd reconsider moving to using directory listings.With querying
a
database, you can have a lot more control over
Thursday, 26 August 2004 12:45 PM
To: CF-Talk
Subject: RE: Photo Album Modification
*slaps forehead* correct, thanks Jim. I have it working now. I need them in
a list for another purpose which I've now solved. Getting ahead of myself
again it seems. Your point re using a database for more con
greets Mike,
I recall this approach from a discussion on the css-digest list and I'm already using it where appropriate. I guess the short answer is that it can't be done without the use of ANY js...no biggie. Thanks for the advice, and fortunately for the kingdom (or perhaps unfortunately,
9 matches
Mail list logo