How to use anchor() to reference an anchor specified by an ID |
Suppose I have on a page somewhere the statement
Code: <p id="AnchorOnPage"> How do I use the function anchor(...) or any other one to reference the paragraph (including parameters for the controller)? is this in general possible using CodeIgniter?
Use anchor with uri = '#AnchorOnPage'
Or use a with href="#AnchorOnPage" Learning CI4 from my works, from errors and how to fix bugs in the community Love CI & Thanks CI Teams
Like this:
Code: <!-- Goes to here when clicked. --> What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
No that will not work, it will not take parameters.
What you want would have to be done using JavaScript or jQuery. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |