Layerphp 0 Newbie Poster

Hi all,
I have been working with shadowbox in joomla which was working correctly but now it is not working as it use to.When i click on a hyperlink in a joomla page the content regarding that link should be shown in the shadowbox,but now it is showing in a separate window
for example my code is like below:
----------
this will be placed in html body
<a href="http://www.google.com" rel="shadowbox">MyPage</a>

this will be placed in <head></head> tags in html

<link rel="stylesheet" type="text/css" href="shadowbox.css">
<script type="text/javascript" src="shadowbox.js"></script>
<script type="text/javascript">
Shadowbox.init();
</script>

----------
I have enabled the shadowbox module in Module Manager also

so now if i click on MyPage link the Google page should be shown in shadowbox which is not happening
Can anyone help please...!

Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.