You are here: A really strange problem which has me baffled « HTML « IT news, forums, messages
A really strange problem which has me baffled

Posted by Paul on 12/03/75 11:50

Hi,

I don't know if this problem is with JS, PHP or the the code..

http://www.smmp.salford.ac.uk/staff/music-index.shtml

The page lists and biogs are generated in PHP with a MySQL backend.
There are two sections under the green banner - a small list on the left
and the big list on the right. Same PHP generates the name and links
etc.

If you click on the top name on the left (King, David [Prof]), a JS
window appears with the correct details in. If you just place the mouse
over the link, the URL appears and it points to the right place.

Now, if you go to the biography bit on the right, put the mouse over the
link and it gives the same URL. Click on it and you go somewhere
completely different (different member of staff). However, if you open
the link in a new window, it goes to the right place.

This *only* happens with the person at the top of the biography lists on
the right hand side.

Okay, I know there are a couple of errors on the page (should the
DOCTYPE go before any php i.e.

<DOCTYPE ...>
<?php
..
{
?>
<html>
)

but I can't see a reason why the top person on the list should open to
some random person!

Any advice would be appreciated.

TTFN

Paul
--
"Logic, my dear Zoe, is merely the ability to be wrong with authority" -
Dr Who

 

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

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