AphX
asked on
Make function call inside body instead of onLoad
Hi Experts!
I'm trying to use this code snippet and adjust it to fit my needs:
http://www.tek-tips.com/faqs.cfm?fid=5889
He is using body onload to call the function.
I want to call the function several times inside the body. How can I do that?
Thank you!
I'm trying to use this code snippet and adjust it to fit my needs:
http://www.tek-tips.com/faqs.cfm?fid=5889
He is using body onload to call the function.
I want to call the function several times inside the body. How can I do that?
Thank you!
ASKER
Ooh nice!
Can I call the function without any onclick element?
I want the function to be called like this:
<?php
for(some loop){
<script type="text/javascript" language="javascript">
createGradientV([255, 255, 255], [255, 255, 0], 1, 40);
</script>
}
?>
Is this possible?
Can I call the function without any onclick element?
I want the function to be called like this:
<?php
for(some loop){
<script type="text/javascript" language="javascript">
createGradientV([255, 255, 255], [255, 255, 0], 1, 40);
</script>
}
?>
Is this possible?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
You are the king! How would I survive without you?! :D
Gracias!
Open in new window