User Profile

Collapse

Profile Sidebar

Collapse
thimmappa
thimmappa
Last Activity: Oct 14 '10, 12:47 PM
Joined: Sep 16 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • thimmappa
    replied to How to change data on html page?
    i have a code for single array to shuffle here it is
    Code:
    <html>
    <head>
    <title>How to shuffle an array in JavaScript</title>
    <script language="JavaScript">
    
    Array.prototype.shuffle = shuffle;
    
    function shuffle()
    {
    
          var tempSlot;
    
          var randomNumber;
    
    
          for(var i =0; i != this.length; i++)
    ...
    See more | Go to post
    Last edited by acoder; Oct 14 '10, 11:57 AM.

    Leave a comment:


  • thimmappa
    started a topic How to change data on html page?

    How to change data on html page?

    Hi all
    i have shuffle function with me which shuffles data in an array and i am displaying the array values in a table along column wise.By an on click event the values in the table has to be shuffled and again they have to be displayed in the table.
    shuffle function code is here
    Code:
    function shuffle()
    {
    
          
    
          var randomNumber;
    
          var len=this.length-1;
    ...
    See more | Go to post

  • thimmappa
    started a topic spinning data

    spinning data

    Hi Friends,
    In ext-touch-debug.js file there is a function with the name Ext.Picker in which there is code for placing the values in the spinner. Here is the code

    Code:
    Ext.Picker = Ext.extend(Ext.Panel, {
    …………….
    …………..
    …………
    for (i = 0, ln = this.slots.length; i < ln; i++) {
    slot = this.slots[i]; // alert('i value is..... '+i);
    //alert("display field is....."+this.displayField);
    ...
    See more | Go to post
    Last edited by gits; Sep 20 '10, 02:00 PM. Reason: added code tags

  • If you are trying to achive scrolling text through javaScript you can have a look at the free code provided at http://pc.byethost17.com/scripts/javascript/?id=54
    Copy the code in your <script> tags in your HTML file and use the fucntion to call it using the function scroller = new Scroller(SCROLL ING_TEXT_ID, SLOWER_ID, FASTER_ID, CHANGE_DIRECTIO N_ID);
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...