<< Previous Topic | Next Topic >>  

Phil....

February 4 2004 at 6:37 PM
  (Login Ed_Homes)

 
I've got a problem... You know, I come across scripts from time time which I modify to my suits. Now I've found a nice script which enables you to put not just a smiley at the End of a message text, you can insert it to your cursor position
(perhaps you see what I mean when you try the smilies here: icon tutorial above the text area... )

So far so nice. IE and Opera are doing well... my problem is Firebird.. when I click the smilies nothing but the cursor is inserted. why?
greetz ed

 
 Respond to this message   
AuthorReply
Phil
(Login mrpip)
Forum Owner

Wow

February 4 2004, 8:20 PM 

Hey Ed I love the new look/layout and color scheme, it's excellent
Now to get back to your prob... wait I havn't finished admireing the new look yet

Nw54 Scripts

 
 Respond to this message   

(Login Ed_Homes)

forms 0 vs. getElementbyId

February 8 2004, 12:39 AM 

why didn't that work when we tried last year?

Now it does. Don't ask me...


Code:
document.getElementById("postform").message.value += (' <img src="'+ icon +'" />');


About the Firebird Problem with document.selection.createRange()...
well.. I'm back to the old-fashioned. Insert-at-the-End-of-message thing.

Note to self: Don't work with a script which you do not understand entirely.


Is your cellar there dry again after that rain?

 
 Respond to this message   
Anonymous
(Login mrpip)
Forum Owner

Re: forms 0 vs. getElementbyId

February 8 2004, 7:33 AM 

Quote:
why didn't that work when we tried last year?

haa... I just looked over some old scripts and I had used "getElementById" for a little while for detecting the form (postform).


Quote:
About the Firebird Problem with document.selection.createRange()...

Why not use "navigator.appName" to determine wheather "selection.createRange()" can be used



Quote:
Is your cellar there dry again after that rain?

Within 2-3 hours the water had gone.
Felt sorry for the nabour who had only moved in 2 days prior, one off them just moved to new zealand the same day they moved in and all she could say was "I want to go home"

Nw54 Scripts

 
 Respond to this message   
Phil
(Login mrpip)
Forum Owner

Re: Phil....

February 4 2004, 9:03 PM 

According to firebird there is no Selection properties... don't know if that means its not implimented
I went to my proboards forum which uses this code and when in firebird, they have it insert at the end of the text.

This will take a bit of searching... I'm doing a google and well I Don't know

found this bugzilla.mozilla.org/attachment.cgi?id=89748&action=view if this will help with ideas

Nw54 Scripts

 
 Respond to this message   
Phil
(Login mrpip)
Forum Owner

validating code

February 4 2004, 10:22 PM 

Ed. I noticed on your no_right_click page why its not validating correctly...
Replace the "&" with "&amp;" in the url links with "&" in them

Nw54 Scripts

 
 Respond to this message   

(Login BilgeRat)

Re: validating code

February 4 2004, 10:40 PM 

& amp.. Woohooo !!! GREAT ! That page too is valid now, thanks to your genius!

HelpLineLinksgreetz Ed

 
 Respond to this message   
Current Topic - Phil....
  << Previous Topic | Next Topic >>  
Find more forums on Personal Web PagesCreate your own forum at Network54
 Copyright © 1999-2009 Network54. All rights reserved.   Terms of Use   Privacy Statement