CodeIgniter Forums
jump named anchor - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: jump named anchor (/showthread.php?tid=40373)



jump named anchor - El Forum - 04-06-2011

[eluser]jupiter1031[/eluser]
Code:
.  
.
.
function moveWindow()
    {
        [removed].hash="<?php echo $this->session->userdata('hash')?>";
// translates to a18 for example
    }
[removed]
</head>
<body>
.
.
.
.
.
.
<a name="&lt;?php echo ">prj_index ?&gt;"></a> //a18 for example

this code works without a problem in chrome but not in firefox or ie.
Does anybody have a suggestion to resolve this?
I know it is not directly CI related but I also know there are very knowledable and helpful people out there. Maybe you can help me out.