Home | Advertising Info60 USERS CURRENTLY ONLINE   
PowerASP
   Site Search Contact Us Thursday, January 16, 2025  

  Active InfoActive Info  Display List of Info MembersMemberlist  Search The InfoSearch  HelpHelp
  RegisterRegister  LoginLogin
Classic ASP - General
 PowerASP Code Help Area : Classic ASP - General
Subject Info: Need popup window from ASP/Access SQL A d d  -  P o s tAdd P o s t
Author
Message << Prev Info | Next Info >>
Keith
Newbie
Newbie


Joined: June/20/2004
Location: United States
Online Status: Offline
Info: 1
Added: June/20/2004 at 3:10pm | IP Logged Quote Keith

Hi Guys,

I need to combine a script like the following ;
http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm

with my ASP product listing code.. which looks like this:

If Trim("X"&rs("Thumbnail")) = "X" Then thmbnl = "" Else thmbnl = "<img src=""img/products/"&rs("Thumbnail")&""" vspace=2 hspace=2 align=left border=0 alt="&KeywordExcerpt(strContent, 75, 76)&">"
Response.Write"<tr"&bgColor&""&dynrow&"&g t;<td"&dyngo&" valign=""middle""><font color=""#333333"" size=""1"" face=""Verdana, Arial, Helvetica, sans-serif""><A HREF=""default.asp?pg=products&specific="&Encrypt(rs ("ITEMID"))&""">"&thmbnl&"<b> Image Name: </b>"&rs("ITEMNAME")&"<br><b> Description: </b>"&Excerpt(rs("DESCRIP"),200,170)&"</td& gt;</A>"&_

I would prefer to use DHTML to do a popup of the large product image (from the column "ImageFile" in the DB) as I have a feeling it might be less susceptible to pop-up blocking software than javascript. The end result should however be the same, I would just like the user to be able to rollover the product thumbnail that is displayed from the above code and have the IMG show up as a centered frameless window with no toolbars or such.

Additionally, it'd be great if the picture was scaled to a certain size automatically; the 'big' product pics are 720 pixels wide or high. Having these pictures scaled down to 300 pixels or so would be great for loading times..

Thanks!

Back to Top View Keith's Profile Search for other info by Keith
 

If you wish to make a comment to this info you must first login
If you are not already registered you must first register

  A d d  -  P o s tAdd P o s t
Printable version Printable version

Info Jump
You cannot add new info in this area
You cannot add to info in this area
You cannot delete your info in this area
You cannot edit your info in this area
You cannot create polls in this area
You cannot vote in polls in this area

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2025 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages asp source code database MS SQL MS Access .mdb adovbs.inc cookies calendar codes sql commands scripts asp programming tutorials iis web server components CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspprotect.com, www.cjwsoft.com,www.aspclassifieds.com,www.aspphotogallery.com