JAVASCRIPT PROBLEM
5 posters
Page 1 of 1
JAVASCRIPT PROBLEM
Technical Details
Forum version : #phpBB2
Position : Founder
Concerned browser(s) : Mozilla Firefox, Google Chrome
Who the problem concerns : All members
When the problem appeared : From the creation of the forum
Forum link : http://nafidasoft.moontada.net/
Description of problem
Good Mornin FORUMOTION,I have a problem in JAVASCRIPTS in my forum.
I've put 4 JS but no one is working.
Note:
- JAVASCRIPTS are turned ON
- The codes are from the Support Forum
Thank you
Re: JAVASCRIPT PROBLEM
Hello,
May you please copy and paste the javascript codes in question here for us, be sure to put them in
-Brandon
May you please copy and paste the javascript codes in question here for us, be sure to put them in
- Code:
[code][/code]
-Brandon
Remember to mark your topic when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?
Team Leader
Review Section Rules | Request A Review | Sticker Points
Re: JAVASCRIPT PROBLEM
JAVASCRIPT 1: (THANKS CODE)
JAVASCRIPT 2: (Hashtag popup)
JAVASCRIPT 3: (Hashtag btn)
JAVASCRIPT 4: (twitter emoji)
- Code:
$(function() {
var message = function(child, parent) {
var pseudo = $(child, parent).text(),
icon = '<img src="http://i18.servimg.com/u/f18/18/21/60/73/fa_sta10.png" alt=""/>';
return '<div id="fa_thanks_message">' + icon + 'كاتب الموضوع يشكر ' + pseudo + ' ! ' + icon + '</div>';
},
version = $('.bodylinewidth')[0] ? 0 : document.getElementById('wrap') ? 1 : $('.pun')[0] ? 2 : document.getElementById('ipbwrapper') ? 3 : 'badapple', // version check
node = document.createElement(version ? 'DIV' : 'TR'),
post = $(version ? 'div' : 'tr' + '.post'),
j = post.length,
i = 0;
if (version == 'badapple') {
if (window.console) console.error('Ce plugin n\'est pas optimisé pour la version de votre forum.');
return;
}
node.id = 'fa_thanks'; // id for style modifications
if (!version) node.innerHTML = '<td colspan="2"></td>'; // phpbb2 must have a cell as the child node
for (; i < j; i++) {
if ((version ? post[i] : post[i].firstChild).style.backgroundColor) { // thanked posts have the backgroundColor style property
post[i].className += ' thanked'; // mark the thanked post with a class
(version ? node : node.firstChild).innerHTML = message(['.name', 'dl > dt > strong', '.username', '.popmenubutton'][version], post[i]); // thanks message
switch (version) {
case 0 : // phpbb2
node.firstChild.style.backgroundColor = post[i].firstChild.style.backgroundColor;
node.firstChild.className = post[i].firstChild.className;
post[i].parentNode.insertBefore(node, post[i].nextSibling);
break;
case 1 : // phpbb3
post[i].firstChild.insertBefore(node, post[i].firstChild.lastChild.previousSibling);
break;
case 2 : // punbb
node.className = 'postfoot';
node.style.margin = '0';
post[i].appendChild(node);
break;
case 3 : // invision
node.className = 'post-footer';
node.style.backgroundColor = post[i].style.backgroundColor;
post[i].appendChild(node);
break;
}
break; // break out of the for loop when the thanked post is found
}
}
});
JAVASCRIPT 2: (Hashtag popup)
- Code:
$(function() {
var a = document.getElementsByTagName('A'), b = document.createElement('DIV'), i = 0, j = a.length, actif, t;
b.className = 'fa-hashtag-options';
b.style.display = 'none';
document.body.appendChild(b);
for (; i<j; i++) {
if (a[i].title && /\/tags\//.test(a[i].href) && /^#/.test(a[i].innerHTML)) {
a[i].className += ' fa-hashtag';
a[i].onclick = function() {
if (actif != this) {
actif = this, t = this.innerHTML;
t.length > 24 && (t = t.slice(0, 25).replace(/^\s+|\s+$/g, '') + '...');
b.style.left = $(this).offset().left + 'px';
b.style.top = $(this).offset().top + 'px';
b.innerHTML = '<div class="fa-hashtag-title">Options pour <span class="fa-hashtag-tag">' + t + '</span></div><b>• </b><a href="' + this.href + '">Voir les sujets tagués</a>' + (_userdata.session_logged_in ? '<form method="post" name="addtag_form" action="/profile?mode=editprofile&page_profil=tags&start&submit=1"><b>• </b><a href="#" onclick="this.parentNode.submit();return false;">Suivre <span class="fa-hashtag-tag">' + t + '</span></a><input name="addtag" type="hidden" value="' + this.innerHTML.slice(1) + '"></form><b>• </b><a href="/profile?mode=editprofile&page_profil=tags">Gérer mes tags</a>' : '');
/none/.test(b.style.display) && (b.style.display = 'block');
} else {
actif = null;
b.style.display = 'none';
}
return false;
};
}
}
});
JAVASCRIPT 3: (Hashtag btn)
- Code:
$(function(){
if (!$.sceditor || /\/privmsg/.test(window.location.pathname)) return;
var storage = window.localStorage, s = document.createElement('SELECT'), tags = '';
if (storage && storage.faTags && storage.faTagsExp > +new Date - 29*59*1000 && storage.faTagsUser == _userdata.username) s.innerHTML = storage.faTags;
else {
$.get('/profile?mode=editprofile&page_profil=tags', function(d) {
var h = $('form[name="tag_list"] a', d);
if (h.length) {
for (var i = 0, j = h.length, txt; i<j; i++) {
txt = h[i].innerHTML.replace(/^\s+|\s+$/g,'');
if (/^#/.test(txt)) {
!tags && (tags += '<option value="">Sélectionner un tag</option>');
tags += '<option value="'+ txt.slice(1) +'">' + (txt.length > 24 ? txt.slice(0, 25) + '...' : txt) + '</option>';
}
}
s.innerHTML = tags;
}
if (storage) {
storage.faTags = tags ? tags : 0;
storage.faTagsUser = _userdata.username;
storage.faTagsExp = +new Date;
}
});
}
$.sceditor.command.set('hashtag', {
dropDown : function(editor, caller, callback) {
var a = document.createElement('DIV'), b = document.createElement('INPUT'), c = document.createElement('INPUT');
b.type = 'button';
b.value = 'Insert';
b.className = 'button';
c.type = 'text';
c.id = 'fa-hashtag';
a.innerHTML = '<div><label for="fa-hashtag">Hashtag :</label></div>' + ( s.innerHTML ? '<div><label>Tags suivis :</label></div>' : '' ) + '<div></div>';
a.firstChild.appendChild(c);
a.lastChild.appendChild(b);
if (s.innerHTML != 0) {
s.value = '';
a.getElementsByTagName('DIV')[1].appendChild(s);
s.onchange = function() {
c.value = s.value;
};
}
b.onclick = function() {
c.value && callback(c.value);
editor.closeDropDown(true);
};
editor.createDropDown(caller, 'inserthashtag', a);
},
exec : function(c) { tag(c, this) },
txtExec : function(c) { tag(c, this) },
tooltip : 'Insert a hashtag'
});
toolbar = toolbar.replace(/quote,/,'hashtag,quote,');
function tag(c, e) {
$.sceditor.command.get('hashtag').dropDown(e, c, function(tag) {
e.insertText('#' + tag.replace(/^#/,'').replace(/[\xD7\xF7\x00-\x2F\x3A-\x40\x5B-\x60\x7B-\xBF]/g, '_') + ' ');
});
}
});
JAVASCRIPT 4: (twitter emoji)
- Code:
(function() {
var config = {
button_title : 'Emojis',
auto_close : false,
async_load : true,
emoji_size : 16, // 16, 36, or 72
emoji_list : '\uD83D\uDE00 \uD83D\uDE01 \uD83D\uDE02 \uD83D\uDE03 \uD83D\uDE04 \uD83D\uDE05 \uD83D\uDE06 \uD83D\uDE09 \uD83D\uDE0A \uD83D\uDE0B \uD83D\uDE0E \uD83D\uDE0D \uD83D\uDE18 \uD83D\uDE17 \uD83D\uDE19 \uD83D\uDE1A \u263A\uFE0F \uD83D\uDE07 \uD83D\uDE10 \uD83D\uDE11 \uD83D\uDE36 \uD83D\uDE0F \uD83D\uDE23 \uD83D\uDE25 \uD83D\uDE2E \uD83D\uDE2F \uD83D\uDE2A \uD83D\uDE2B \uD83D\uDE34 \uD83D\uDE0C \uD83D\uDE1B \uD83D\uDE1C \uD83D\uDE1D \uD83D\uDE12 \uD83D\uDE13 \uD83D\uDE14 \uD83D\uDE15 \uD83D\uDE16 \uD83D\uDE37 \uD83D\uDE32 \uD83D\uDE1E \uD83D\uDE1F \uD83D\uDE24 \uD83D\uDE22 \uD83D\uDE2D \uD83D\uDE26 \uD83D\uDE27 \uD83D\uDE28 \uD83D\uDE29 \uD83D\uDE2C \uD83D\uDE30 \uD83D\uDE31 \uD83D\uDE33 \uD83D\uDE35 \uD83D\uDE21 \uD83D\uDE20 \uD83D\uDC7F \uD83D\uDE08 \uD83D\uDC66 \uD83D\uDC67 \uD83D\uDC68 \uD83D\uDC69 \uD83D\uDC74 \uD83D\uDC75 \uD83D\uDC76 \uD83D\uDC71 \uD83D\uDC6E \uD83D\uDC72 \uD83D\uDC73 \uD83D\uDC77 \uD83D\uDC78 \uD83D\uDC82 \uD83C\uDF85 \uD83D\uDC7C \uD83D\uDC6F \uD83D\uDC86 \uD83D\uDC87 \uD83D\uDC70 \uD83D\uDE4D \uD83D\uDE4E \uD83D\uDE45 \uD83D\uDE46 \uD83D\uDC81 \uD83D\uDE4B \uD83D\uDE47 \uD83D\uDE4C \uD83D\uDE4F \uD83D\uDC64 \uD83D\uDC65 \uD83D\uDEB6 \uD83C\uDFC3 \uD83D\uDC83 \uD83D\uDC8F \uD83D\uDC91 \uD83D\uDC6A \uD83D\uDC6B \uD83D\uDC6C \uD83D\uDC6D \uD83D\uDCAA \uD83D\uDC48 \uD83D\uDC49 \u261D\uFE0F \uD83D\uDC46 \uD83D\uDC47 \u270C\uFE0F \u270A \u270B \uD83D\uDC4A \uD83D\uDC4C \uD83D\uDC4D \uD83D\uDC4E \uD83D\uDC4B \uD83D\uDC4F \uD83D\uDC50 \uD83D\uDC85 \uD83D\uDC63 \uD83D\uDC40 \uD83D\uDC42 \uD83D\uDC43 \uD83D\uDC45 \uD83D\uDC44 \uD83D\uDC8B \uD83D\uDC98 \u2764\uFE0F \uD83D\uDC93 \uD83D\uDC94 \uD83D\uDC95 \uD83D\uDC96 \uD83D\uDC97 \uD83D\uDC99 \uD83D\uDC9A \uD83D\uDC9B \uD83D\uDC9C \uD83D\uDC9D \uD83D\uDC9E \uD83D\uDC9F \uD83D\uDC8C \uD83D\uDCA7 \uD83D\uDCA4 \uD83D\uDCA2 \uD83D\uDCA3 \uD83D\uDCA5 \uD83D\uDCA6 \uD83D\uDCA8 \uD83D\uDCAB \uD83D\uDCAC \uD83D\uDCAD \uD83D\uDC53 \uD83D\uDC54 \uD83D\uDC55 \uD83D\uDC56 \uD83D\uDC57 \uD83D\uDC58 \uD83D\uDC59 \uD83D\uDC5A \uD83D\uDC5B \uD83D\uDC5C \uD83D\uDC5D \uD83C\uDF92 \uD83D\uDC5E \uD83D\uDC5F \uD83D\uDC60 \uD83D\uDC61 \uD83D\uDC62 \uD83D\uDC51 \uD83D\uDC52 \uD83C\uDFA9 \uD83D\uDC84 \uD83D\uDC8D \uD83D\uDC8E \uD83D\uDC79 \uD83D\uDC7A \uD83D\uDC7B \uD83D\uDC80 \uD83D\uDC7D \uD83D\uDC7E \uD83D\uDCA9 \uD83D\uDC35 \uD83D\uDE48 \uD83D\uDE49 \uD83D\uDE4A \uD83D\uDC12 \uD83D\uDC36 \uD83D\uDC15 \uD83D\uDC29 \uD83D\uDC3A \uD83D\uDC31 \uD83D\uDE38 \uD83D\uDE39 \uD83D\uDE3A \uD83D\uDE3B \uD83D\uDE3C \uD83D\uDE3D \uD83D\uDE3E \uD83D\uDE3F \uD83D\uDE40 \uD83D\uDC08 \uD83D\uDC2F \uD83D\uDC05 \uD83D\uDC06 \uD83D\uDC34 \uD83D\uDC0E \uD83D\uDC2E \uD83D\uDC02 \uD83D\uDC03 \uD83D\uDC04 \uD83D\uDC37 \uD83D\uDC16 \uD83D\uDC17 \uD83D\uDC3D \uD83D\uDC0F \uD83D\uDC11 \uD83D\uDC10 \uD83D\uDC2A \uD83D\uDC2B \uD83D\uDC18 \uD83D\uDC2D \uD83D\uDC01 \uD83D\uDC00 \uD83D\uDC39 \uD83D\uDC30 \uD83D\uDC07 \uD83D\uDC3B \uD83D\uDC28 \uD83D\uDC3C \uD83D\uDC3E \uD83D\uDC14 \uD83D\uDC13 \uD83D\uDC23 \uD83D\uDC24 \uD83D\uDC25 \uD83D\uDC26 \uD83D\uDC27 \uD83D\uDC38 \uD83D\uDC0A \uD83D\uDC22 \uD83D\uDC0D \uD83D\uDC32 \uD83D\uDC09 \uD83D\uDC33 \uD83D\uDC0B \uD83D\uDC2C \uD83D\uDC1F \uD83D\uDC20 \uD83D\uDC21 \uD83D\uDC19 \uD83D\uDC1A \uD83D\uDC0C \uD83D\uDC1B \uD83D\uDC1C \uD83D\uDC1D \uD83D\uDC1E \uD83D\uDC90 \uD83C\uDF38 \uD83D\uDCAE \uD83C\uDF39 \uD83C\uDF3A \uD83C\uDF3B \uD83C\uDF3C \uD83C\uDF37 \uD83C\uDF31 \uD83C\uDF32 \uD83C\uDF33 \uD83C\uDF34 \uD83C\uDF35 \uD83C\uDF3E \uD83C\uDF3F \uD83C\uDF40 \uD83C\uDF41 \uD83C\uDF42 \uD83C\uDF43 \uD83C\uDF47 \uD83C\uDF48 \uD83C\uDF49 \uD83C\uDF4A \uD83C\uDF4B \uD83C\uDF4C \uD83C\uDF4D \uD83C\uDF4E \uD83C\uDF4F \uD83C\uDF50 \uD83C\uDF51 \uD83C\uDF52 \uD83C\uDF53 \uD83C\uDF45 \uD83C\uDF46 \uD83C\uDF3D \uD83C\uDF44 \uD83C\uDF30 \uD83C\uDF5E \uD83C\uDF56 \uD83C\uDF57 \uD83C\uDF54 \uD83C\uDF5F \uD83C\uDF55 \uD83C\uDF72 \uD83C\uDF71 \uD83C\uDF58 \uD83C\uDF59 \uD83C\uDF5A \uD83C\uDF5B \uD83C\uDF5C \uD83C\uDF5D \uD83C\uDF60 \uD83C\uDF62 \uD83C\uDF63 \uD83C\uDF64 \uD83C\uDF65 \uD83C\uDF61 \uD83C\uDF66 \uD83C\uDF67 \uD83C\uDF68 \uD83C\uDF69 \uD83C\uDF6A \uD83C\uDF82 \uD83C\uDF70 \uD83C\uDF6B \uD83C\uDF6C \uD83C\uDF6D \uD83C\uDF6E \uD83C\uDF6F \uD83C\uDF7C \u2615 \uD83C\uDF75 \uD83C\uDF76 \uD83C\uDF77 \uD83C\uDF78 \uD83C\uDF79 \uD83C\uDF7A \uD83C\uDF7B \uD83C\uDF74 \uD83C\uDF73 \uD83C\uDF0D \uD83C\uDF0E \uD83C\uDF0F \uD83C\uDF10 \uD83C\uDF0B \uD83D\uDDFB \uD83C\uDFE0 \uD83C\uDFE1 \u26EA \uD83C\uDFE2 \uD83C\uDFE3 \uD83C\uDFE4 \uD83C\uDFE5 \uD83C\uDFE6 \uD83C\uDFE8 \uD83C\uDFE9 \uD83C\uDFEA \uD83C\uDFEB \uD83C\uDFEC \uD83C\uDFED \uD83C\uDFEF \uD83C\uDFF0 \uD83D\uDC92 \uD83D\uDDFC \uD83D\uDDFD \uD83D\uDDFE \u26F2 \u26FA \uD83C\uDF01 \uD83C\uDF03 \uD83C\uDF04 \uD83C\uDF05 \uD83C\uDF06 \uD83C\uDF07 \uD83C\uDF09 \uD83C\uDF0A \u2668\uFE0F \uD83D\uDDFF \uD83C\uDF0C \uD83C\uDFA0 \uD83C\uDFA1 \uD83C\uDFA2 \uD83D\uDC88 \uD83C\uDFAA \uD83C\uDFAD \uD83C\uDFA8 \uD83C\uDFB0 \uD83D\uDE82 \uD83D\uDE83 \uD83D\uDE84 \uD83D\uDE85 \uD83D\uDE86 \uD83D\uDE87 \uD83D\uDE88 \uD83D\uDE89 \uD83D\uDE8A \uD83D\uDE9D \uD83D\uDE9E \uD83D\uDE8B \uD83D\uDE8C \uD83D\uDE8D \uD83D\uDE8E \uD83D\uDE8F \uD83D\uDE90 \uD83D\uDE91 \uD83D\uDE92 \uD83D\uDE93 \uD83D\uDE94 \uD83D\uDE95 \uD83D\uDE96 \uD83D\uDE97 \uD83D\uDE98 \uD83D\uDE99 \uD83D\uDE9A \uD83D\uDE9B \uD83D\uDE9C \uD83D\uDEB2 \uD83D\uDEB3 \u26FD \uD83D\uDEA8 \u2693 \uD83D\uDD31 \u26F5 \uD83D\uDEA3 \uD83D\uDEA4 \uD83D\uDEA2 \u2708\uFE0F \uD83D\uDCBA \uD83D\uDE81 \uD83D\uDE9F \uD83D\uDEA0 \uD83D\uDEA1 \uD83D\uDE80 \uD83C\uDFE7 \uD83D\uDEAE \uD83D\uDEA5 \uD83D\uDEA6 \uD83D\uDEA7 \uD83D\uDEAB \uD83D\uDEAD \uD83D\uDEAF \uD83D\uDEB0 \uD83D\uDEB1 \uD83D\uDEB7 \uD83D\uDEB8 \u267F \uD83D\uDEB9 \uD83D\uDEBA \uD83D\uDEBB \uD83D\uDEBC \uD83D\uDEBE \uD83D\uDEC2 \uD83D\uDEC3 \uD83D\uDEC4 \uD83D\uDEC5 \u26A0\uFE0F \u26D4 \uD83D\uDEAA \uD83D\uDEBD \uD83D\uDEBF \uD83D\uDEC0 \uD83D\uDEC1 \u231B \u23F3 \u231A \u23F0 \uD83D\uDD5B \uD83D\uDD67 \uD83D\uDD50 \uD83D\uDD5C \uD83D\uDD51 \uD83D\uDD5D \uD83D\uDD52 \uD83D\uDD5E \uD83D\uDD53 \uD83D\uDD5F \uD83D\uDD54 \uD83D\uDD60 \uD83D\uDD55 \uD83D\uDD61 \uD83D\uDD56 \uD83D\uDD62 \uD83D\uDD57 \uD83D\uDD63 \uD83D\uDD58 \uD83D\uDD64 \uD83D\uDD59 \uD83D\uDD65 \uD83D\uDD5A \uD83D\uDD66 \u2648 \u2649 \u264A \u264B \u264C \u264D \u264E \u264F \u2650 \u2651 \u2652 \u2653 \u26CE \uD83C\uDF11 \uD83C\uDF12 \uD83C\uDF13 \uD83C\uDF14 \uD83C\uDF15 \uD83C\uDF16 \uD83C\uDF17 \uD83C\uDF18 \uD83C\uDF19 \uD83C\uDF1A \uD83C\uDF1B \uD83C\uDF1C \u2600\uFE0F \uD83C\uDF1D \uD83C\uDF1E \u2601\uFE0F \u26C5 \uD83C\uDF00 \uD83C\uDF08 \uD83C\uDF02 \u2614 \u2744\uFE0F \u26C4 \uD83C\uDF1F \uD83C\uDF20 \uD83D\uDD25 \uD83C\uDF83 \uD83C\uDF84 \uD83C\uDF86 \uD83C\uDF87 \u2728 \uD83C\uDF88 \uD83C\uDF89 \uD83C\uDF8A \uD83C\uDF8B \uD83C\uDF8C \uD83C\uDF8D \uD83C\uDF8E \uD83C\uDF8F \uD83C\uDF90 \uD83C\uDF91 \uD83C\uDF93 \uD83C\uDFAF \uD83C\uDFB4 \uD83C\uDF80 \uD83C\uDF81 \uD83C\uDFAB \u26BD \u26BE \uD83C\uDFC0 \uD83C\uDFC8 \uD83C\uDFC9 \uD83C\uDFBE \uD83C\uDFB1 \uD83C\uDFB3 \u26F3 \uD83C\uDFA3 \uD83C\uDFBD \uD83C\uDFBF \uD83C\uDFC2 \uD83C\uDFC4 \uD83C\uDFC7 \uD83C\uDFCA \uD83D\uDEB4 \uD83D\uDEB5 \uD83C\uDFC6 \uD83C\uDFAE \uD83C\uDFB2 \u2660\uFE0F \u2665\uFE0F \u2666\uFE0F \u2663\uFE0F \uD83C\uDCCF \uD83C\uDC04 \uD83D\uDD07 \uD83D\uDD08 \uD83D\uDD09 \uD83D\uDD0A \uD83D\uDCE2 \uD83D\uDCE3 \uD83D\uDCEF \uD83D\uDD14 \uD83D\uDD15 \uD83D\uDD00 \uD83D\uDD01 \uD83D\uDD02 \u25B6\uFE0F \u23E9 \u25C0\uFE0F \u23EA \uD83D\uDD3C \u23EB \uD83D\uDD3D \u23EC \uD83C\uDFBC \uD83C\uDFB5 \uD83C\uDFB6 \uD83C\uDFA4 \uD83C\uDFA7 \uD83C\uDFB7 \uD83C\uDFB8 \uD83C\uDFB9 \uD83C\uDFBA \uD83C\uDFBB \uD83D\uDCFB \uD83D\uDCF1 \uD83D\uDCF3 \uD83D\uDCF4 \uD83D\uDCF2 \uD83D\uDCF5 \u260E\uFE0F \uD83D\uDCDE #\u20E3\uFE0F 0\u20E3\uFE0F 1\u20E3\uFE0F 2\u20E3\uFE0F 3\u20E3\uFE0F 4\u20E3\uFE0F 5\u20E3\uFE0F 6\u20E3\uFE0F 7\u20E3\uFE0F 8\u20E3\uFE0F 9\u20E3\uFE0F \uD83D\uDD1F \uD83D\uDCF6 \uD83D\uDCDF \uD83D\uDCE0 \uD83D\uDD0B \uD83D\uDD0C \uD83D\uDCBB \uD83D\uDCBD \uD83D\uDCBE \uD83D\uDCBF \uD83D\uDCC0 \uD83C\uDFA5 \uD83C\uDFA6 \uD83C\uDFAC \uD83D\uDCFA \uD83D\uDCF7 \uD83D\uDCF9 \uD83D\uDCFC \uD83D\uDD05 \uD83D\uDD06 \uD83D\uDD0D \uD83D\uDD0E \uD83D\uDD2C \uD83D\uDD2D \uD83D\uDCE1 \uD83D\uDCA1 \uD83D\uDD26 \uD83C\uDFEE \uD83D\uDCD4 \uD83D\uDCD5 \uD83D\uDCD6 \uD83D\uDCD7 \uD83D\uDCD8 \uD83D\uDCD9 \uD83D\uDCDA \uD83D\uDCD3 \uD83D\uDCD2 \uD83D\uDCC3 \uD83D\uDCDC \uD83D\uDCC4 \uD83D\uDCF0 \uD83D\uDCD1 \uD83D\uDD16 \uD83D\uDCB0 \uD83D\uDCB4 \uD83D\uDCB5 \uD83D\uDCB6 \uD83D\uDCB7 \uD83D\uDCB8 \uD83D\uDCB1 \uD83D\uDCB2 \uD83D\uDCB3 \uD83D\uDCB9 \u2709\uFE0F \uD83D\uDCE7 \uD83D\uDCE8 \uD83D\uDCE9 \uD83D\uDCE4 \uD83D\uDCE5 \uD83D\uDCE6 \uD83D\uDCEB \uD83D\uDCEA \uD83D\uDCEC \uD83D\uDCED \uD83D\uDCEE \u270F\uFE0F \u2712\uFE0F \uD83D\uDCDD \uD83D\uDCBC \uD83D\uDCC1 \uD83D\uDCC2 \uD83D\uDCC5 \uD83D\uDCC6 \uD83D\uDCC7 \uD83D\uDCC8 \uD83D\uDCC9 \uD83D\uDCCA \uD83D\uDCCB \uD83D\uDCCC \uD83D\uDCCD \uD83D\uDCCE \uD83D\uDCCF \uD83D\uDCD0 \uD83D\uDCDB \u2702\uFE0F \uD83D\uDD12 \uD83D\uDD13 \uD83D\uDD0F \uD83D\uDD10 \uD83D\uDD11 \uD83D\uDD28 \uD83D\uDD27 \uD83D\uDD29 \uD83D\uDD17 \uD83D\uDC89 \uD83D\uDC8A \uD83D\uDD2A \uD83D\uDD2B \uD83D\uDEAC \uD83C\uDFC1 \uD83D\uDEA9 \uD83C\uDDE8\uD83C\uDDF3 \uD83C\uDDEB\uD83C\uDDF7 \uD83C\uDDE9\uD83C\uDDEA \uD83C\uDDEE\uD83C\uDDF9 \uD83C\uDDEF\uD83C\uDDF5 \uD83C\uDDF7\uD83C\uDDFA \uD83C\uDDF0\uD83C\uDDF7 \uD83C\uDDEA\uD83C\uDDF8 \uD83C\uDDEC\uD83C\uDDE7 \uD83C\uDDFA\uD83C\uDDF8 \u2B06\uFE0F \u2197\uFE0F \u27A1\uFE0F \u2198\uFE0F \u2B07\uFE0F \u2199\uFE0F \u2B05\uFE0F \u2196\uFE0F \u2195\uFE0F \u2194\uFE0F \u21A9\uFE0F \u21AA\uFE0F \u2934\uFE0F \u2935\uFE0F \uD83D\uDD03 \uD83D\uDD04 \uD83D\uDD19 \uD83D\uDD1A \uD83D\uDD1B \uD83D\uDD1C \uD83D\uDD1D \uD83D\uDD30 \uD83D\uDD2E \uD83D\uDD2F \u267B\uFE0F \u26A1 \u2B50 \u2B55 \u2705 \u2611\uFE0F \u2714\uFE0F \u2716\uFE0F \u274C \u274E \u2795 \u2796 \u2797 \u27B0 \u27BF \u303D\uFE0F \u2733\uFE0F \u2734\uFE0F \u2747\uFE0F \u203C\uFE0F \u2049\uFE0F \u2753 \u2754 \u2755 \u2757 \u3030\uFE0F \u00A9\uFE0F \u00AE\uFE0F \u2122\uFE0F \uD83D\uDCAF \uD83D\uDD1E \uD83D\uDD20 \uD83D\uDD21 \uD83D\uDD22 \uD83D\uDD23 \uD83D\uDD24 \uD83C\uDD70\uFE0F \uD83C\uDD8E \uD83C\uDD71\uFE0F \uD83C\uDD91 \uD83C\uDD92 \uD83C\uDD93 \u2139\uFE0F \uD83C\uDD94 \u24C2\uFE0F \uD83C\uDD95 \uD83C\uDD96 \uD83C\uDD7E\uFE0F \uD83C\uDD97 \uD83C\uDD7F\uFE0F \uD83C\uDD98 \uD83C\uDD99 \uD83C\uDD9A \uD83C\uDE01 \uD83C\uDE02\uFE0F \uD83C\uDE37\uFE0F \uD83C\uDE36 \uD83C\uDE2F \uD83C\uDE50 \uD83C\uDE39 \uD83C\uDE1A \uD83C\uDE32 \uD83C\uDE51 \uD83C\uDE38 \uD83C\uDE34 \uD83C\uDE33 \u3297\uFE0F \u3299\uFE0F \uD83C\uDE3A \uD83C\uDE35 \u25AA\uFE0F \u25AB\uFE0F \u25FB\uFE0F \u25FC\uFE0F \u25FD \u25FE \u2B1B \u2B1C \uD83D\uDD36 \uD83D\uDD37 \uD83D\uDD38 \uD83D\uDD39 \uD83D\uDD3A \uD83D\uDD3B \uD83D\uDCA0 \uD83D\uDD18 \uD83D\uDD32 \uD83D\uDD33 \u26AA \u26AB \uD83D\uDD34 \uD83D\uDD35 \uE50A \uD83C\uDDE6 \uD83C\uDDE7 \uD83C\uDDE8 \uD83C\uDDE9 \uD83C\uDDEA \uD83C\uDDEB \uD83C\uDDEC \uD83C\uDDED \uD83C\uDDEE \uD83C\uDDEF \uD83C\uDDF0 \uD83C\uDDF1 \uD83C\uDDF2 \uD83C\uDDF3 \uD83C\uDDF4 \uD83C\uDDF5 \uD83C\uDDF6 \uD83C\uDDF7 \uD83C\uDDF8 \uD83C\uDDF9 \uD83C\uDDFA \uD83C\uDDFB \uD83C\uDDFC \uD83C\uDDFD \uD83C\uDDFE \uD83C\uDDFF'
},
script = document.createElement('SCRIPT');
script.type = 'text/javascript';
script.src = 'http://twemoji.maxcdn.com/twemoji.min.js';
document.getElementsByTagName('HEAD')[0].appendChild(script);
document.write('<style type="text/css">.sceditor-button-twemoji div{background:url(http://twemoji.maxcdn.com/16x16/1f600.png)!important}.sceditor-twemoji{width:220px;height:250px;overflow-y:auto}.sceditor-twemoji img{cursor:pointer;padding:3px}.sceditor-twemoji img:hover{opacity:.7}</style>');
$(function(){
if ($.sceditor) {
// create sceditor button and drop down
$.sceditor.command.set('twemoji', {
dropDown : function(editor, caller, callback) {
if (!fa_twemoji.element) {
fa_twemoji.element = document.createElement('DIV');
fa_twemoji.element.innerHTML = twemoji.parse(fa_twemoji.emoji_list, {
size : fa_twemoji.emoji_size,
attributes : function() {
return {
style : 'display:none;'
};
}
}).replace(/\s(?=<|$)/g, '');
// load handler for images to lighten the deployment of emoji
// it displays and loads one image at a time rather all at once which can make the browser unresponsive
if (fa_twemoji.async_load) {
fa_twemoji.image = {
collection : $('img', fa_twemoji.element),
index : 0,
timeout : [0, 6000], // timeout after 6000 attempts on 1 image
load : window.setInterval(function() {
if (fa_twemoji.image.collection[fa_twemoji.image.index].complete) {
fa_twemoji.image.index++;
if (fa_twemoji.image.collection[fa_twemoji.image.index]) {
fa_twemoji.image.collection[fa_twemoji.image.index].style.display = '';
fa_twemoji.image.timeout[0] = 0;
} else {
window.clearInterval(fa_twemoji.image.load);
fa_twemoji.image.load = 'COMPLETE';
}
} else if (++fa_twemoji.image.timeout[0] > fa_twemoji.image.timeout[1]) {
window.clearInterval(fa_twemoji.image.load);
fa_twemoji.image.load = 'ERROR';
}
}, 10)
};
fa_twemoji.image.collection[fa_twemoji.image.index].style.display = ''; // start loading
} else {
$('img', fa_twemoji.element).show();
}
}
$(fa_twemoji.element).click(function(e) {
var target = e.target;
if (target.tagName == 'IMG') {
callback(target.src);
fa_twemoji.auto_close && editor.closeDropDown(true);
}
});
editor.createDropDown(caller, 'twemoji', fa_twemoji.element);
},
// wysiwyg
exec : function(c) {
var e = this;
$.sceditor.command.get('twemoji').dropDown(e, c, function(icon) {
e.insert(' [img]' + icon + '[/img] ', '', true, true, true);
});
},
// source
txtExec : function(c) {
var e = this;
$.sceditor.command.get('twemoji').dropDown(e, c, function(icon) {
e.insert(' [img]' + icon + '[/img] ', '', true, true, true);
});
},
tooltip : fa_twemoji.button_title
});
toolbar = toolbar.replace(/date,/,'twemoji,date,'); // add the button to the toolbar
}
});
if (!window.fa_twemoji) {
window.fa_twemoji = config;
}
}());
Re: JAVASCRIPT PROBLEM
The problem is always here! You can view my forum to be sure of the problem!
http://nafidasoft.moontada.net
_________________________________________________
Thanks code: French Support English Support
Hashtag codes: English Support French Support
Twitter emoji: English Support French Support
http://nafidasoft.moontada.net
_________________________________________________
Thanks code: French Support English Support
Hashtag codes: English Support French Support
Twitter emoji: English Support French Support
Re: JAVASCRIPT PROBLEM
May you please try removing each these scripts one by one and see if any of them start working after one of the others are taken out? If it still doesnt work after its down to the last one, you can re install them and post the results for us.
-Brandon
-Brandon
Remember to mark your topic when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?
Team Leader
Review Section Rules | Request A Review | Sticker Points
Re: JAVASCRIPT PROBLEM
Hi,
I see numerous errors on your forum while viewing the console. ( F12 > Console ) I'm assuming these are coming from the templates, so try disabling the modified templates. Admin Panel > Display > Templates > General > Force the default templates : Yes
If the provided scripts work by temporarily disabling the templates, you'll then need to find which template is the cause via process of elimination. That is ; backup a template and delete it one by one until your JavaScripts work correctly. From experience however, I'd say the overall_header template would be the cause of your problems, that's if it's modified of course.
I see numerous errors on your forum while viewing the console. ( F12 > Console ) I'm assuming these are coming from the templates, so try disabling the modified templates. Admin Panel > Display > Templates > General > Force the default templates : Yes
If the provided scripts work by temporarily disabling the templates, you'll then need to find which template is the cause via process of elimination. That is ; backup a template and delete it one by one until your JavaScripts work correctly. From experience however, I'd say the overall_header template would be the cause of your problems, that's if it's modified of course.
Re: JAVASCRIPT PROBLEM
Hello @Ange Tuteur
yes really the problem was in the templates..
Can i give you the admin informations to detect which one is the problem?
Because I will try to repair it because the template theme was very important
et merci
Regards..
yes really the problem was in the templates..
Can i give you the admin informations to detect which one is the problem?
Because I will try to repair it because the template theme was very important
et merci
Regards..
Re: JAVASCRIPT PROBLEM
amghidh wrote:Hello @Ange Tuteur
yes really the problem was in the templates..
Can i give you the admin informations to detect which one is the problem?
Because I will try to repair it because the template theme was very important
et merci
Regards..
An admin account would not do any good, ONLY the founder can see the templates .
Remember to mark your topic when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?
Team Leader
Review Section Rules | Request A Review | Sticker Points
Re: JAVASCRIPT PROBLEM
brandon_g wrote:amghidh wrote:Hello @Ange Tuteur
yes really the problem was in the templates..
Can i give you the admin informations to detect which one is the problem?
Because I will try to repair it because the template theme was very important
et merci
Regards..
An admin account would not do any good, ONLY the founder can see the templates .
No problem.. I can give you/him/her the founder's account
Last edited by amghidh on December 19th 2015, 8:17 pm; edited 1 time in total
Re: JAVASCRIPT PROBLEM
Ok.. Just so you know, we normally dont recommend handing out the founder account details to anyone, I mean in this case its Ange and I know he wont do anything other find the problem with it, but I would just strongly recommend being careful and not handing out the founder account. Just wanted to give you that word of caution.
I hope you can manage to solve this problem soon .
Regards,
-Brandon
I hope you can manage to solve this problem soon .
Regards,
-Brandon
Remember to mark your topic when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?
Team Leader
Review Section Rules | Request A Review | Sticker Points
Re: JAVASCRIPT PROBLEM
I'm at least 90% sure that the problem comes from your
template. Could you provide the template code here ? It's located under Display > Templates > General > overall_header
|
Re: JAVASCRIPT PROBLEM
@Ange Tuteur
- Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" {NAMESPACE_FB_LIKE} {NAMESPACE_FB} {NAMESPACE_BBCODE}>
<head>
<title>{SITENAME_TITLE}{PAGE_TITLE}</title>
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="content-style-type" content="text/css" />
<!-- BEGIN switch_compat_meta -->
<meta http-equiv="X-UA-Compatible" content="IE={switch_compat_meta.VERSION}" />
<!-- END switch_compat_meta -->
<!-- BEGIN switch_canonical_url -->
<link rel="canonical" href="{switch_canonical_url.CANONICAL_URL}" />
<!-- END switch_canonical_url -->
{META_FAVICO}
{META}
{META_FB_LIKE}
<meta name="title" content="{SITENAME_TITLE}{PAGE_TITLE}" />
{T_HEAD_STYLESHEET}
{CSS}
<link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="{SITENAME}" />
<link rel="search" type="application/opensearchdescription+xml" href="{URL_BOARD_DIRECTORY}/search/improvedsearch.xml" title="{SEARCH_FORUMS}" />
<script src="{JQUERY_PATH}" type="text/javascript"></script>
<script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>
<!-- BEGIN switch_fb_login -->
<script src="http://connect.facebook.net/{switch_fb_login.FB_LOCAL}/all.js" type="text/javascript"></script>
<script src="{switch_fb_login.JS_FB_LOGIN}" type="text/javascript"></script>
<!-- END switch_fb_login -->
<!-- BEGIN switch_ticker -->
<link type="text/css" rel="stylesheet" href="{JS_DIR}jquery/ticker/ticker.css" />
<script src="{JS_DIR}jquery/ticker/ticker.js" type="text/javascript"></script>
<!-- END switch_ticker -->
<!-- BEGIN switch_ticker_new -->
<script src="{JS_DIR}jquery/jcarousel/jquery.jcarousel.js" type="text/javascript"></script>
<script type="text/javascript">//<![CDATA[
/* Definir le sens de direction en fonction du panneau admin */
var tickerDirParam = "{switch_ticker.DIRECTION}";
var slid_vert = false;
var auto_dir = 'next';
var h_perso = parseInt({switch_ticker.HEIGHT});
switch( tickerDirParam )
{
case 'top' :
slid_vert = true;
break;
case 'left':
break;
case 'bottom':
slid_vert = true;
auto_dir = 'prev';
break;
case 'right':
auto_dir = 'prev';
break;
default:
slid_vert = true;
}
$(document).ready(function() {
var w_cont = $('#fa_ticker_container').width();
if (w_cont > 0)
{
$('#fa_ticker_container').width(w_cont);
/* Affichage de la liste */
$('#fa_ticker_content').css('display','block');
/* Calcul des dimensions du conteneur et des elements */
var width_max = $('ul#fa_ticker_content').width();
var width_item = Math.floor(width_max / {switch_ticker.SIZE});
var height_max = h_perso;
/* Calcul de la hauteur maximale du conteneur en fonction des elements et de la hauteur personnalisee dans l'admin */
$('ul#fa_ticker_content li').each( function () {
if ($(this).height() > height_max)
{
height_max = $(this).height();
}
} );
/* Redimensionnement des elements et des images trop larges */
$('ul#fa_ticker_content li').width(width_item).height(height_max).find('img').each(function () {
if ($(this).width() > width_item)
{
var ratio = $(this).width() / width_item;
var new_height = Math.round($(this).height() / ratio);
$(this).height(new_height).width(width_item);
}
});
/* Redimensionnement et centrage du conteneur en mode vertical */
if (slid_vert)
{
$('ul#fa_ticker_content').width(width_item).height(height_max).css('marginLeft','auto').css('marginRight','auto');
}
/* Initialisation du caroussel */
$('#fa_ticker_content').jcarousel({
vertical: slid_vert,
wrap: 'circular',
auto: {switch_ticker.STOP_TIME},
auto_direction: auto_dir,
scroll: 1,
size: {switch_ticker.SIZE},
height_max: height_max,
animation: {switch_ticker.SPEED}
});
}
else
{
$('ul#fa_ticker_content li:not(:first)').css('display','none');
$('ul#fa_ticker_content li:first').css('list-style','none').css('text-align','center');
}
});
//]]>
</script>
<!-- END switch_ticker_new -->
<script type="text/javascript">//<![CDATA[
$(document).ready(function(){
<!-- BEGIN switch_enable_pm_popup -->
pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
if(pm != null) { pm.focus(); }
<!-- END switch_enable_pm_popup -->
<!-- BEGIN switch_report_popup -->
report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
if(report != null) { report.focus(); }
<!-- END switch_report_popup -->
<!-- BEGIN switch_ticker -->
$(document).ready(function() {
Ticker.start({
height : {switch_ticker.HEIGHT},
spacing : {switch_ticker.SPACING},
speed : {switch_ticker.SPEED},
direction : '{switch_ticker.DIRECTION}',
pause : {switch_ticker.STOP_TIME}
});
});
<!-- END switch_ticker -->
});
<!-- BEGIN switch_login_popup -->
var logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = true, logInBackgroundClass = false;
<!-- END switch_login_popup -->
<!-- BEGIN switch_login_popup -->
$(document).ready( function() {
$(window).resize(function() {
var windowWidth = document.documentElement.clientWidth;
var popupWidth = $("#login_popup").width();
var mypopup = $("#login_popup");
$("#login_popup").css({
"left": windowWidth/2 - popupWidth/2
});
});
});
<!-- END switch_login_popup -->
//]]>
</script>
{GREETING_POPUP}
<!-- BEGIN switch_ticker_new -->
<style>
.jcarousel-skin-tango .jcarousel-item {
text-align:center;
width: 10px;
}
.jcarousel-skin-tango .jcarousel-item-horizontal {
margin-right: {switch_ticker.SPACING}px;
}
.jcarousel-skin-tango .jcarousel-item-vertical {
margin-bottom: {switch_ticker.SPACING}px;
}
</style>
<!-- END switch_ticker_new -->
{HOSTING_JS}
<!-- BEGIN google_analytics_code -->
<script type="text/javascript">
//<![CDATA[
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '{G_ANALYTICS_ID}']);
_gaq.push(['_trackPageview']);
_gaq.push(['_trackPageLoadTime']);
<!-- BEGIN google_analytics_code_bis -->
_gaq.push(['b._setAccount', '{G_ANALYTICS_ID_BIS}']);
_gaq.push(['b._trackPageview']);
<!-- END google_analytics_code_bis -->
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
//]]>
</script>
<!-- END google_analytics_code -->
<!-- CSS Stylesheet -->
<style type="text/css" id="vbulletin_css">
body
{
background: #f7f7f7;
color: #001a23;
font: bold 12pt Times New Roman;
margin: 0px;
padding: 0px;
text-shadow:#fff 0px 1px 0px solid;
}
a:link, body_alink
{
color: #1182a6;
text-decoration: none;
}
a:visited, body_avisited
{
color: #1182a6;
text-decoration: none;
}
a:hover, a:active, body_ahover
{
color: #FF9900;
}
.page
{
background: #f7f7f7;
color: #033d50;
font: bold 12pt Times New Roman;
margin: 0px;
padding: 0px;
}
.tborder
{
background: #e2e2e2;
}
.tcat
{
background: #117ba4 url(http://style.egynt.net/Traidnt-v2/images/main-col.png) repeat-x top left;
color: #FFFFFF;
font: bold 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
text-shadow: 1px 1px 0px #3e3e3e;
}
.tcat a:link, .tcat_alink
{
color: #ffffff;
text-decoration: none;
}
.tcat a:visited, .tcat_avisited
{
color: #ffffff;
text-decoration: none;
}
.tcat a:hover, .tcat a:active, .tcat_ahover
{
color: #FF9900;
}
.thead
{
background: #dadada url(http://style.egynt.net/Traidnt-v2/images/sub-col.png) repeat-x top left;
color: #0a6e95;
font: bold 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
text-shadow: 1px 1px 0px #ffffff;
}
.thead a:link, .thead_alink
{
color: #0a6e95;
}
.thead a:visited, .thead_avisited
{
color: #0a6e95;
}
.thead a:hover, .thead a:active, .thead_ahover
{
color: #FF9900;
}
.tfoot
{
background: #dadada url(http://style.egynt.net/Traidnt-v2/images/sub-col.png) repeat-x top left;
color: #117aa3;
font: bold 11px tahoma, arial, verdana, geneva, lucida, helvetica;
text-shadow: 1px 1px 0px #FFFFFF;
border:1px solid #c2c2c2;
border-bottom:2px solid #808080;
-webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px;
}
.tfoot a:link, .tfoot_alink
{
color: #08688e;
}
.tfoot a:visited, .tfoot_avisited
{
color: #08688e;
}
.tfoot a:hover, .tfoot a:active, .tfoot_ahover
{
color: #FF9900;
}
.alt1, .alt1Active
{
background: #fff;
color: #08688e;
text-shadow: 1px 1px 0px #ffffff;
}
.alt2, .alt2Active
{
background: #fafafb url(http://style.egynt.net/Traidnt-v2/images/t2.png) repeat-x top left;
color: #08688e;
text-shadow: 1px 1px 0px #ffffff;
}
.inlinemod
{
background: #FFFFFF;
color: #08688e;
}
.wysiwyg
{
background: #F5F5FF;
color: #08688e;
font: bold 12pt Times New Roman;
}
.wysiwyg a:link, .wysiwyg_alink
{
color: #08688e;
}
.wysiwyg a:visited, .wysiwyg_avisited
{
color: #08688e;
}
.wysiwyg a:hover, .wysiwyg a:active, .wysiwyg_ahover
{
color: #FF9900;
}
textarea, .bginput
{
font: bold 11px tahoma, arial, verdana, geneva, lucida, helvetica;
}
.bginput option, .bginput optgroup
{
font-size: 11px;
font-family: tahoma, arial, verdana, geneva, lucida, helvetica;
}
.button
{
font: bold 11px tahoma, arial, verdana, geneva, lucida, helvetica;
}
select
{
font: bold 11px tahoma, arial, verdana, geneva, lucida, helvetica;
}
option, optgroup
{
font-size: 11px;
font-family: tahoma, arial, verdana, geneva, lucida, helvetica;
}
.smallfont
{
font: bold 11px tahoma, arial, verdana, geneva, lucida, helvetica;
}
.time
{
color: #c9e6ff;
}
.navbar
{
font: bold 11px tahoma, arial, verdana, geneva, lucida, helvetica;
padding:3px;
}
.highlight
{
color: #FF0000;
font-weight: bold;
}
.fjsel
{
background: #0f5065;
color: #FFFFFF;
}
.fjdpth0
{
background: #F7F7F7;
color: #000000;
}
.panel
{
background: #f5f5f5;
color: #08688e;
font: bold 11px tahoma, arial, verdana, geneva, lucida, helvetica;
padding: 10px;
border-right:3px solid #0192ca;
border-left:3px solid #0192ca;
border-top:1px solid #CCC;
border-bottom:1px solid #CCC;
-moz-border-radius:9px;-webkit-border-radius:9px;border-radius:9px;
}
.panel a:link, .panel_alink
{
color: #08688e;
}
.panel a:visited, .panel_avisited
{
color: #08688e;
}
.panel a:hover, .panel a:active, .panel_ahover
{
color: #000033;
}
.panelsurround
{
background: #FFFFFF;
color: #08688e;
font: bold 11px tahoma, arial, verdana, geneva, lucida, helvetica;
padding: 5px;
}
legend
{
background: #dadada url(http://style.egynt.net/Traidnt-v2/images/sub-col.png) repeat-x top left;
color: #08688e;
font: bold 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
border:1px solid #888A99;
-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:6px;
text-shadow:#fff 0px 1px 0px;
padding-right:6px;
padding-left:8px;
padding-top:4px;
padding-bottom:4px;
}
.vbmenu_control
{
background: #117ba4 url(http://style.egynt.net/Traidnt-v2/images/main-col.png) repeat-x top left;
color: #FFFFFF;
font: bold 11px tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
padding: 3px 6px 3px 6px;
white-space: nowrap;
text-shadow: 1px 1px 0px #002a41;
}
.vbmenu_control a:link, .vbmenu_control_alink
{
color: #FFFFFF;
text-decoration: none;
}
.vbmenu_control a:visited, .vbmenu_control_avisited
{
color: #FFFFFF;
text-decoration: none;
}
.vbmenu_control a:hover, .vbmenu_control a:active, .vbmenu_control_ahover
{
color: #FDDF00;
text-decoration: text-shadow:#fff 0px 1px 0px;;
}
.vbmenu_popup
{
background: #dedede;
color: #08688e;
font: bold 11px tahoma, arial, verdana, geneva, lucida, helvetica;
border: 1px solid #aeaeae;
}
.vbmenu_option
{
background: #f7f7f7;
color: #08688e;
font: bold 11px tahoma, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
white-space: nowrap;
cursor: pointer;
text-shadow:#fff 0px 1px 0px;
}
.vbmenu_option a:link, .vbmenu_option_alink
{
color: #08688e;
text-decoration: none;
}
.vbmenu_option a:visited, .vbmenu_option_avisited
{
color: #08688e;
text-decoration: none;
}
.vbmenu_option a:hover, .vbmenu_option a:active, .vbmenu_option_ahover
{
color: #FFFFFF;
text-decoration: none;
}
.vbmenu_hilite
{
background: #fff;
color: #08688e;
font: bold 11px tahoma, arial, verdana, geneva, lucida, helvetica;
white-space: nowrap;
cursor: pointer;
text-shadow:#fff 0px 1px 0px;
}
.vbmenu_hilite a:link, .vbmenu_hilite_alink
{
text-decoration: none;
}
.vbmenu_hilite a:visited, .vbmenu_hilite_avisited
{
text-decoration: none;
}
.vbmenu_hilite a:hover, .vbmenu_hilite a:active, .vbmenu_hilite_ahover
{
text-decoration: none;
}
/* ***** styling for 'big' usernames on postbit etc. ***** */
.bigusername { font-size: 14pt; }
/* ***** small padding on 'thead' elements ***** */
td.thead, th.thead, div.thead { padding: 4px; }
/* ***** basic styles for multi-page nav elements */
.pagenav a { text-decoration: none; }
.pagenav td { padding: 2px 4px 2px 4px; }
/* ***** de-emphasized text */
.shade, a.shade:link, a.shade:visited { color: #777777; text-decoration: none; }
a.shade:active, a.shade:hover { color: #FF4400; text-decoration: underline; }
.tcat .shade, .thead .shade, .tfoot .shade { color: #DDDDDD; }
/* ***** define margin and font-size for elements inside panels ***** */
.fieldset { margin-bottom: 6px; }
.fieldset, .fieldset td, .fieldset p, .fieldset li { font-size: 11px; }
.top-r {background:url(http://style.egynt.net/Traidnt-v2/images/top-r.png) repeat-x; height:49px;}
.home-button{background:url(http://style.egynt.net/Traidnt-v2/images/home.png) no-repeat; height:49px; width:130px; background-position: 0px 0px; display: block; float:right;}
.home-button:hover{background:url(http://style.egynt.net/Traidnt-v2/images/home.png) no-repeat; height:49px; width:130px; background-position: 0px -49px; display: block; float:right;}
.home-button:active{background:url(http://style.egynt.net/Traidnt-v2/images/home.png) no-repeat; height:49px; width:130px; background-position: 0px -98px; display: block; float:right;}
.register-button{background:url(http://style.egynt.net/Traidnt-v2/images/register.png) no-repeat; height:49px; width:133px; background-position: 0px 0px; display: block; float:right;}
.register-button:hover{background:url(http://style.egynt.net/Traidnt-v2/images/register.png) no-repeat; height:49px; width:133px; background-position: 0px -49px; display: block; float:right;}
.register-button:active{background:url(http://style.egynt.net/Traidnt-v2/images/register.png) no-repeat; height:49px; width:133px; background-position: 0px -98px; display: block; float:right;}
.control-button{background:url(http://style.egynt.net/Traidnt-v2/images/control.png) no-repeat; height:49px; width:133px; background-position: 0px 0px; display: block; float:right;}
.control-button:hover{background:url(http://style.egynt.net/Traidnt-v2/images/control.png) no-repeat; height:49px; width:133px; background-position: 0px -49px; display: block; float:right;}
.control-button:active{background:url(http://style.egynt.net/Traidnt-v2/images/control.png) no-repeat; height:49px; width:133px; background-position: 0px -98px; display: block; float:right; }
.news-button{background:url(http://style.egynt.net/Traidnt-v2/images/news.png) no-repeat; height:49px; width:128px; background-position: 0px 0px; display: block; float:right;}
.news-button:hover{background:url(http://style.egynt.net/Traidnt-v2/images/news.png) no-repeat; height:49px; width:128px; background-position: 0px -49px; display: block; float:right;}
.news-button:active{background:url(http://style.egynt.net/Traidnt-v2/images/news.png) no-repeat; height:49px; width:128px; background-position: 0px -98px; display: block; float:right; }
.mail-button{background:url(http://style.egynt.net/Traidnt-v2/images/mail.png) no-repeat; height:49px; width:128px; background-position: 0px 0px; display: block; float:right;}
.mail-button:hover{background:url(http://style.egynt.net/Traidnt-v2/images/mail.png) no-repeat; height:49px; width:128px; background-position: 0px -49px; display: block; float:right;}
.mail-button:active{background:url(http://style.egynt.net/Traidnt-v2/images/mail.png) no-repeat; height:49px; width:128px; background-position: 0px -98px; display: block; float:right; }
.header-r {background:url(http://i68.servimg.com/u/f68/19/38/08/30/header12.png) repeat-x; height:221px;}
.logo {background:url(http://i68.servimg.com/u/f68/19/38/08/30/logo11.png) no-repeat; height:221px; width:520px; float:right;}
.hnavbar {background:url(http://style.egynt.net/Traidnt-v2/images/navbar.png) repeat-x; height:60px;}
.search-area {background:url(http://style.egynt.net/Traidnt-v2/images/search-area.png) no-repeat; width:183px; height:49px; float:left;}
.bottom-r {background:url(http://style.egynt.net/Traidnt-v2/images/bottom-r.png) repeat-x; height:62px;}
.caution {background:url(http://style.egynt.net/Traidnt-v2/images/caution.png) no-repeat; height:62px; width:663px; margin: 0 auto;}
.footer-r{background:url(http://style.egynt.net/Traidnt-v2/images/footer-r.png) repeat-x; height:154px;}
.copyright{background:url(http://style.egynt.net/Traidnt-v2/images/copyright.png) no-repeat; float:right; height:154px; width:365px;}
.links{background:url(http://style.egynt.net/Traidnt-v2/images/links.png) no-repeat; float:right; height:154px; width:413px;}
.designer{background:url(http://style.egynt.net/Traidnt-v2/images/design.png) no-repeat; float:left; height:154px; width:174px;}
.search {
background-image:url(http://style.egynt.net/Traidnt-v2/images/space.png); background-repeat:no-repeat; height:38px; width:278px; float:left; text-align:right;}
.text-search {background: url('http://style.egynt.net/TRaidnt-v2/images/space.png'); position: absolute; border: 0px; top: 14px; left: 15px; width: 134px; height: 22px; font-family: tahoma; font-size: 12px; color: #00334d; text-shadow: #fff 0px 1px 0px; text-align: right;
}
#login{
background: url('http://i68.servimg.com/u/f68/19/38/08/30/login10.png') no-repeat;
width: 377px;
height: 221px;
position: absolute;
top: 49px;
left: 0px;
}
.searchsubmit {
background:url(http://style.egynt.net/Traidnt-v2/images/search-button.png) no-repeat; height:49px; width:96px; background-position: 0px 0px; display: block; float:left;
position: absolute;
border: 0px;
top:0px;
left: 183px;
cursor: pointer;
}
.searchsubmit:hover {
background:url(http://style.egynt.net/Traidnt-v2/images/search-button.png) no-repeat; height:49px; width:96px; background-position: 0px -49px; display: block; float:left;
position: absolute;
border: 0px;
top:0px;
left: 183px;
cursor: pointer;
}
.searchsubmit:active {
background:url(http://style.egynt.net/Traidnt-v2/images/search-button.png) no-repeat; height:49px; width:96px; background-position: 0px -98px; display: block; float:left;
position: absolute;
border: 0px;
top:0px;
left: 183px;
cursor: pointer;
}
.namelogin{
background:url('http://style.egynt.net/Traidnt-v2/images/space.png');
width:138px;
height:22px;
position: absolute;
top: 95px;
left: 73px;
border: 0px;
font-family:tahoma;
font-size:12px;
font-weight:bold;
text-align:right;
text-shadow:0px 1px 0px #fff;
}
.passlogin{
background:url('http://style.egynt.net/Traidnt-v2/images/space.png');
width:137px;
height:22px;
font-family:tahoma;
font-size:12px;
font-weight:bold;
position: absolute;
top: 128px;
left: 73px;
border: 0px;
text-align:right;
text-shadow:0px 1px 0px #fff;
}
.remember{ position: absolute; top: 165px; left: 320px; width:15px; height: 15px;}
.login-button{ background-image:url('http://style.egynt.net/Traidnt-v2/images/space.png'); position: absolute;
top: 160px;
left: 80px;
width:115px;
height: 31px;
}
#login2{
background: url('http://i68.servimg.com/u/f68/19/38/08/30/member10.png') no-repeat;
width: 377px;
height: 221px;
position: absolute;
top: 49px;
left: 0px;
font-family: tahoma;
font-size: 12px;
font-weight: bold;
}
.guest-msg{
position: absolute;
width: 300px;
top: 85px;
right: 28px;
color: #fff;
text-shadow: #012b45 0px 1px 0px;
text-align: center;
width: 305px;
line-height: 24px;
height: 112px;
}
.guest-msg a{color:#fff000; text-shadow:#012b45 0px 1px 0px; }
.guest-msg a:hover{color:#ffc907; text-shadow:#012b45 0px 1px 0px;}
.mynavb {background-image:url('http://i68.servimg.com/u/f68/19/38/08/30/navbar10.png'); background-repeat:repeat-x; height:60px; font-size:12px; font-family:Tahoma, Geneva, sans-serif; padding-top:5px;}
.mynavb a {color:#FFFFFF;}
.mynavb a:hover{color:#258DC1}
.linker {list-style-image:url(http://style.egynt.net/Traidnt-v2/icons/links.png); float:right; padding-right:55px; padding-top:40px; font-size:12px; font-family:Tahoma, Geneva, sans-serif; font-weight:bold; color:#005f95; text-shadow:#fff 0px 1px 0px; text-align:right; line-height:20px;}
.linker a {color:#005f95; text-decoration:none; }
.linker a:hover{color:#d17b00; text-decoration:none; }
.copyrig2 {float:right; padding-right:25px; padding-top:55px; font-size:12px; font-family:Tahoma, Geneva, sans-serif; font-weight:bold; color:#005f95; text-shadow:#fff 0px 1px 0px; text-align:center; line-height:18px; width:315px;}
.copyrig2 a {color:#005f95; text-decoration:none; }
.copyrig2 a:hover{color:#d17b00; text-decoration:none; }
/* Main forum */
.main-top {background:url(http://i68.servimg.com/u/f68/19/38/08/30/sans-t10.gif) repeat-x; height:49px;}
.top-left-1 {background:url(http://i68.servimg.com/u/f68/19/38/08/30/forum210.gif) no-repeat; height:49px; width:8px; float:left;}
.top-left-2 {background:url(http://i68.servimg.com/u/f68/19/38/08/30/sans-t10.gif) no-repeat; height:49px; width:1px; float:left;}
.top-right-1 {background:url(http://i68.servimg.com/u/f68/19/38/08/30/toprig10.gif) no-repeat; height:49px; width:8px; float:right;}
.top-right-2 {background:url(http://i68.servimg.com/u/f68/19/38/08/30/sans-t10.gif) no-repeat; height:49px; width:1px; float:right;}
.nwelcome {background:url(http://i68.servimg.com/u/f68/19/38/08/30/sans-t10.gif) no-repeat; height:60px; width:307px; margin: 0 auto;}
.stat {background:url(http://i68.servimg.com/u/f68/19/38/08/30/sans-t10.gif) no-repeat; height:60px; width:307px; margin: 0 auto;}
.main-bottom {background:url(http://i68.servimg.com/u/f68/19/38/08/30/forum_10.gif) repeat-x; height:15px;}
.bottom-left-1 {background:url(http://i68.servimg.com/u/f68/19/38/08/30/forum213.gif) no-repeat; height:24px; width:8px; float:left;}
.bottom-left-2 {background:url(http://i68.servimg.com/u/f68/19/38/08/30/forum_10.gif) no-repeat; height:24px; width:15px; float:left;}
.bottom-right-1 {background:url(http://i68.servimg.com/u/f68/19/38/08/30/forum_11.gif) no-repeat; height:24px; width:8px; float:right;}
.bottom-right-2 {background:url(http://i68.servimg.com/u/f68/19/38/08/30/forum_10.gif) no-repeat; height:24px; width:15px; float:right;}
.right-col {background:url(http://i68.servimg.com/u/f68/19/38/08/30/forum211.gif) right repeat-y; padding-right:16px;}
.left-col {background:url(http://i68.servimg.com/u/f68/19/38/08/30/forum212.gif) left repeat-y; padding-left:16px;}
.ncontain{background:#f4f4f4;}
/* e6ar-FORUMHOME */
#tforumhome {background:url(http://style.egynt.net/Traidnt-v2/e6ar/forumhome/top-col.png) repeat-x; height:44px;}
#tforumhome .top-right-1{background:url(http://style.egynt.net/Traidnt-v2/e6ar/forumhome/top-right-1.png) no-repeat; height:44px; width:21px; float:right;}
#tforumhome .top-right-2{background:url(http://style.egynt.net/Traidnt-v2/e6ar/forumhome/top-right-2.png) no-repeat; height:44px; width:82px; float:right;}
#tforumhome .top-left-1{background:url(http://style.egynt.net/Traidnt-v2/e6ar/forumhome/top-left-1.png) no-repeat; height:44px; width:21px; float:left;}
#tforumhome .top-left-2{background:url(http://style.egynt.net/Traidnt-v2/e6ar/forumhome/top-left-2.png) no-repeat; height:44px; width:82px; float:left;}
#bforumhome {background:url(http://style.egynt.net/Traidnt-v2/e6ar/forumhome/bottom-col.png) repeat-x; height:41px;}
#bforumhome .bottom-right{background:url(http://style.egynt.net/Traidnt-v2/e6ar/forumhome/bottom-right-1.png) no-repeat; height:41px; width:21px; float:right;}
#bforumhome .bottom-left{background:url(http://style.egynt.net/Traidnt-v2/e6ar/forumhome/bottom-left-1.png) no-repeat; height:41px; width:21px; float:left;}
#bforumhome .bottom-logo{background:url(http://i68.servimg.com/u/f68/19/38/08/30/bottom10.png) no-repeat; height:41px; width:281px; margin: 0 auto;}
.f-right-col{background:url(http://style.egynt.net/Traidnt-v2/e6ar/forumhome/right-col.png) repeat-y right; padding-right:15px;}
.f-left-col{background:url(http://style.egynt.net/Traidnt-v2/e6ar/forumhome/left-col.png) repeat-y left; padding-left:15px;}
.f-contain {background:#f7f7f7;}
.f2top-title {padding-top:16px; text-align:center;}
.f2top-title a {color:#fff; text-shadow:#004aa1 0px 1px 0px; text-decoration:none; font-family:Tahoma, Geneva, sans-serif; font-size:12px; font-weight:bold;}
.f2top-title a:hover {color:#fff600;}
#tr-stats {border-bottom:2px solid #0e6e94; border-radius:20px; background:url('http://style.egynt.net/Traidnt-v2/images/sub-col.png') repeat-x; text-align:center;}
#tr-stats:hover {border-bottom:2px solid #ff9c00; border-radius:20px; background:url('http://style.egynt.net/Traidnt-v2/images/sub-col2.png') repeat-x; text-align:center;}
/* User Info Postbit & Postbit_legacy */
.postbit_info {
background-color: #fff;
border-left: 3px solid #279ff5;
color: #46535c;
font: regular 11px tahoma;
font-size: 11px;
letter-spacing: 0;
margin: 0 0 3px;
padding: 4px 5px;
vertical-align: middle;
font-family: Tahoma;
border-top: none;
border-bottom:none;
border-right: 3px solid #279ff5;
-moz-border-radius:11px;-webkit-border-radius:11px;border-radius:11px;
}
.postbit_info:hover {
background-color: #fafafa;
border-color: #dbdbdb;
border-left: 3px solid #f5bd27;
color: #46535c;
font: regular 11px tahoma;
font-size: 11px;
letter-spacing: 0;
margin: 0 0 3px;
padding: 4px 5px;
vertical-align: middle;
font-family: Tahoma;
border-top: none;
border-bottom:none;
border-right: 3px solid #f5bd27;
-moz-border-radius:11px;-webkit-border-radius:11px;border-radius:11px;
}
/* Signature Postbit & Postbit_legacy */
.postbit_sig {
background-color: #fafafa;
border-top: 1px solid #F2F2F2;
border-bottom: 1px solid #F2F2F2;
border-left: 3px solid #279ff5;
border-right: 3px solid #279ff5;
border-radius:15px;
-moz-border-radius:15px;-webkit-border-radius:15px;
}
/* End - Postbit_Userinfo */
/*
SLIDESHOW - Traidnt-v2
*/
/* _______________________________________________ */
/* CONTAINER */
/* _______________________________________________ */
.carousel
{
position :relative ;
margin :0 auto;
width :930px;
height :auto;
border :none;
overflow : hidden ;
}
/* _______________________________________________ */
/* SLIDES */
/* _______________________________________________ */
/* slide container */
.carousel .slides
{
margin :0;
padding :0;
border :none;
list-style :none;
position :relative ;
overflow :visible ;
height:200px
}
/* slide item */
.carousel .slides .slideItem
{
position :absolute ;
cursor :pointer ;
overflow : hidden;
padding :0;
margin :0;
border :none;
}
.carousel .slides .slideItem a
{
display: block ;
text-decoration :none;
margin :0;
padding :0;
border :none;
outline :none;
}
.carousel .slides .slideItem img
{
margin :0;
padding :0;
border :none;
width :100%;
height :100%;
}
/* _______________________________________________ */
/* BACKGROUND IMAGES */
/* _______________________________________________ */
.carousel .nextButton,
.carousel .prevButton,
.carousel .buttonNav .bullet,
.carousel .buttonNav .bulletActive{
background-color: transparent;
background-image: url("http://style.egynt.net/Traidnt-v2/slideshow/images/icons.png");
background-position: 0 0;
background-repeat: no-repeat;
}
/* _______________________________________________ */
/* DIRECTION BUTTON */
/* _______________________________________________ */
.carousel .nextButton,
.carousel .prevButton{
position :absolute ;
top :90px;
width :34px;
height :34px;
cursor :pointer ;
z-index :9999;
}
.carousel .nextButton{
left :44px;
background-position: 0 -34px;
}
.carousel .nextButton:hover{
background-position: -34px -34px;
}
.carousel .nextButton:active{
background-position: -68px -34px;
}
.carousel .prevButton{
right :44px;
background-position: 0 0;
}
.carousel .prevButton:hover{
background-position: -34px 0;
}
.carousel .prevButton:active{
background-position: -68px 0;
}
/* _______________________________________________ */
/* NAVIGATION BUTTON */
/* _______________________________________________ */
/* buttons container */
.carousel .buttonNav{
position : relative ;
margin :0 auto;
z-index :999;
}
/* numbers */
.carousel .buttonNav .numbers {
position :relative ;
float :left ;
margin :5px;
cursor :pointer ;
}
.carousel .buttonNav .numbers:hover{
}
.carousel .buttonNav .numberActive
{
background : none;
color :#000;
cursor :default ;
}
/* bullets */
.carousel .buttonNav .bullet{
position :relative ;
float :right ;
width :16px;
height :16px;
margin :5px;
cursor :pointer ;
background-position: -16px -68px ;
}
.carousel .buttonNav .bullet:hover{
background-position: 0 -68px;
}
.carousel .buttonNav .bulletActive{
cursor :default ;
background-position: 0 -68px;
}
/* _____________________________ *
/* SHADOW */
/* _____________________________ */
.carousel .shadow{
width :100%;
height :26px;
}
.carousel .shadow .shadowLeft{
background : url("http://style.egynt.net/Traidnt-v2/slideshow/images/shadowLeft.png") no-repeat;
width :66px;
height :15px;
}
.carousel .shadow .shadowMiddle{
height :15px;
background:url("http://style.egynt.net/Traidnt-v2/slideshow/images/shadowTile.png") repeat-x;
}
.carousel .shadow .shadowRight{
width :69px;
height :15px;
background:url("http://style.egynt.net/Traidnt-v2/slideshow/images/shadowRight.png") no-repeat;
}
/* ÇáÕæÑÉ ÇáÑãÒíÉ */
.prpic {border:1px #d1d1d1 solid; background-color:#e7e7e7; padding:4px; background-image:url('http://style.egynt.net/Traidnt-v2/misc/avatar-bg.gif'); background-repeat:repeat-x; height:80px;}
/* ÇáÕæÑÉ ÇáÑãÒíÉ */
</style>
<link rel="stylesheet" type="text/css" href="http://style.egynt.net/clientscript/vbulletin_important.css?v=386" />
<!-- / CSS Stylesheet -->
<script type="text/javascript" src="http://style.egynt.net/clientscript/yui/yahoo-dom-event/yahoo-dom-event.js?v=386"></script>
<script type="text/javascript" src="http://style.egynt.net/clientscript/yui/connection/connection-min.js?v=386"></script>
<script type="text/javascript">
<!--
var SESSIONURL = "";
var SECURITYTOKEN = "guest";
var IMGDIR_MISC = "http://style.egynt.net/Traidnt-v2/misc";
var vb_disable_ajax = parseInt("0", 10);
// -->
</script>
<script type="text/javascript" src="http://style.egynt.net/clientscript/vbulletin_global.js?v=386"></script>
<script type="text/javascript" src="http://style.egynt.net/clientscript/vbulletin_menu.js?v=386"></script>
<script type="text/javascript" src="http://style.egynt.net/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#nav li").prepend("<span></span>"); //Throws an empty span tag right before the a tag
$("#nav li").each(function() { //For each list item...
var linkText = $(this).find("a").html(); //Find the text inside of the <a> tag
$(this).find("span").show().html(linkText); //Add the text in the <span> tag
});
$("#nav li").hover(function() { //On hover...
$(this).find("span").stop().animate({
marginTop: "-40" //Find the <span> tag and move it up 40 pixels
}, 250);
} , function() { //On hover out...
$(this).find("span").stop().animate({
marginTop: "0" //Move the <span> back to its original state (0px)
}, 250);
});
});
</script>
<script type="text/javascript">
if (parent.frames.length > 0) {parent.location.href = self.document.location;document.location.reload();}
</script>
<script src="css/jquery-1.3.2.js" type="text/javascript"></script>
<script src="http://style.egynt.net/css/scroll-startstop.events.jquery.js" type="text/javascript"></script>
<script>
$(function() {
var = $('#content');
$('#nav_up').fadeIn('slow');
$('#nav_down').fadeIn('slow');
$(window).bind('scrollstart', function(){
$('#nav_up,#nav_down').stop().animate({'opacity':'0.2'});
});
$(window).bind('scrollstop', function(){
$('#nav_up,#nav_down').stop().animate({'opacity':'1'});
});
$('#nav_down').click(
function (e) {
$('html, body').animate({scrollTop: .height()}, 800);
}
);
$('#nav_up').click(
function (e) {
$('html, body').animate({scrollTop: '0px'}, 800);
}
);
});
</script>
<script src="http://style.egynt.net/css/jquery-1.3.2.js" type="text/javascript"></script>
<script src="http://style.egynt.net/css/scroll-startstop.events.jquery.js" type="text/javascript"></script>
<script>
$(function() {
var = $('#content');
$('#nav_up').fadeIn('slow');
$('#nav_down').fadeIn('slow');
$(window).bind('scrollstart', function(){
$('#nav_up,#nav_down').stop().animate({'opacity':'0.2'});
});
$(window).bind('scrollstop', function(){
$('#nav_up,#nav_down').stop().animate({'opacity':'1'});
});
$('#nav_down').click(
function (e) {
$('html, body').animate({scrollTop: .height()}, 800);
}
);
$('#nav_up').click(
function (e) {
$('html, body').animate({scrollTop: '0px'}, 800);
}
);
});
</script>
<div style="display:none;" class="nav_up" id="nav_up"></div>
<div style="display:none;" class="nav_down" id="nav_down"></div>
<link type="text/css" rel="stylesheet" href="http://style.egynt.net/Traidnt-v2/top/css/ui.totop.css" />
<script type="text/javascript" src="http://style.egynt.net/Traidnt-v2/top/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="http://style.egynt.net/Traidnt-v2/top/js/easing.js"></script>
<script type="text/javascript" src="http://style.egynt.net/Traidnt-v2/top/js/jquery.ui.totop.js"></script>
<script type="text/javascript" src="http://style.egynt.net/Traidnt-v2/top/js/jquery.ui.totop2.js"></script>
<link rel="stylesheet" href="http://style.egynt.net/Traidnt-v2/slideshow/carousel.css"/>
<script type="text/javascript" src="http://style.egynt.net/Traidnt-v2/slideshow/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="http://style.egynt.net/Traidnt-v2/slideshow/jquery.mousewheel.js"></script>
<script type="text/javascript" src="http://style.egynt.net/Traidnt-v2/slideshow/jquery.carousel.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.carousel').carousel({carouselWidth:930, carouselHeight:240, frontWidth: 220,hMargin: 0.7, vMargin: 0.2,
frontHeight: 220, buttonNav:'bullets', slidesPerScroll: 6, directionNav:true, shadow:true, autoplay: true, reflection:false });
});
</script>
</head>
<body background="{T_BODY_BACKGROUND}" bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
<!-- BEGIN hitskin_preview -->
<div id="hitskin_preview" style="display: block;">
<h1><img src="http://2img.net/i/fa/hitskin/hitskin_logo.png" alt="" /> <em>Hit</em>skin.com</h1>
<div class="content">
<p>
{hitskin_preview.L_THEME_SITE_PREVIEW}
<br />
<span>{hitskin_preview.U_INSTALL_THEME}<a href="http://{hitskin_preview.U_RETURN_THEME}">{hitskin_preview.L_RETURN_THEME}</a></span>
</p>
</div>
</div>
<!-- END hitskin_preview -->
<!-- BEGIN switch_login_popup -->
<div id="login_popup" style="z-index: 10000 !important;">
<table class="forumline" width="{LOGIN_POPUP_WIDTH}" height="{LOGIN_POPUP_HEIGHT}" border="0" cellspacing="1" cellpadding="0">
<tr height="25">
<td class="catLeft">
<span class="genmed module-title">{SITENAME}</span>
</td>
</tr>
<tr height="{LOGIN_POPUP_MSG_HEIGHT}">
<td class="row1" align="left" valign="top">
<div id="login_popup_buttons">
<form action="{S_LOGIN_ACTION}" method="get">
<input type="submit" class="mainoption" value="{L_LOGIN}" />
<input type="button" class="mainoption" value="{L_REGISTER}" onclick="parent.location='{U_REGISTER}';" />
<input id="login_popup_close" type="button" class="button" value="{L_DONT_DISPLAY_AGAIN}" />
</form>
</div>
<span class="genmed">{LOGIN_POPUP_MSG}</span>
</td>
</tr>
</table>
</div>
<!-- END switch_login_popup -->
<a name="top"></a>
{JAVASCRIPT}
<div class="top-r">
<a href="/"><div class="home-button"></div></a>
<a href="register"><div class="register-button"></div></a>
<a href="/search?search_id=newposts"><div class="news-button"></div></a>
<a href="contact.php" target="_blank"><div class="mail-button"></div></a>
<div class="search-area">
<form method="get" class="searchform" action="search" >
<input type="text" size="24" value='ادخل كلمة البحث' name="search_keywords" onfocus="if(this.value=='ادخل كلمة البحث'){this.value=''};" onblur="if(this.value==''){this.value='ادخل كلمة البحث'};" class="text-search" >
<input type="submit" name="go" title="إبحث" class="searchsubmit" value="" >
</form>
</div>
<div class="search-button">
</div>
</div>
<div class="header-r">
<div class="logo"></div>
<!-- Traidnt-v2 Login -->
<!-- BEGIN switch_user_logged_in -->
<div id="login2">
<div align="center" class="smallfont"><br /><br /><br /><br /><br /><br />
<strong><span style="color: Red;">{LOGGED_AS}</span></strong>
</div> <div align="center" class="smallfont">
<div>{LAST_VISIT_DATE}</div>
<div align="center" class="smallfont">
<a href="/search?search_id=newposts"><font color="#000080">مشاركات جديده</font></a><font color="#000080"> <span lang="ar-sa">|</span> </font>
<a href="/search?search_id=egosearch"> <font color="#000080">مشاركاتي</font></a><span lang="ar-sa"><font color="#000080"> | </font></span> <br />
<a href="/search?search_id=unanswered"> <span style="text-decoration: none"><font color="#000080">مواضيع لم يتم الرد عليها</font></span></a>
</div>
</div>
</div>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<div id="login">
<td class="alt2" nowrap="nowrap" style="padding:0px">
<form action="login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, 0)">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=386"></script>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td><input type="text" class="namelogin" style="font-size: 11px" name="username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="اسم العضو" onfocus="if (this.value == 'اسم العضو') this.value = '';" ></td>
<td><input type="checkbox" class="remember" name="autologin" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" ></td>
</tr>
<tr>
<td><input type="password" class="passlogin" style="font-size: 11px" name="password" id="navbar_password" size="10" tabindex="102" ></td>
<td><input type="submit" name="login" class="login-button" tabindex="104" valueinput type="submit"="" title="ادخل اسم العضو وكلمة المرور الخاصة بك في الحقول المجاورة لتسجيل الدخول, أو اضغط على رابط 'التسجيل' لإنشاء حساب خاص بك." accesskey="s" ></td>
</tr>
</table>
<input type="hidden" name="s" value="" >
<input type="hidden" name="securitytoken" value="guest" >
<input type="hidden" name="do" value="login" >
<input type="hidden" name="vb_login_md5password" >
<input type="hidden" name="vb_login_md5password_utf" >
</form>
</td>
</div>
<!-- END switch_user_logged_out -->
<!-- Traidnt-v2 Login -->
</div>
<div class="mynavb">
<!-- nav buttons bar -->
<div style="padding:1px; border-top-width:0px">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr align="center">
<td>
<font color="FFFFFF"><strong> <a accesskey="5">{GENERATED_NAV_BAR}</a></strong></font></td>
</tr>
</table>
</div>
<!-- / nav buttons bar -->
</div>
<div align="center">
<div class="page" style="width:100%; text-align:right">
<div style="padding:0px 7px 0px 7px">
<br />
<div class="main-top">
<div class="top-left-1"></div>
<div class="top-left-2"></div>
<div class="top-right-1"></div>
<div class="top-right-2"></div>
<div class="nwelcome"></div>
</div>
<div class="right-col">
<div class="left-col">
<div class="ncontain">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tr>
<td class="alt3" width="100%">
<div class="navbar" style="font-size:10pt"><a href="/" accesskey="1"><img class="inlineimg" src="http://style.egynt.net/Traidnt-v2/misc/navbits_start.gif" alt="" border="0" /></a> <strong>أهلا بك في منتديات نافذة سوفت العربية</strong></div>
<!-- BEGIN switch_user_logged_out -->
<tr>
<td class="alt1">
أهلا وسهلا بك زائرنا الكريم، إذا كانت هذه زيارتك الأولى للمنتدى، فيرجى التكرم بزيارة صفحة التعليمـــات،<a href="/faq"><strong> بالضغط هنا</strong></a>.
كما يشرفنا أن تقوم <a href="/register" rel="nofollow"><strong>بالتسجيل بالضغط هنا</strong></a> إذا رغبت بالمشاركة في المنتدى، أما إذا رغبت بقراءة المواضيع والإطلاع فتفضل بزيارة القسم الذي ترغب أدناه.
</td>
</tr>
<!-- END switch_user_logged_out -->
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="main-bottom">
<div class="bottom-left-1"></div>
<div class="bottom-left-2"></div>
<div class="bottom-right-1"></div>
<div class="bottom-right-2"></div>
</div>
<br />
<!-- BEGIN switch_logo_left -->
<td><a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
<!-- END switch_logo_left -->
<td align="center" width="100%" valign="middle">
<!-- BEGIN switch_logo_center -->
<a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a>
<br />
<!-- END switch_logo_center -->
<div class="maintitle">{MAIN_SITENAME}</div>
<br />
<span class="gen">{SITE_DESCRIPTIONss}<br /> </span>
</td>
<!-- BEGIN switch_logo_right -->
<td><a href="{U_INDEX}"><img src="{LOGO}" id="i_logo" border="0" alt="{L_INDEX}" vspace="1" /></a></td>
<!-- END switch_logo_right -->
<table cellspacing="0" cellpadding="0" border="0" align="{MENU_POSITION}">
<tr>
<td align="{MENU_POSITION}"{MENU_NOWRAP}></td>
</tr>
</table>
<div style="clear: both;"></div>
<!-- BEGIN switch_ticker_new -->
<div id="fa_ticker_block" style="margin-top:4px;margin-bottom:4px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="forumline">
<tr>
<td align="left" class="row1">
<div id="fa_ticker_container">
<ul id="fa_ticker_content" class="jcarousel-skin-tango" style="display:none;">
<!-- BEGIN ticker_row -->
<li>{switch_ticker.ticker_row.ELEMENT}</li>
<!-- END ticker_row -->
</ul>
</div>
</td>
</tr>
</table>
</div>
<!-- END switch_ticker_new -->
<!-- BEGIN switch_ticker -->
<div id="fa_ticker_block" style="margin-top:4px;margin-bottom:4px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="forumline">
<tr>
<td align="left" class="row1">
<div id="fa_ticker_container">
<div id="fa_ticker" style="height:{switch_ticker.HEIGHT}px;">
<div class="fa_ticker_content">
<!-- BEGIN ticker_row -->
<div>{switch_ticker.ticker_row.ELEMENT}</div>
<!-- END ticker_row -->
</div>
</div>
</div>
</td>
</tr>
</table>
</div>
<!-- END switch_ticker -->
<div id="page-body">
<div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
<table cellpadding="0" cellspacing="0" width="100%" class="three-col">
<tbody>
<tr>
<td valign="top" width="{C1SIZE}">
<div id="{ID_LEFT}">
<!-- BEGIN giefmod_index1 -->
{giefmod_index1.MODVAR}
<!-- BEGIN saut -->
<div style="height:{SPACE_ROW}px"></div>
<!-- END saut -->
<!-- END giefmod_index1 -->
</div>
</td>
<td valign="top" width="100%">
<!-- BEGIN html_validation -->
</td>
</tr>
</tbody>
</table>
</div>
</div>
</td>
</tr>
</table>
</body>
</html>
<!-- END html_validation -->
Re: JAVASCRIPT PROBLEM
Hi amghidh, I'm not sure what wants you whith this part of your template
But if you want to comment this javascript I think it's better if you do it in this way
- Code:
<script type="text/javascript">
<!--
var SESSIONURL = "";
var SECURITYTOKEN = "guest";
var IMGDIR_MISC = "http://style.egynt.net/Traidnt-v2/misc";
var vb_disable_ajax = parseInt("0", 10);
// -->
</script>
But if you want to comment this javascript I think it's better if you do it in this way
- Code:
<!-- <script type="text/javascript">
var SESSIONURL = "";
var SECURITYTOKEN = "guest";
var IMGDIR_MISC = "http://style.egynt.net/Traidnt-v2/misc";
var vb_disable_ajax = parseInt("0", 10);
//
</script> -->
Sr.Smith- Forumember
- Posts : 94
Reputation : 11
Language : Spanish
Re: JAVASCRIPT PROBLEM
Sr.Smith wrote:Hi amghidh, I'm not sure what wants you whith this part of your template
- Code:
<script type="text/javascript">
<!--
var SESSIONURL = "";
var SECURITYTOKEN = "guest";
var IMGDIR_MISC = "http://style.egynt.net/Traidnt-v2/misc";
var vb_disable_ajax = parseInt("0", 10);
// -->
</script>
But if you want to comment this javascript I think it's better if you do it in this way
- Code:
<!-- <script type="text/javascript">
var SESSIONURL = "";
var SECURITYTOKEN = "guest";
var IMGDIR_MISC = "http://style.egynt.net/Traidnt-v2/misc";
var vb_disable_ajax = parseInt("0", 10);
//
</script> -->
I do this.. the problem wasn't solved
I'm waiting @Ange Tuteur
UP
Re: JAVASCRIPT PROBLEM
amghidh, Rome was not built in a day, your template has others code mistakes.
You have added comments in the code but you the way used isn't admitted in the templates
Look for this code
and erase or change the comments like this model
You have added comments in the code but you the way used isn't admitted in the templates
Look for this code
- Code:
$(document).ready(function() {
$("#nav li").prepend("<span></span>"); //Throws an empty span tag right before the a tag
$("#nav li").each(function() { //For each list item...
var linkText = $(this).find("a").html(); //Find the text inside of the <a> tag
$(this).find("span").show().html(linkText); //Add the text in the <span> tag
});
$("#nav li").hover(function() { //On hover...
$(this).find("span").stop().animate({
marginTop: "-40" //Find the <span> tag and move it up 40 pixels
}, 250);
}, function() { //On hover out...
$(this).find("span").stop().animate({
marginTop: "0" //Move the <span> back to its original state (0px)
}, 250);
});
});
and erase or change the comments like this model
- Code:
<script type="text/javascript">
$(document).ready(function() {
$("#nav li").prepend("<span></span>");
$("#nav li").each(function() {
var linkText = $(this).find("a").html();
$(this).find("span").show().html(linkText);
});
$("#nav li").hover(function() {
$(this).find("span").stop().animate({
marginTop: "-40"
}, 250);
} , function() {
$(this).find("span").stop().animate({
marginTop: "0" /*Move the <span> back to its original state (0px)*/
}, 250);
});
});
</script>
Sr.Smith- Forumember
- Posts : 94
Reputation : 11
Language : Spanish
Re: JAVASCRIPT PROBLEM
amghidh wrote:UP
Please do not double post/bump your post so quickly, it is against the rules to bump your thread unless the posts are seperated by 24 hours or you are adding something to your problem. Please be patient as we have alot of people to help. Next time, please use the edit button instead ~ brandon_g
Remember to mark your topic when a solution is found.
General Rules | Tips & Tricks | FAQ | Forgot Founder Password?
Team Leader
Review Section Rules | Request A Review | Sticker Points
Re: JAVASCRIPT PROBLEM
You have another javascript mistake in your template.
You must look for this code
I've painted in red the mistake, it has declared a variable but, where is the name of that variable???
I think that this line isn't necessary and you could try to solve your problem erasing it. But if you don't know exactly the purpose of that javascript, the best option is erase the whole javascript and this rule is valid for all kind of codes.
And another good rule is not to fill the templates with codes, we have different and specific sections in the Administration Panel in which we can add CSS and javascript to our forum. It is easier to manage those codes in these sections than all together in one or another template. And the task of find a mistake is also much more easier.
You must look for this code
<script>
$(function() {
var = $('#content');
$('#nav_up').fadeIn('slow');
$('#nav_down').fadeIn('slow');
$(window).bind('scrollstart', function(){
$('#nav_up,#nav_down').stop().animate({'opacity':'0.2'});
});
$(window).bind('scrollstop', function(){
$('#nav_up,#nav_down').stop().animate({'opacity':'1'});
});
$('#nav_down').click(
function (e) {
$('html, body').animate({scrollTop: .height()}, 800);
}
);
$('#nav_up').click(
function (e) {
$('html, body').animate({scrollTop: '0px'}, 800);
}
);
});
</script>
I've painted in red the mistake, it has declared a variable but, where is the name of that variable???
I think that this line isn't necessary and you could try to solve your problem erasing it. But if you don't know exactly the purpose of that javascript, the best option is erase the whole javascript and this rule is valid for all kind of codes.
And another good rule is not to fill the templates with codes, we have different and specific sections in the Administration Panel in which we can add CSS and javascript to our forum. It is easier to manage those codes in these sections than all together in one or another template. And the task of find a mistake is also much more easier.
Sr.Smith- Forumember
- Posts : 94
Reputation : 11
Language : Spanish
Similar topics
» Problem with javascript!
» JavaScript problem!
» problem for javascript
» Problem with a refresh javascript
» Javascript in all pages problem
» JavaScript problem!
» problem for javascript
» Problem with a refresh javascript
» Javascript in all pages problem
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum