This topic is locked

Formatting more... and thumbnail click pages.

4/10/2007 4:52:12 AM
PHPRunner General questions
M
mmponline author

When I click on more... (trunctuated field) or on a thumbnail (great feature) a new window opens. Thats great!
Questions:

  1. How do I format these windows to take the same colours as in my .css file. (Eg. blue background)
  2. How do I add a "close" link on these pages.
    Help appreciated!

J
Jane 4/11/2007

Stephan,
to display window with full text using your stylesheet open generated ..._fulltext.php file and modify DisplayCloseWindow function.

Here is a sample:

function DisplayCloseWindow()

{

echo "<html><head><title>TableName</title><link REL=\"stylesheet\" href=\"include/your_style.css\" type=\"text/css\"></head><body topmargin=5>";

echo "
";

echo "<hr size=1 noshade>";

echo "<a href=# onClick='window.close();return false;'>".mlang_message("CLOSE_WINDOW")."</a>";

echo "</body></html>";

}


There is no way to modify window with large image because you open your jpeg image in the browser, not htm or php file.