rotate java script

Job ID: 37536429

Budget: $10 – $30 USD

I am looking for a skilled JavaScript developer to implement element rotation on my website. The specific functionality needed is to rotate elements on the page.

Ideal Skills and Experience:
- Proficient in JavaScript
- Experience with implementing element rotation
- Familiarity with JavaScript libraries for rotating elements

what I need is a code doing the following
if desktop load one of this scripts (priority from first to last and then loop)
1- <a target="_blank" href="https://www.adz2you.xyz/?ref=1"><img src="https://i.imgur.com/uHyqtmm.gif" border="0" width="300" height="250"></a>
2- <a target="_blank" href="https://www.adz2you.xyz/?ref=2"><img src="https://i.imgur.com/uHyqtmm.gif" border="0" width="300" height="250"></a>
3- <a target="_blank" href="https://www.adz2you.xyz/?ref=3"><img src="https://i.imgur.com/uHyqtmm.gif" border="0" width="300" height="250"></a>

else load one of this scripts (priority from first to last and then loop)

1- <a target="_blank" href="https://www.adz2you.xyz/?ref=1"><img src="https://i.imgur.com/uHyqtmm.gif" border="0" width="300" height="250"></a>
2- <a target="_blank" href="https://www.adz2you.xyz/?ref=2"><img src="https://i.imgur.com/uHyqtmm.gif" border="0" width="300" height="250"></a>
3- <a target="_blank" href="https://www.adz2you.xyz/?ref=3"><img src="https://i.imgur.com/uHyqtmm.gif" border="0" width="300" height="250"></a>


the script might be a table or iframe or script or so