Jump to content
Sign in to follow this  
dalemccready

Twitter in the Morefoot area. I'd like to set the hyperlinks to be clickable

Recommended Posts

seainmyeyes

Can links be opened in new tab/window?

Share this post


Link to post
Share on other sites
Kate

Hi Elena - You could modify the core file to do that. But, I'd recommend just adding some simple jQuery to open links in that div in a new window ;)

Share this post


Link to post
Share on other sites
seainmyeyes

ThX Kate, can u plz give me more instructions how to do that?

Share this post


Link to post
Share on other sites
cmunns

You would have to add custom code to the header scripts portion of the theme settings under - CUSTOM CODE ` `

Share this post


Link to post
Share on other sites
seainmyeyes

I've add it, but there is no change... :(

Share this post


Link to post
Share on other sites
kastelic

Hi Elena, Try putting the code in the footerscripts area.

Share this post


Link to post
Share on other sites
seainmyeyes

Jimmy, thx 4 answer. I've tried both options, but still not working? :( 1st I tried this: In code - this wokrs ok! <?php twitter_messages(pagelines('twittername'), 1, false, false, '', true, false, false); ?> 2nd this: First in header, and then in footer.... <script type="text/javascript"> var $j = jQuery.noConflict(); $j(document).ready(function() { $j(".icons a").attr('target', '_blank'); }); </script> Links are open, but in same window. Are you shure that code is ok?

Share this post


Link to post
Share on other sites
cmunns

` ` No the prior code was wrong because I thought you wanted different links to be opened. Add the above to the header as before

Share this post


Link to post
Share on other sites
seainmyeyes

@cmunns, Thank you soooooo much, it's working now!!! :) (but I put code to footer, still no working in header)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×