Jump to content


Photo
- - - - -

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


  • Please log in to reply
13 replies to this topic

#1 seainmyeyes

seainmyeyes

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts
  • Country: Country Flag

Posted 21 February 2011 - 01:37 PM

Can links be opened in new tab/window?

#2 Kate

Kate

    Advocate

  • Members
  • 3039 posts

Posted 21 February 2011 - 02:45 PM

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 ;)

#3 seainmyeyes

seainmyeyes

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts
  • Country: Country Flag

Posted 21 February 2011 - 04:04 PM

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

#4 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts
  • Country: Country Flag

Posted 21 February 2011 - 06:33 PM

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

#5 seainmyeyes

seainmyeyes

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts
  • Country: Country Flag

Posted 21 February 2011 - 06:53 PM

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

#6 kastelic

kastelic

    Advocate

  • Members

  • 3081 posts
  • Country: Country Flag

Posted 21 February 2011 - 10:45 PM

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

#7 seainmyeyes

seainmyeyes

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts
  • Country: Country Flag

Posted 22 February 2011 - 03:51 PM

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?

#8 cmunns

cmunns

    Advocate

  • Members

  • 6537 posts
  • Country: Country Flag

Posted 22 February 2011 - 05:39 PM

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

#9 seainmyeyes

seainmyeyes

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts
  • Country: Country Flag

Posted 22 February 2011 - 06:20 PM

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

#10 bryan-hadaway

bryan-hadaway

    Advocate

  • Members
  • PipPipPipPipPip
  • 3697 posts

Posted 23 February 2011 - 01:55 AM

Here's a very simple solution:

Please Login or Register to see this Hidden Content

Thanks, Bryan