<< Previous Topic | Next Topic >>  

Forget document. ALL

December 9 2003 at 6:30 AM
  (Login BilgeRat)

 
On a search for a PHP script (it's about time for me to learn php) I came across a JS-smilie code....

they didn't use document.ALL.message for their script, they used instead

document.forms[0].message.value...etc

I grapped it and tested with Mozilla-browser, Opera, my editor and also online, and - what a surprise -
we can add now smilies with these browsers, too.

The bad news.. you have to re-write your generator-page, Mr.Pip


greetz ed in bouncing mode

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

Re: Forget document. ALL

December 9 2003, 10:37 AM 

Quote:
The bad news.. you have to re-write your generator-page, Mr.Pip

Cool
Will do later tonight

I've used forms[] on a few scripts before... its never occurred to me to use them here


 
 Respond to this message   

(Login BilgeRat)

Re: Re: Forget document. ALL

December 9 2003, 10:57 AM 

aaand.. it too works in some other scripts... my quote-prompt, your mailer-default-checker...

css: cursor:hand is not known by others than IE. I now write cursor:pointer. woof
textarea { overflow:auto } remove the scrollbars if not needed there (same for body )

so, thats it for today.. tomorrow is another looong day.. sigh . no time for scriptings, not much time anyway... Good night and greetz ed

 
 Respond to this message   
Phil
(Login mrpip)
Forum Owner

Done

December 9 2003, 11:17 AM 

Have updated the Smiley page and aventually update the rest

Quote:
cursor:hand is not known by others than IE



 
 Respond to this message   
Phil
(Login mrpip)
Forum Owner

test

December 9 2003, 1:01 PM 



TEXT

TEXT

½ ©

Board updated


 
 Respond to this message   

(Login Ed_Homes)

Re: test

December 10 2003, 4:03 AM 

Mozilla test:you'd left out Else
Quote:
else{document.forms[0].message.value += " "+thisimage+" ";}



ok.. the how to add smilies is updated too.

 
 Respond to this message   
Phil
(Login mrpip)
Forum Owner

Thanks

December 10 2003, 6:34 AM 

updated


 
 Respond to this message   

(Login Ed_Homes)

Re: yahooo

December 10 2003, 7:00 AM 

IT REALLY works !!

this is a Mozilla posting .. and I clicked the smilies in.. yippeeeeh.. great!

greetz ed


 
 Respond to this message   
Current Topic - Forget document. ALL
  << 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