Welcome Guest, Not a member yet? Register   Sign In
How the controller manage a link with hashtag at the end of it ?
#1

[eluser]Unknown[/eluser]
Good afternoon everybody,

I have a small question. I have this kind of link in a div which redirect the user to a specific place on a specific page:

Code:
<div class="span3 square3 blueglow displaytable" >

I turned it into a CI specific code:

Code:
&lt;? echo '<div class="span3 square3 blueglow displaytable"  . site_url('help/conceptcompanies') . "#lowcost" . '\';">'; ?&gt;


The adress of the link is working fine but the controller cannot handle it because I don't have a specific function handling it...

Somebody have an idea?

Thank you,

Charles
#2

[eluser]PravinS[/eluser]
Try javascript onclick event on div tag to open the url using window,location,href (replace comma(,) with dot(.))







Theme © iAndrew 2016 - Forum software by © MyBB