PDA

View Full Version : Random Content order- How to make an External File?



5starmember
07-25-2008, 03:08 PM
1) Script Title:

Random Content Order script

2) Script URL (on DD):

http://www.dynamicdrive.com/dynamicindex17/randomcontentorder.htm

3) Describe problem:

I've used the random content order script many times before, and I like it very much.

However- this time, I need to display only 5 items, but I still want to have atleast 20 items in the circulation.

I managed to do this in the past by showing only 5 at a time, and hiding the other 15 in a 1x1 pixel div element behind an image or something- this is kinda ameturish- but it works. :P

But now, I want to learn the PROPER way to make an external file for the script.
I have so much rotating content, and so little would be visible on the page at a time- so, it would just be a waste of file size if I didn't use an external file.

But there's one problem:

I DON'T KNOW HOW TO MAKE AN EXTERNAL FiLE FOR THiS SCRiPT! :(

I know how to make external JS, & CSS, but not this. :(
Can someone help me? :D

5starmember
07-25-2008, 06:28 PM
OKAY. I used a different script.

But I need help with THAT too... :(

It's the iframe rotate content thing... :

http://www.dynamicdrive.com/forums/showthread.php?t=34748

5starmember
07-25-2008, 07:50 PM
Solved. Thanks Everyone! :d