###############################################
# No Margin Pop Up Window Version 2.0 #
# PHP Version #
###############################################
# #
# Script Made By Dodo #
# http://www.regretless.com #
# #
# Script is Released Under LinkWare #
# You are free to use the script as #
# long as you link back to my page. #
# #
# #
###############################################
===================
General Information
===================
I wrote this script because I wanted something that will allow me to call up many pop up windows that doesn't have margins for IMAGES for my digital camera page. With this script, you no longer need to write html for every single image in order to make them show up in popup without margins. I hope it will be useful for you all =)
In order to use this script, please make sure your server supports php. If you are unsure, contact your tech support or check out the php tutorials at http://dodo.pitas.com.
Copyright notice: Please do not distribute this script without notifying me. You may feel free to edit the script and it would be nice if you let me know how you made the script better. I would like to improve this script and create newer versions.
Thank you!
Send all comments to:
Dodo: dodo@regretless.com
==============
Included Files
==============
readme - Everything you need to know about using my script
nmimage.php - The file you use to pop images in the popup with no margins
test.php - The page that shows you that my script works!
picture.gif - Sample popup picture
picturethumbnail.gif
- Sample popup picture thumbnail
============
Installation
============
1. Upload nmimage.php file to a directory perferrably where you want to use this script.
To call this script in your pages, you have to make sure
- Your server supports php
- The page you want to call the script from has a php extension.
2. Open test.php for an exmaple. The following part defines the function popup
";
if($thumbnail != "" && $thumbnail != "none") {
if($mode == "highlight") {
if(!$fmode[1])
$fmode[1] = "black";
if(!$fmode[2])
$fmode[2] = "white";
print "";
} elseif($mode == "shake") {
print "
";
} elseif($mode == "ghighlight") {
if(!$fmode[1])
$fmode[1] = 50;
print "
";
} else {
print "
";
}
} else {
print "$des";
}
} // end of function
?>
it must stay at the TOP of the file you are calling the pop up.
********************************
ABOUT SPECIAL EFFECTS
- skip if you are not interested
********************************
These special effects are done with the help of javascripts found here:
http://www.dynamicdrive.com/dynamicindex15/
In order to use this new function, you MUST add the corresponding header part of the javascript between your