Jump to content

Random scrolling images?


supermerc

Recommended Posts

Hi, I'm currently working on coding my first website in php, i usually use html and never finish them because you cant do enough in html. Anyways, my site is [url=http://xgame6overx.com/random]http://xgame6overx.com/random[/url] If you look on my site there are images scrolling horizontaly under random stuff bar.

I was wondering if it was possible to have them scroll in random order, right now they always apear in same order, and when theres going to be more images there and the ones near the end will never be seen.

Im also wondering if there a better horizontal scrolling script, mine isnt soft, it restarts in the middle and doesnt look smooth.

Please help me! ???

Supermerc.
Link to comment
Share on other sites

I dont understand what you mean.
But what I want is that it randomly places images from my folder, they are each called like thumb-1.jpg -2 -3 etc, and they match photo-1.jpg etc. And when you click on the thumbs it opens the photo's. And i wan t them to scoll like they do now
Link to comment
Share on other sites

[quote]I dont understand what you mean.[/quote]

See how your script is written in Javascript? That is what you need not php, php cannot create scrolls or any other client side features. Of course you could have php load the images into a Javascript array at random but why? Your best doing all this with Javascript, not php.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.