Text Editor Issue
5 posters
Page 1 of 1
Text Editor Issue
Hi, Can Someone Help Me Why My Forum Text Editor Did Not Display Text Editor Function At Above During Post Or Reply Topic, Thx !.
Here Is My Website: http://mytpccenter.getgoo.net
Here Is The ScreenShot When I Want To Post Announcement To My Website
Here Is My Website: http://mytpccenter.getgoo.net
Here Is The ScreenShot When I Want To Post Announcement To My Website
Re: Text Editor Issue
try clicking on the pink (switch editor mode) above on the top left
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: Text Editor Issue
Sill No Luck, Kirk. Did I Code A Invalid Code To Javascript Or CSS ? Please Help Me Check, Thx !.
Below Are All Of My Forum Code Used.
Javascript Code (Change Nav Name)
Javascript Code (Post Background)
CSS Code
Below Are All Of My Forum Code Used.
Javascript Code (Change Nav Name)
- Code:
$(function() {
document.getElementById('i_icon_mini_message').nextSibling.nodeValue='Inbox';
document.getElementById('i_icon_mini_profile').nextSibling.nodeValue='Personal Info';
document.getElementById('i_icon_mini_register').nextSibling.nodeValue='Sign Up';
});
Javascript Code (Post Background)
- Code:
$(document).ready(function() {
$('.post:has(".admin1"),.postbody:has(".admin1")').css('background-color', '#A5BAFA');
$('.post:has(".vice1"),.postbody:has(".vice")').css('background-color', 'lightgreen');
});
CSS Code
- Code:
/* Hide Legend Bar */
#fo_stat div.thin+div {display: none;}
/* Hide Navigation Menu */
a[href="/search"]{
display: none;
}
a[href="/groups"]{
display: none;
}
Re: Text Editor Issue
this javascript:
Make sure to tick 'only in topics' rather than in all pages.
- Code:
$(document).ready(function() {
$('.post:has(".admin1"),.postbody:has(".admin1")').css('background-color', '#A5BAFA');
$('.post:has(".vice1"),.postbody:has(".vice")').css('background-color', 'lightgreen');
});
Make sure to tick 'only in topics' rather than in all pages.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Text Editor Issue
Thx LGforum For Advise, And I Found Out Where The Problem Is, The Problem Is There A Code Inside The Javascript Cause This Problem, So After I Shut Down The Javascript System, It Go To Normal. I Think This Code Has Cause The Problem.
Can You Help Me Find Out Which Row Has A Invalid Code, Otherwise I Have To Re-Code That Code Again. Thx !
Javascript Code (Change Nav Name)
Can You Help Me Find Out Which Row Has A Invalid Code, Otherwise I Have To Re-Code That Code Again. Thx !
Javascript Code (Change Nav Name)
- Code:
$(function() {
document.getElementById('i_icon_mini_message').nextSibling.nodeValue='Inbox';
document.getElementById('i_icon_mini_profile').nextSibling.nodeValue='Personal Info';
document.getElementById('i_icon_mini_register').nextSibling.nodeValue='Sign Up';
});
Re: Text Editor Issue
- Code:
document.getElementById('i_icon_mini_register').nextSibling.nodeValue='Sign Up';
Its this line ^
When you are logged on there is no register button, and so the code crashes at that line.
And i believe i was once told by a trustworthy source (Dion) that if a code crashes on the post compose page, then those buttons won't load.
EDIT: you could fix it by doing this:
- Code:
if(document.getElementById('i_icon_mini_register')) {
document.getElementById('i_icon_mini_register').nextSibling.nodeValue='Sign Up';}
Last edited by LGforum on November 16th 2011, 2:49 pm; edited 1 time in total
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Text Editor Issue
yeah i suggest members always test scripts on a test forum first.
Especially now that the whole jquery craze seems to be in full swing.
jquery,css, java ,whatever.. The key thing is simple is always best, the more advanced, the more problems you will encounter.
Especially now that the whole jquery craze seems to be in full swing.
jquery,css, java ,whatever.. The key thing is simple is always best, the more advanced, the more problems you will encounter.
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: Text Editor Issue
Solved ** Moved
Jophy- ForumGuru
- Posts : 17922
Reputation : 836
Language : English
Location : Somewhere
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum