You are here: Re: dynamically embedding objects in html « HTML « IT news, forums, messages
Re: dynamically embedding objects in html

Posted by krupa.p on 06/20/06 22:43

Thanks a lot Jojo. It worked perfectly when I placed the url in the
address bar and opened it :-)

However, when I pass the url from my application to the browser it is
giving an unknown exception. I will try to debug it.

Thanks again for your help!


> OK, my script is ready, but I havn't tried yet. If something doesn't
> work just tell me and I try to fix it.
>
> First replace the src="test.swf" in the embeded-tag by id="movie".
> Than add following code into your HTML-head:
>
> <script language="javascript" type="text/javascript">
> document.getElementById("movie").src=location.href.substr(location.href.lastIndexOf("?")+1)
> </script>
>
> I hope it works...

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация