Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
ASP Dreamweaver and Dynamic popups
Old 04-06-2006, 07:14 AM ASP Dreamweaver and Dynamic popups
Junior Talker

Posts: 4
Trades: 0
I'm working on a site (not my design) http://www.logotshirtcuptileproducts.com/horses.asp and on the page listed I'd like to create dynamic popups that show a large image (large version of thumbnail) when you click on one of the thumbnails. I need to do this dynamically for each image on the page.

I also need to create a button underneath that says 'add' and I need to have a unique one for each image on the page that repeats dynamically.

Any ideas would be appreciated. I use Dreamweaver and am not the greatest coder so dreamweaver ways of doing it help me a lot.

Chris
aptmusic is offline
Reply With Quote
View Public Profile Visit aptmusic's homepage!
 
 
Register now for full access!
Old 04-07-2006, 03:53 AM Re: ASP Dreamweaver and Dynamic popups
Junior Talker

Posts: 4
Trades: 0
Well, I've since managed to get the thumbnails at http://www.logotshirtcuptileproducts.com/horses.asp to link to a larger image. However I'm unsure of where to place an onclick event handler that opens the browser of the linked image in a small window, or as a small sized popup window. Any ideas? I tried to just stick it int there but it messes with the asp coding.

Chris
aptmusic is offline
Reply With Quote
View Public Profile Visit aptmusic's homepage!
 
Old 04-07-2006, 04:00 AM Re: ASP Dreamweaver and Dynamic popups
Junior Talker

Posts: 4
Trades: 0
Sorry, I'm posting the code below. I tried to put an onclick and window resize javascript behavior as part of the link but it messed up the asp. I assume I'm inserting it in the wrong place or going about it the wrong way. The code looks like this
<%
While ((Repeat1__numRows <> 0) AND (NOT rs_horses.EOF))
%>
<a href="large_image.asp?productID=<%=(rs_horses.Fiel ds.Item("productID").Value)%>" target="_blank"><img src="<%=(rs_horses.Fields.Item("imageURL").Value)% >" width="150" height="150" border="0"> </a>

<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
rs_horses.MoveNext()
Wend
%>

Where should the onclick go?
aptmusic is offline
Reply With Quote
View Public Profile Visit aptmusic's homepage!
 
Old 04-07-2006, 07:07 AM Re: ASP Dreamweaver and Dynamic popups
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
I did a simular thing to this - take a look at the code for the product listings at www.inoxia.co.uk to see how I did it - all the thumbnails open in a new window that is the correct size for the image, and are centered on the screen.
I used ASP.NET code to get the sizes of the images dynamicly - not sure how you'd do that in old hat ASP.
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 04-08-2006, 06:48 AM Re: ASP Dreamweaver and Dynamic popups
Junior Talker

Posts: 3
Trades: 0
I did a similar website too.
Please visit http://www.changfucaps.com/index_list.asp?id=1
to see whether that is what you want...^-^

Last edited by itpretty; 04-08-2006 at 06:50 AM..
itpretty is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to ASP Dreamweaver and Dynamic popups
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.34744 seconds with 12 queries