External links opening within original site

Dec 9, 2010
75
0
0
Sunnyvale
Hey guys;

I was hoping you could lead me in the direction of making my links within my site open in a new window but still within my site much like AffBuzz is doing. The links open in a new window and the content shows but it is still within their website.

What kind of plugin or footer bar is being used for this?

Would appreciate the help!

:love-smiley-013:
 


I am assuming affbuzz had a customized footer made that does this. I am pretty sure it is some kind of Paid plugin or it could be some kind of script.
 
I'm not a coder in no way and I don't even know if this will help you. But, I was recently searching for something similar and found this html code:

Find
<head>

And change that to:
<head>
<base target='_blank' />


This has worked really well for me any and every link in your site opens in a new window.


[FONT=&quot][/FONT]
 
Hello, please take a look at this tool:
www DOT htmlbasix DOT com SLASH iframe DOT shtml
(sorry can't post URLs)

Anyway take care of the fact that different browsers are actually doing different rendering on iFrames.

Hope this helps.
 
Hi,
I am attaching a link from the site nusphere.com - technical support. It contains a HTML code for i-frame. Hope it will help you.
www [dot] nusphere [dot] com SLASH kb SLASH htmlmanual SLASH present SLASH frames [dot] html
 
If you actually want it to open within the same page when they click the link, a fancy way to do this is with the Javascript Shadowbox library, which can show any external link you want in a new inline "pop up window" (I put quotes around it because it's not really a new window, it makes an iframe inside of the page). It looks pretty slick. Shadowbox.js (scroll down for demos)

To use it you give the target a certain HTML class and maybe change a couple of attributes. That's it. A bit of Javascript code can automate this for you by giving this behavior to every link on your site. Using JQuery it could be something like $('a').click(function(){openShadowbox(this);}) Of course I wouldn't apply this to EVERY single link tag, that will likely break things, so you'd need to be a little more specific. Maybe only target anchor links in the articles section of your pages, and none of the links in the header and footer, for example.