Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > JavaScript > replace questio...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 7 Topic 35557 of 36289
Post > Topic >>

replace question

by Rauan Maemirov <rauan1987@[EMAIL PROTECTED] > May 10, 2008 at 08:37 AM

Hi, all. I'm trying to replace <object ...><embed... /></object> with
<img> tag and vice-verse. It's like implementation of media plugin of
Tiny MCE editor. I tried to watch their code, but it's too complicated
and has a lot of unnecessary code. And the main reason is i'm weak in
javascript rewriting. :)

I need just simple rewrite for e.g. this

<object width="425" height="355"><param name="movie" value="URL"></
param><param name="wmode" value="transparent"></param><embed src="URL"
type="application/x-shockwave-flash" wmode="transparent" width="425"
height="355"></embed></object>

<img width="425" height="355" title="src:'URL'">.

param tags can be omitted.

Could anybody help me? Thanks in advance.
 




 7 Posts in Topic:
replace question
Rauan Maemirov <rauan1  2008-05-10 08:37:52 
Re: replace question
Rauan Maemirov <rauan1  2008-05-11 11:45:01 
Re: replace question
Thomas 'PointedEars' Lahn  2008-05-12 00:43:29 
Re: replace question
Rauan Maemirov <rauan1  2008-05-12 02:03:03 
Re: replace question
Thomas 'PointedEars' Lahn  2008-05-12 12:58:53 
Re: replace question
Rauan Maemirov <rauan1  2008-05-12 03:52:40 
Re: replace question
Rauan Maemirov <rauan1  2008-05-14 03:43:09 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 18 21:04:34 CDT 2008.