Joomla Script
£20-250 GBP
Dibayar saat pengiriman
very simple project I want an animated button that when clicked sends a POST command with URL + Command such as
http://mywebsite/?OP05=T but without displaying the url being sent preferable to be done in ajax so only refresh's button object
Needs to work in a module in Joomla 2.5, the button I will supply but any can be used to test.
This is the start of a Complex user interface so possible more development work for right person, this work is required for a demonstration of an interactive system.
as an update this is a piece of code i was working with although error i had was onclick undefined and when clicking goes back to top of page which is not what i want but i suspect removing # will resolve this
<script type="text/javascript">
// <![CDATA[
function SendData(strData)
xmlhttp.onreadystatechange = function() {
if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
// The page has been requested and your code has been run
}
xmlhttp.open("GET", "URL of website" + strData, true);
xmlhttp.send();
}
}
// ]]>
</script>
<a onclick="SendData(?OP05=T);" href="#"><img src="images/banners/dont_press.jpg" alt="dont press" width="160" height="160" /></a>
ID Proyek: #2475116
Tentang proyek
Diberikan kepada:
I am very familiar with Ajax and Userinterfaces via jQuery. This project should be no problem at all!