Results 1 to 7 of 7

Thread: Image, text and link in random order in a table

  1. #1
    Join Date
    Nov 2006
    Posts
    116
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default Image, text and link in random order in a table

    Hi Guys,

    I'm looking for a a script where i have a set of 6 images with Text and link. i want them them to appear in random order inside a table of 4 cells. Which means that any 1 time there will be only 4 images with it's corresponding text , link and image to appear. Every time a user visits the page, will see the images in different order.

    I know you guys can do it without any problems.

    I have found a script, but i can't get it to show 4 images at the same time, in different cells.

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    How are you bringing the images in? Hard coding? Dynamic server-side scripting? Content Management System?

    Do you want to use a server-side solution(will almost always work) or a client-side (won't work with JavaScript turned off)?

  3. #3
    Join Date
    Nov 2006
    Posts
    116
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    Thanks for responding. i really don't understand the terms that you have used. I'm quite new to this. You can see the my page here

    I want the 4 images in the left side (FMT-series, 4-20ma etc etc) to randomly rotate and with 2 new ones appearing. all randomly.

  4. #4
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    My question was how are you pulling in those images/text. Did you hard code everything or is being pulled in from some sort of database?

    Are you just trying to randomly position those 4? Or do you have a list of products of which you want 4 to randomly appear?

  5. #5
    Join Date
    Nov 2006
    Posts
    116
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    Hi Medyman,

    I don't have a database. I have coded the links of the images.

    I have a table with 2 rows and 2 columns. And i have a set of 6 images with text and link. I want any 4 to appear in random order. So that frequent visitors know that the pages are updated.

  6. #6
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Bornfree, you might find this thread to be informative.

  7. #7
    Join Date
    Nov 2006
    Posts
    116
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    Hi Medyman,

    Yes i did find it very informative. I'm able to get the images appearing in random order. Do you thik there is a way to include some "text" with the corresponding image as well?

Bookmarks

Posting Permissions

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