If you want to inform your website\'s visitor that there are more information to be displayed or still to be loaded on your page, you may need a 'loading' or 'wait' icon. An Ajax loading icon is also most commonly used on AJAX-base sites and applications. Here, we present to you online tools that will generate an AJAX loading icons.
Friday, July 15, 2011
AJAX Loading Icon Generators
AJAX Loading Icon Generators
If you want to inform your website\'s visitor that there are more information to be displayed or still to be loaded on your page, you may need a 'loading' or 'wait' icon. An Ajax loading icon is also most commonly used on AJAX-base sites and applications. Here, we present to you online tools that will generate an AJAX loading icons.
If you want to inform your website\'s visitor that there are more information to be displayed or still to be loaded on your page, you may need a 'loading' or 'wait' icon. An Ajax loading icon is also most commonly used on AJAX-base sites and applications. Here, we present to you online tools that will generate an AJAX loading icons.
Labels:
Ajax,
gif,
icon,
icon generators,
loading image,
preloading,
url
Thursday, July 14, 2011
Div Scrollable Contents on MouseOver On Javascript
SCROLLABLE DIV CONTENTS WHEN MOUSE OVER THE SCROLL UP AND SCROLL DOWN LINKSSCROLLABLE DIV CONTENTS WHEN MOUSE OVER THE UP AND DOWN LINKS The top-level function, escape, encodes the string that is contained in the string argument to make it portable. A string is considered portable if it can be transmitted across any network to any computer that supports ASCII characters. We can use escape function in JavaScript to make a string portable to transmit it over a network. All the non ASCII characters are to be converted before sending them by using escape function. The escape function will replace these non ASCII characters to its two or four digit hex format.Scroll Up Scroll Down
Here Code
<html>
<script type="text/javascript">
var scrolling = null;
var _speed = 12;
function doScrollUp()
{
var d = document.getElementById('scroller');
d.scrollTop = d.scrollTop - _speed;
scrolling = window.setTimeout(function() {
doScrollUp();
}, 100);
}
function doScrollDown()
{
var d = document.getElementById('scroller');
d.scrollTop = d.scrollTop + _speed;
scrolling = window.setTimeout(function() {
doScrollDown();
}, 100);
}
function doStopScroll()
{
window.clearTimeout(scrolling);
}
</script>
<body>
<h2>SCROLLABLE DIV CONTENTS WHEN MOUSE OVER THE UP AND DOWN LINKS</h2>
<div id="scroller" style="width:100%; height:100px; overflow:hidden;">
SCROLLABLE DIV CONTENTS WHEN MOUSE OVER THE UP AND DOWN LINKS
<br /><br /><br />
The top-level function, escape, encodes the string that is contained in <br /><br />
the string argument to make it portable. A string is considered portable <br /><br />
if it can be transmitted across any network to any computer that
supports ASCII characters.<br />
We can use escape function in JavaScript to make a string portable
to transmit it over a network. All the non ASCII characters are to be <br />
converted before sending them by using escape function. The escape function <br />
will replace these non ASCII characters to its two or four digit hex format.<br />
<br /><br /><br /><br />
</div>
<div>
<span style="color:red;" onmouseover="doScrollUp();" onmouseout="doStopScroll();" style="padding-right:10px;">Scroll Up</span>
<span style="color:blue;" onmouseover="doScrollDown();" onmouseout="doStopScroll();">Scroll Down</span>
</div>
</body>
</html>
Labels:
div,
div scroll,
div scroll contents on mouseover,
JAvascript,
jquery,
mouse,
mouseover
Tuesday, July 12, 2011
Escape Function in Javascript or Jquery
Escape Function:
The escape() function encodes a string.
<script type="text/javascript">
unescape("you can pass & symbols & any other special characters through query string when you using ajax posting & jquery posting");
</script>
The top-level function, escape, encodes the string that is contained in the string argument to make it portable. A string is considered portable if it can be transmitted across any network to any computer that supports ASCII characters.
We can use escape function in JavaScript to make a string portable to transmit it over a network. All the non ASCII characters are to be converted before sending them by using escape function. The escape function will replace these non ASCII characters to its two or four digit hex format.
The escape function converts a blank space into %20, same way it converts & to %26.
The unescape() function decodes an encoded string.
<script type="text/javascript">
unescape("you%20can%20pass%20&%20symbols &%20any%20other%20special characters%20through%20query%20string when%20you%20using%20ajax%20posting &%20jquery%20posting");
</script>
The escape() function encodes a string.
<script type="text/javascript">
unescape("you can pass & symbols & any other special characters through query string when you using ajax posting & jquery posting");
</script>
The top-level function, escape, encodes the string that is contained in the string argument to make it portable. A string is considered portable if it can be transmitted across any network to any computer that supports ASCII characters.
We can use escape function in JavaScript to make a string portable to transmit it over a network. All the non ASCII characters are to be converted before sending them by using escape function. The escape function will replace these non ASCII characters to its two or four digit hex format.
The escape function converts a blank space into %20, same way it converts & to %26.
The unescape() function decodes an encoded string.
<script type="text/javascript">
unescape("you%20can%20pass%20&%20symbols &%20any%20other%20special characters%20through%20query%20string when%20you%20using%20ajax%20posting &%20jquery%20posting");
</script>
Subscribe to:
Comments (Atom)