The forums have permanently moved to This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.

Results 1 to 6 of 6

Thread: randomize content help

  1. #1

    randomize content help

    am developing a web page and I have the following setup:
    <div class="employee_container">
          <div id="group1"></div>
          <div id="group2"></div>
          <div id="group3"></div>
    each time my page is refreshed I want to radnomize groups 1 thru 3. Maybe radomize isn't the correct method but something like randomize. If you land on the page and group1 is present and then you refresh the page can you force group2 to the surface or force group3? I know with randomize you can refresh the page and group1 might appear all 3 times. I really am looking for something that will rotate the groups.

  2. #2
    I think you're looking for PHP sessions; it can store data for users between pageviews.

  3. #3

    I am not using php though.

  4. #4
    What are you using?

  5. #5
    I am using javascript. Here is a link http://dev-westfield.virtualhorizons..._westfield.jsp

    I haven't worked on it since this morning. I got pulled off to work on something else. I found some code that let me rotate the images based on a set interval, but I don't want that. Essentially, there are 6 people across the top of the page and there will be 3 groups of people. When you rollover a large image appears. I need to have the groups rotate when the page is refreshed.

  6. #6

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Home About Meet the Moderators Advertise

 Link to Us


Copyright 1999 - 2012