Welcome Guest, Not a member yet? Register   Sign In
target="_blank"??
#1

[eluser]bigtime[/eluser]
how do you attach target="_blank" to a CI anchor??
#2

[eluser]wiredesignz[/eluser]
anchor($uri_segments, $text, array('target' => '_blank')); Read the User Guide
#3

[eluser]Sue Crocker[/eluser]
bigtime, you can find out more CIDocs: URL Helper

NOTE: There is nothing on that page that mentions target="_blank" directly.
#4

[eluser]wiredesignz[/eluser]
However, it does mention attributes.
#5

[eluser]Sue Crocker[/eluser]
wiredesignz, there are going to be a fair number of people coming over to the CI forums who aren't familiar with CI. Saying Read the User Guide isn't going to help them get up to speed. I try to point to the docs in question, so that others reading the thread will be able to find the information, and possibly not have to post. Smile
#6

[eluser]wiredesignz[/eluser]
Sue, did you notice the example I posted, showing the exact way to use anchor attributes.

I'm sure Ellislab spent a lot of time preparing the User Guide, It's a waste not to use it don't you think?.
#7

[eluser]Sue Crocker[/eluser]
I did notice it, and it got added to my de.li.ci.ous pages.

What I'm saying is that if there is a solution that you have that includes mentioning the User Guide, linking to the particular page in the Guide would be helpful too.

I actually created a wiki entry for a link to a PDF version of the docs. Time for some reading.
#8

[eluser]bigtime[/eluser]
thanks folks, I've sorted it out now...

Regards,
Bigtime
#9

[eluser]wiredesignz[/eluser]
@Sue: There should be a link from this forum directly to the User Guide.

Then I wouldnt have to open a new browser window, navigate to the appropriate section and copy and paste a link to help posters who would be able to do it for themselves.
#10

[eluser]Gavin Blair[/eluser]
what? you don't have the users guide open in a window at all times? i do... Tongue




Theme © iAndrew 2016 - Forum software by © MyBB