Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
apply font size increase script on text enteref using fckeditor
Old 10-28-2008, 11:23 PM apply font size increase script on text enteref using fckeditor
Novice Talker

Posts: 10
Trades: 0
Apply font size increase script on text entered using fckeditor
I have made provision to enter text using fckeditor

while displaying this text i found the "increase font size" java script is not working on this text

I am using following java script
function FontSizeSet()
{
var el, n = 1;
while (el = document.getElementById('pagetext' + n++))
el.style.fontSize = fontSize + 'pt';
return false;
}

function SetFontLarger()
{
if (fontSize < 11)
fontSize++;
return FontSizeSet();
}

function SetFontSmaller()
{
if (fontSize > 9)
fontSize--;
return FontSizeSet();
}

this works fine for text stored / entered without using fckeditor


i will be obliged if anyone can help me on this ...

Thanks in advance

Last edited by vikaspa; 10-29-2008 at 01:50 AM.. Reason: provide more details
vikaspa is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to apply font size increase script on text enteref using fckeditor
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.35480 seconds with 12 queries