Just a quick note, was working on a pop up confirmation box for a php site the other day.
print “<script>”;
print “if (confirm(\”Do you want to book a massage?\”))
{
self.location = ‘beauty.php?refno=”.$refno.”‘;
}
else
{
self.location=’info.php?refno=”.$refno.”‘;
}”;
print “</script>”;
This will give you the option, ok and cancel, it seems like it’s a lot more work to have a yes/no option.
The code works fine and does the job it’s supposed to.
April 30th, 2007
Posted by
Gary Corcoran |
|
no comments
I was trying to create a flash slideshow of random images, i.e. one that would change dynamically with the images I would input.
I found a useful tool at Flash Here . com
http://www.flash-here.com/downloads/fhslide.html
You can download the relevant software and change the .html file to direct towards your images. Then write a php script to create a file the same as getimglist.txt and it should work perfectly.
April 27th, 2007
Posted by
Gary Corcoran |
|
no comments