By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,066 Members | 1,625 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,066 IT Pros & Developers. It's quick & easy.

onclick in <img src=""> tag?

P: n/a

On my personal webpage (under construction) I have a page with photos
that are all set to:


The webpage is being developed using 'Visual Studio 2005'.

However I would like the user to be able to click a picture and then
load the actual size in another window.

I've been trying this:

Dim myPhoto(12) as string
Dim myCount as integer

myPhoto(0) = "aPhoto1.jpg"
myPhoto(1) = "aPhoto2.jpg"

and so on....

Any body that can show me how to write this function?

Is it correct to make an array?


Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.