|
如何做以下的东西?
--〉用户在click照片后那张照片的资料却在另一个windows展示。要怎么用php做呢?php新手请教各位专家.谢谢! |
|
|
|
|
|
|
|
发表于 13-4-2006 09:45 AM
|
显示全部楼层
用javascript 的windows.open来开另一个windows,
显示另一个page就行了。 |
|
|
|
|
|
|
|
发表于 13-4-2006 11:40 AM
|
显示全部楼层
try to put this code in <html> tag:
<a href= "http://www.yahoo.com" target="_blank"><img scr="sdf" border="1"></a>
or
<a href= "http://www.yahoo.com" target="_blank">Picture description |
|
|
|
|
|
|
|

楼主 |
发表于 13-4-2006 02:02 PM
|
显示全部楼层
如果用php作呢?我是要做一个dynamic page.因为不用dynamic page会弄到很多html的. |
|
|
|
|
|
|
|
发表于 13-4-2006 05:51 PM
|
显示全部楼层
in fact, u can do it like this:
<html><body>
<a href="testing.php" target="_blank"><img scr="pic.jpg" border="1"></a>
<a href= "http://www.yahoo.com" target="_blank">Picture description</a>
</body>
</html>
<? // here is ur php coding area
// print something
echo "testing page";
?>
*** Then save it as main.php to test how's the result
note: u can have html tag n php code in .php file (of course u must save in .php then only can run the php code) |
|
|
|
|
|
|
|

楼主 |
发表于 14-4-2006 11:00 AM
|
显示全部楼层
|
|
|
|
|
|
| |
本周最热论坛帖子
|