Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Randomly display whole sets of xhtml?
Old 06-26-2007, 02:25 PM Randomly display whole sets of xhtml?
highanddry's Avatar
Close Talker

Posts: 880
Name: Jacob
Trades: 0
I have a gallery that currently holds 20 images. I will soon have a page that consists of three or four galleries(each holding 20 images). The goal is to have a different/randomly selected gallery of 20 photos appear at the top of the page each time it is loaded. I have found numerous java codes, but most are impractical for what I am doing... Any help would be appreciated here!
highanddry is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-26-2007, 07:39 PM Re: Randomly display whole sets of xhtml?
crandall87's Avatar
Experienced Talker

Posts: 40
Trades: 0
You could use a php include to add these gallery pages. There is simple php code that can be used to display a random include that you can find by searching the net. We use it to generate a random testimonial on our sidebar.
__________________

Please login or register to view this content. Registration is FREE
crandall87 is offline
Reply With Quote
View Public Profile
 
Old 06-27-2007, 11:54 AM Re: Randomly display whole sets of xhtml?
highanddry's Avatar
Close Talker

Posts: 880
Name: Jacob
Trades: 0
Thanks, but perhaps you could point me to the phpsite..instead of teasing me with it! Anyways, I actually found a Javascript that does exactly what I want, so very easily. You just use common div classes and it randomly switches them up
highanddry is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Randomly display whole sets of xhtml?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11588 seconds with 12 queries