Jump to content
php.lv forumi

javascript


091

Recommended Posts

nezinu kāpēc bet nevaru uzspiest sadaļā javascript,vbscript new topic.. tāpēc rakstu šeit

 

man ir šāds array, kaa uztaisiit lai vareetu ievietot vairakus smaidinju simbolus vienaa rindaa?

kjip lai arrayaa nolasa tam pašam smaidiņam bet atbilstoši

nu piem. lai šis: " :) " būtu atbilstams arī " :-) " un " :smails: " (nolasa attēlu: smile.png)

 

nuu.. :) ir :-)

lai abus nolasītu un parādītu smile.png

 

kods:

emoticonCodes: new Array(
	':)',
	':(',
	';)',		
	),
emoticonFiles: new Array(
	'smile.png',
	'sad.png',
	'wink.png',
),

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...