Hi,
I'm using the Oxygen template with the social media on/off switches. Is there a way to get the links to open in a new browser window instead of replacing my website in the parent window?
Thanks!
<div id="socialmedia">
<ul id="navigation">
<?php if($this->params->get('nav_rssfeed_sw') == '1') : ?>
<li class="nav_rssfeed"><a href="/<?php echo $this->params->get('nav_rssfeed'); ?>" title="RSS Feed"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_twitter_sw') == '1') : ?>
<li class="nav_twitter"><a href="/<?php echo $this->params->get('nav_twitter'); ?>" title="Twitter"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_facebook_sw') == '1') : ?>
<li class="nav_facebook"><a href="/<?php echo $this->params->get('nav_facebook'); ?>" title="Facebook"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_myspace_sw') == '1') : ?>
<li class="nav_myspace"><a href="/<?php echo $this->params->get('nav_myspace'); ?>" title="MySpace"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_blogger_sw') == '1') : ?>
<li class="nav_blogger"><a href="/<?php echo $this->params->get('nav_blogger'); ?>" title="Blogger"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_stumble_sw') == '1') : ?>
<li class="nav_stumble"><a href="/<?php echo $this->params->get('nav_stumble'); ?>" title="StumbleUpon"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_google_sw') == '1') : ?>
<li class="nav_google"><a href="/<?php echo $this->params->get('nav_google'); ?>" title="Google"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_flickr_sw') == '1') : ?>
<li class="nav_flickr"><a href="/<?php echo $this->params->get('nav_flickr'); ?>" title="Flickr"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_linkedin_sw') == '1') : ?>
<li class="nav_linkedin"><a href="/<?php echo $this->params->get('nav_linkedin'); ?>" title="LinkedIn"></a></li>
<?php endif; ?>
</ul>
</div>
<div id="socialmedia">
<ul id="navigation">
<?php if($this->params->get('nav_rssfeed_sw') == '1') : ?>
<li class="nav_rssfeed"><a href="/<?php echo $this->params->get('nav_rssfeed'); ?>" title="RSS Feed" target="_blank"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_twitter_sw') == '1') : ?>
<li class="nav_twitter"><a href="/<?php echo $this->params->get('nav_twitter'); ?>" title="Twitter" target="_blank"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_facebook_sw') == '1') : ?>
<li class="nav_facebook"><a href="/<?php echo $this->params->get('nav_facebook'); ?>" title="Facebook" target="_blank"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_myspace_sw') == '1') : ?>
<li class="nav_myspace"><a href="/<?php echo $this->params->get('nav_myspace'); ?>" title="MySpace" target="_blank"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_blogger_sw') == '1') : ?>
<li class="nav_blogger"><a href="/<?php echo $this->params->get('nav_blogger'); ?>" title="Blogger" target="_blank"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_stumble_sw') == '1') : ?>
<li class="nav_stumble"><a href="/<?php echo $this->params->get('nav_stumble'); ?>" title="StumbleUpon" target="_blank"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_google_sw') == '1') : ?>
<li class="nav_google"><a href="/<?php echo $this->params->get('nav_google'); ?>" title="Google" target="_blank"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_flickr_sw') == '1') : ?>
<li class="nav_flickr"><a href="/<?php echo $this->params->get('nav_flickr'); ?>" title="Flickr" target="_blank"></a></li>
<?php endif; ?>
<?php if($this->params->get('nav_linkedin_sw') == '1') : ?>
<li class="nav_linkedin"><a href="/<?php echo $this->params->get('nav_linkedin'); ?>" title="LinkedIn" target="_blank"></a></li>
<?php endif; ?>
</ul>
</div>
Hello
Please find attached an update for this module including the option to set the target for each icon.
Ciaran