Hi, i am new to the whole drupal core and its features.
I just installed a module called "External iframe" witch provides a iframe for every external link. It works fine, but with only one problem. Suddenly the links in searchindex "counts" as external, and local nodes in the search index opens in an iframe.
Heres the module .js file
/* $Id$ */
(function ($) {
Drupal.behaviors.externanaliFrame = {
attach: function(context, settings) {
// Set iframe height
function resizeframe() {
var buffer = $('#external-container').height();
var newHeight = $(window).height();
var newFrameHeight = newHeight - buffer;
$('#external-site-container').css('height', newFrameHeight);
}
$(window).resize(function() {
resizeframe();
});
$(window).load(function() {
resizeframe();
});
// Rewrite external links
var appendUrl = '/external?url=';
var http_host = location.hostname.split('.');
if (http_host.length == 3) {
var host = http_host[1] + '.' + http_host[2];
} else if (http_host.length == 2) {
var host = http_host[0] + '.' + http_host[1];
} else if (http_host.length == 1) {
var host = http_host[0];
}
$('a[href^=http:]:not(.external-nofollow)').each(
function(){