Index: trunk/tools/wp-photocommons/css/jquery.suggestions.css |
— | — | @@ -7,7 +7,7 @@ |
8 | 8 | left: 0px; |
9 | 9 | width: 0px; |
10 | 10 | border: none; |
11 | | - z-index: 99; |
| 11 | + z-index: 1099; |
12 | 12 | padding: 0; |
13 | 13 | margin: -1px -1px 0 0; |
14 | 14 | } |
Index: trunk/tools/wp-photocommons/search.php |
— | — | @@ -1,11 +1,14 @@ |
2 | | -<?php $standalone = empty($_GET['standalone']); ?> |
3 | | -<?php if ($standalone) : ?> |
| 2 | +<?php |
| 3 | +$dir = dirname($_SERVER['PHP_SELF']); |
| 4 | +$standalone = empty($_GET['standalone']); |
| 5 | + |
| 6 | +if ($standalone) : ?> |
4 | 7 | <!doctype html> |
5 | 8 | <html> |
6 | 9 | <head> |
7 | 10 | <meta charset="utf-8" /> |
8 | | - <link rel="stylesheet" href="css/ui-lightness/jquery-ui-1.8.5.custom.css" /> |
9 | | - <link rel="stylesheet" href="css/jquery.suggestions.css" /> |
| 11 | + <link rel="stylesheet" href="<?=$dir?>/css/ui-lightness/jquery-ui-1.8.5.custom.css" /> |
| 12 | + <link rel="stylesheet" href="<?=$dir?>/css/jquery.suggestions.css" /> |
10 | 13 | </head> |
11 | 14 | <body> |
12 | 15 | <?php endif; ?> |
— | — | @@ -15,15 +18,15 @@ |
16 | 19 | |
17 | 20 | <ul id="wp-photocommons-results"></ul> |
18 | 21 | |
19 | | - <img src="img/loading.gif" style="display:none;" id="wp-photocommons-loading" /> |
| 22 | + <img src="<?=$dir?>/img/loading.gif" style="display:none;" id="wp-photocommons-loading" /> |
20 | 23 | |
21 | 24 | <div id="wp-photocommons-images"></div> |
22 | 25 | |
23 | 26 | <?php if ($standalone) : ?> |
24 | 27 | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> |
25 | | - <script src="js/jquery-ui-1.8.5.custom.min.js"></script> |
26 | | - <script src="js/search.js"></script> |
27 | | - <script src="js/jquery.suggestions.js"></script> |
| 28 | + <script src="<?=$dir?>/js/jquery-ui-1.8.5.custom.min.js"></script> |
| 29 | + <script src="<?=$dir?>/js/search.js"></script> |
| 30 | + <script src="<?=$dir?>/js/jquery.suggestions.js"></script> |
28 | 31 | </body> |
29 | 32 | </html> |
30 | | -<?php endif; ?> |
\ No newline at end of file |
| 33 | +<?php endif; ?> |