How to make links open in new window

Post your Click counter digestion problems here
Post Reply
ccuzer
Posts: 5
Joined: Thu Oct 20, 2011 4:02 am

How to make links open in new window

Post by ccuzer »

How to make links open in new window??
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: How to make links open in new window

Post by Klemen »

Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
ccuzer
Posts: 5
Joined: Thu Oct 20, 2011 4:02 am

Re: How to make links open in new window

Post by ccuzer »

Thank you friend.

I know how to open new window in HTML.

Question it:

How to make links open in new window in CCount - click counter ??
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: How to make links open in new window

Post by Klemen »

You mean inside the admin panel?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
ccuzer
Posts: 5
Joined: Thu Oct 20, 2011 4:02 am

Re: How to make links open in new window

Post by ccuzer »

Yes,
how to make links added in CCount - click counter Admin to open in new window when user click in link??

Im not sure how to make it more clear :?
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: How to make links open in new window

Post by Klemen »

Just like you would make ANY html link open in a new window, you said you know how to do that!

Code: Select all

<a href="http://site.com/ccount/click.php?id=1" target="_blank">Text</a>
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
ccuzer
Posts: 5
Joined: Thu Oct 20, 2011 4:02 am

Re: How to make links open in new window

Post by ccuzer »

You mean i can add HTML directly in Add a link forum, like this?

Image
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: How to make links open in new window

Post by Klemen »

No, the links are just http://..../click.php?id=1

On your website, in your HTML code for links, you need to make sure the link code has target="_blank"

This is a HTML thing and not something CCount-related.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
ccuzer
Posts: 5
Joined: Thu Oct 20, 2011 4:02 am

Re: How to make links open in new window

Post by ccuzer »

I must be brain dead, it was just to simple :D

I guess i was thinking that it would be nice to have an option in admin to create the target=_blank .

Thanks
Post Reply