codeigniter anchor_popup – Function anchor_popup in codeigniter
In this post we will show you codeigniter anchor_popup , hear for codeigniter anchor_popup we will give you demo and example for implement.
anchor_popup($set_uri = '', $set_title = '', $set_attributes = FALSE)
codeigniter anchor_popup Parameters:
- $title (string) – Anchor title
- $attributes (mixed) – HTML attributes
- $uri (string) – URI string
- Returns: Pop-up hyperlink
- Return type: string
Nearly just like the anchor()
perform except that it opens the address in a very new window. you’ll specify JavaScript window attributes within the third parameter to manage however the window is opened. If the third parameter isn’t set it’ll merely open a brand new window along with your own browser settings.
example of codeigniter anchor_popup attributes ::
$set_atts = array( 'width' => 850, 'height' => 650, 'status' => 'yes', 'resizable' => 'yes', 'scrollbars' => 'yes', 'window_name' => '_blank' 'screeny' => 0, 'screenx' => 0, ); // print codeigniter anchor_popup echo anchor_popup('onlinecode/system/anchor_popup', 'Click Hear!', $set_atts);
Note for anchor_popup
The on top of attributes square measure the perform defaults therefore you merely ought to set those that square measure completely different from what you would like. If you wish the perform to use all of its defaults merely pass associate degree empty array within the third parameter: | | echo anchor_popup('onlinecode/system/anchor_popup', 'Click Hear!', array());
You may also like Remove index.php from url in codeigniter and CodeIgniter – Image and File Upload and JOIN Tables in Codeigniter
Hope this code and post will helped you for implement codeigniter anchor_popup. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve onlincode. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs onlincode.org