|
Posted by Paul on 12/15/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
[Back to original message]
|