PDA

View Full Version : About image buttons



mustee
04-22-2010, 11:26 PM
hi,

http://www.dynamicdrive.com/dynamicindex14/swissarmy/index.htm

in this adress, i want to use image buttons on my page.

everything is ok but when i click any image button my page is refreshing.

how can i disable this action ?



thanks...

BLiZZaRD
04-22-2010, 11:35 PM
Link to the page.

The script on this site is working fine, so we can't see whats wrong unless we look at your site.

mustee
04-23-2010, 07:31 AM
hi,

i will upload my site and write here again. thanks.

mustee
04-23-2010, 08:33 PM
http://www.yeniduster.com/prens/tr/galeri.aspx

hi,

I'm waiting your help. thanks...

BLiZZaRD
04-23-2010, 09:26 PM
It appears it is because you have everything wrapped inside form tags set to POST. there is no "submit" button, so any button acts as the submit, and when clicking the images it is submitting the form. Thus, refreshing the page.

Remove the <form> tags and it should be fine.

mustee
04-24-2010, 12:50 PM
that is running...

thank you very much.... :)