I want a script change link after first click on images
for example :
we see this in main page :
<a href=X><img src=1></img></a>
<a href=X><img src=2></img></a>
After visitor click on one of above links , i want all links change to below :
<a href=Y><img src=1></img></a>
<a href=Y><img src=2></img></a>
Important Notice :
It must setup with cookies and surfer when visit new domain or visit in another time , it be renew
I have a file about expire cookie , and it help about how cookie expiration
Also :
-i need to put codes in main page and it can works
-can provide identify for every link , for example
<a href=x id=change><im src=1></img></a>
<a href=f><img src=2></img></a>
after click on them then links with id=change , will must change and links without id not change