Forum Moderators: open

Message Too Old, No Replies

Need randomizing script for library items

         

pixelmedia

4:41 pm on Oct 6, 2004 (gmt 0)

10+ Year Member



Hello. I already have a working javascript that will load a different image every time my page is refreshed. However, I am trying to go further with this and load library items instead of images. So if I'm showing my portfolio pieces, I would like different sets of images, html text and URL links to show each time the user logs in. I could have all of these elements as an image, but then how could I link them to different places (for each project I'm showing more information).

Thanks for any help I can receive.

Michelle

Longhaired Genius

5:14 pm on Oct 6, 2004 (gmt 0)

10+ Year Member



Hi Pixelmedia.

Using Javascript for this sort of thing is heading in the wrong direction. What you want to do can be achieved much more elegatly with a "server-side" language like php rather than the "client-side" approach of Javascript.

Do you have php on you webhost or are you perhaps on a free host? If the latter, It's time to find a good, reliable, low-cost webhost where you can expand and develop your website.