Click to See Complete Forum and Search --> : C# Picture Album


Schwarzenego
09-02-2010, 09:07 AM
Hello everyone.

I was looking for some answers over the internet but I didnt find what I was looking for and I dont think its hard to be done. Then, I've found this forum and it seemed like a cool place to ask =P

I am new to Asp.net development, HTML and stuff, but I am not new to programming, so I dont have much problem understanding code or thinking about how it should work, but the syntax and the "statelessness" of internet is driving me crazy =P

I need to create a webpage that will serve as an album of pictures. There will be several diferent albuns, with a variable number of pictures, therefore I need about everything to be kind of dynamic. First, I've tried to make at least part of it via javascript, by creating a function that when the user clicks a thumb, I load and replace the imagem with the new one. But I need the page to refresh on every click (for more Ad impressions, and more indexed pages at google). So what I need is: There are 8 Thumbs, 2 arrows, a picture, and a subtitle. If the user click any of the 8 thumbs, the picture will chance accordingly. If the user clicks one of the arrows, 8 new thumbs will come, like from 1-8 to 9-16. On every click, arrow or thumb, I need to refresh the page.

I know I am asking a lot, but I have no idea how this process would work, how could I maintain the "variables" and without JS I dont even know how to change the img src from load to load.

Anyone got any hints or an article I dont know, anything on the subject?

Thank you for your time,
Regards,
Schwarzenego