iNove 1.4.6 RSSフィードにカーソルを合わせると、ブックマークリストが本来開くはずが まったく開きません。どうしてでしょうか?どなたか教えて下さい。何度もアップロードし直してもダメみたいです。
iNove 1.4.6 RSSフィードにカーソルを合わせると、ブックマークリストが本来開くはずが まったく開きません。どうしてでしょうか?どなたか教えて下さい。何度もアップロードし直してもダメみたいです。
多分javascriptエラーが起きているんでしょうね。
質問ルール守って、ちゃんと詳細含めてください。でないと曖昧な答えしかできません。
すみません
ワードプレス日本版バージョン 2.9.2を使ってます。
テンプレートは、iNove 1.4.6です
プラグインを全て停止してもダメみたいです。
CSSは、大丈夫みたいです。
ヘッターには
<!--▼script START▼-->
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/menu.js"></script>
<!--▲script END▲-->
が 埋め込まれているみたいです。
デュレクトリは、間違ってません。
menu.jsファイルは、下記の通りです。
-----------------------------------------------------------------------
/*
Author: mg12
Update: 2009/08/07
Author URI: http://www.neoease.com/
*/
(function() {
var Class = {
create: function() {
return function() {
this.initialize.apply(this, arguments);
}
}
}
var GhostlyMenu = Class.create();
GhostlyMenu.prototype = {
initialize: function(target, align, sub) {
this.obj = cleanWhitespace(target);
this.align = align || 'left';
this.sub = sub || -1;
this.menu = this.obj.childNodes;
if (this.menu.length < 2) { return; }
this.title = this.menu[0];
this.body = this.menu[1];
cleanWhitespace(this.body).lastChild.getElementsByTagName('a')[0].className += ' last';
setStyle(this.body, 'visibility', 'hidden');
setStyle(this.body, 'display', 'block');
addListener(this.obj, 'mouseover', bind(this, this.activate), false);
addListener(this.obj, 'mouseout', bind(this, this.deactivate), false);
},
activate: function() {
if(this.sub == 1) {
var pos = currentOffset(this.title);
var top = pos[1] - 1;
var left = getWidth(this.body) - 2;
if (this.align == 'right') {
var left = getWidth(this.body) * (-1);
}
} else {
var pos = cumulativeOffset(this.title);
var top = pos[1] + getHeight(this.title);
var left = pos[0];
if (this.align == 'right') {
left += getWidth(this.title) - getWidth(this.body);
}
}
if(!/current/.test(this.title.className)) {
this.title.className += ' current';
}
setStyle(this.body, 'left', left + 'px');
setStyle(this.body, 'top', top + 'px');
setStyle(this.body, 'visibility', 'visible');
},
deactivate: function(){
this.title.className = this.title.className.replace('current', '');
var thismenu = this;
var tid = setInterval( function() {
clearInterval(tid);
if (!/current/.test(thismenu.title.className)) {
setStyle(thismenu.body, 'visibility', 'hidden');
}
return false;
}, 400);
}
}
$A = function(iterable) {
if(!iterable) {
return [];
}
if(iterable.toArray) {
return iterable.toArray();
} else {
var results = [];
for(var i = 0; i < iterable.length; i++) {
results.push(iterable[i]);
}
return results;
}
}
bind = function() {
var array = this.$A(arguments);
var func = array[array.length - 1];
var method = func, args = array, object = args.shift();
return function() {
return method.apply(object, args.concat(array));
}
}
getHeight = function(element) {
return element.offsetHeight;
}
getWidth = function(element) {
return element.offsetWidth;
}
setStyle = function(element, key, value) {
element.style[key] = value;
}
cleanWhitespace = function(list) {
var node = list.firstChild;
while (node) {
var nextNode = node.nextSibling;
if(node.nodeType == 3 && !/\S/.test(node.nodeValue)) {
list.removeChild(node);
}
node = nextNode;
}
return list;
}
currentOffset = function(element) {
var valueT = element.offsetTop || 0;
var valueL = element.offsetLeft || 0;
return [valueL, valueT];
}
cumulativeOffset = function(element) {
var valueT = 0, valueL = 0;
do {
valueT += element.offsetTop || 0;
valueL += element.offsetLeft || 0;
element = element.offsetParent;
} while (element);
return [valueL, valueT];
}
addListener = function(element, name, observer, useCapture) {
if(element.addEventListener) {
element.addEventListener(name, observer, useCapture);
} else if(element.attachEvent) {
element.attachEvent('on' + name, observer);
}
}
function loadMenus() {
var align = 'left';
for(var i = 0; (a = document.getElementsByTagName('link')[i]); i++) {
if((a.getAttribute('rel') == 'stylesheet') && (a.getAttribute('href').indexOf('rtl.css') != -1)) {
align = 'right';
}
}
var subscribe = document.getElementById('subscribe');
if (subscribe) {
new GhostlyMenu(subscribe, align);
}
var menubar = document.getElementById('menus');
if (menubar) {
var list = menubar.getElementsByTagName('ul');
for (var i = 0; i < list.length; i++) {
var menu = list[i].parentNode;
if(menu.parentNode === menubar) {
new GhostlyMenu(menu, align);
} else {
new GhostlyMenu(menu, align, 1);
menu.firstChild.className += ' subtitle';
}
}
}
}
if (document.addEventListener) {
document.addEventListener("DOMContentLoaded", loadMenus, false);
} else if (/MSIE/i.test(navigator.userAgent)) {
document.write('<script id="__ie_onload_for_inove" defer src="javascript:void(0)"></script>');
var script = document.getElementById('__ie_onload_for_inove');
script.onreadystatechange = function() {
if (this.readyState == 'complete') {
loadMenus();
}
}
} else if (/WebKit/i.test(navigator.userAgent)) {
var _timer = setInterval( function() {
if (/loaded|complete/.test(document.readyState)) {
clearInterval(_timer);
loadMenus();
}
}, 10);
} else {
window.onload = function(e) {
loadMenus();
}
}
})();
-----------------------------------------------------------------------
テンプレートサイドバーに埋め込まれているのは、下記の通りです。
-----------------------------------------------------------------------
<?php
$options = get_option('inove_options');
if (is_home()) {
$home_menu = 'current_page_item';
} else {
$home_menu = 'page_item';
}
if($options['feed'] && $options['feed_url']) {
if (substr(strtoupper($options['feed_url']), 0, 7) == 'HTTP://') {
$feed = $options['feed_url'];
} else {
$feed = 'http://' . $options['feed_url'];
}
} else {
$feed = get_bloginfo('rss2_url');
}
?>
<!-- feeds -->
<div class="widget widget_feeds">
<div class="content">
<div id="subscribe">
" href="<?php echo $feed; ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr> feed', 'inove'); ?>
<?php if($options['feed_readers']) : ?>
<ul id="feed_readers">
<li id="google_reader">" href="http://fusion.google.com/add?feedurl=<?php echo $feed; ?>"><span><?php _e('Google', 'inove'); ?></span>
<li id="youdao_reader">" href="http://reader.youdao.com/#url=<?php echo $feed; ?>"><span><?php _e('Youdao', 'inove'); ?></span>
<li id="xianguo_reader">" href="http://www.xianguo.com/subscribe.php?url=<?php echo $feed; ?>"><span><?php _e('Xian Guo', 'inove'); ?></span>
<li id="zhuaxia_reader">" href="http://www.zhuaxia.com/add_channel.php?url=<?php echo $feed; ?>"><span><?php _e('Zhua Xia', 'inove'); ?></span>
<li id="yahoo_reader">" href="http://add.my.yahoo.com/rss?url=<?php echo $feed; ?>"><span><?php _e('My Yahoo!', 'inove'); ?></span>
<li id="newsgator_reader">" href="http://www.newsgator.com/ngs/subscriber/subfext.aspx?url=<?php echo $feed; ?>"><span><?php _e('newsgator', 'inove'); ?></span>
<li id="bloglines_reader">" href="http://www.bloglines.com/sub/<?php echo $feed; ?>"><span><?php _e('Bloglines', 'inove'); ?></span>
<li id="inezha_reader">" href="http://inezha.com/add?url=<?php echo $feed; ?>"><span><?php _e('iNezha', 'inove'); ?></span>
<?php endif; ?>
</div>
<?php if($options['feed_email'] && $options['feed_url_email']) : ?>
" href="<?php echo $options['feed_url_email']; ?>"><?php _e('Email feed', 'inove'); ?>
<?php endif; ?>
<div class="fixed"></div>
</div>
</div>
-----------------------------------------------------------------------
実行できるはずですが、ダメみたいです。
宜しくお願いいたします。
iNoveのテーマオプションはどのように設定してますか?
ポップアップにいくつのRSSリーダーを表示させていますか?
何度もすみません、解決いたしました。
iNoveのダウンロード先をかえたら、解決しました。
いちお、今回の件はダウンロード先に伝えておきます。
解決されてなによりですが、蛇足ながら・・・
× = ダウンロード先
○ = ダウンロード元
ですね。
ダウンロード先を変えたというと、保存するフォルダを変えてみたと解釈できてしまいますので、一瞬、あれ?って思いました。
ははは^^; かたじけないです、、、訂正します、、、
ダウンロード元です^^
ログイン しなければ投稿できません。