Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
newhorizonhosting.com #1
Need Random Image Script with Links
I am needing a script for random images on my homepage. I need the image to have its own link depending on what image is displayed. I would like a php script (non database) if possible
newhorizonhosting.com Guest
-
Random CSS Script
Hi, I have a client that uses Contribute 3. Her site is pretty big (couple hundred pages) and she does a lot of updates. Randomly she has been... -
GoTo Random Record script??
Can someone help me come up with what should be an obvious filemaker script to go to a random record between 1 and the last one in my database... -
PHP - random links
Hi I'm wondering if someone might be able to provide me with a few lines of code to complete the following task in PHP. I have three text... -
When we move Image Links and HTML links
On our Local Site (hard drive), our web projects is almost complete and we have already uploaded and sync the internet site (remote site). I have... -
Random image in a random place.
Anyone know javascript? I have a grid(4 x 4) of 16 spacer images and a few text links on the side. Each text link represents a different folder of... -
newhorizonhosting.com #2
Re: Need Random Image Script with Links
I figured it out by doing a random include
<?
srand(time());
$random = (rand()%3);
print("$random");
require_once("./$random.php");
?>
newhorizonhosting.com Guest
-
Murray *ACE* #3
Re: Need Random Image Script with Links
See comments on DW forum about random includes and this particular markup
shown below.
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"newhorizonhosting.com" <ng@newhorizonhosting.com> wrote in message
news:e29on1$buf$1@forums.macromedia.com...>I figured it out by doing a random include
>
> <?
> srand(time());
> $random = (rand()%3);
> print("$random");
> require_once("./$random.php");
> ?>
Murray *ACE* Guest



Reply With Quote

