You are here: How to disable link to current page? « All PHP « IT news, forums, messages
How to disable link to current page?

Posted by H@C0 on 04/07/07 11:48

On Sat, 07 Apr 2007 00:21:39 GMT, boclair <boclair@bigpond.net.au> wrote:

Thanks for your response.
I have something like this with image links:

<?php
$thisfile=(basename ($_SERVER['PHP_SELF']));

if ($thisfile=="page1.php")
{$page1="style='display:none;'";}
else {$page1="";}

if ($thisfile=="page2.php")
{$page2="style='display:none;'";}
else {$page2="";}
?>

<a href="page1.php" <img src="img1.jpg"></a>
<a href="page2.php" <img src="img2.jpg"></a>

But I want the link of the current page to be unckickable and the mouse
pointer to be default. Any hints?
Thanks in advance.
Hans (Holland)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация