Hi there!
I have a flash movie, where in the second frame, inside a text box, i have to show some news feed. I tried by just using Dreamweaver and the stupid news feed was overwriting the first frame. So, the problem is, by using JavaScript, how to place the same news feed inside of the text box in the second frame? Anyone? Please? Hints? Suggestions? Examples? Where should i place the same javascript and where and how i do make the call for the news to appear inside of the text box in the second frame?
Thanks.
Leo
Here is the code:
<!--
START OF NEWSFEEDMAKER.COM CUSTOM CODE
Newsfeed Maker, http://www.newsfeedmaker.com
- Service for creating customized RSS, JS, IFrame
and HTML newsfeeds for your website or blog.
Your use of this code indicates your agreement
to the terms and conditions found at:
http://www.ipdgroup.com/user_agreement.php
Copyright (c) 2005-2007 IPD Group, Inc.
http://www.ipdgroup.com
-->
<script type="text/javascript" language="JavaScript">
//<!--
function nfm_articles(a)
{
for(i=0;i<a.length;i++) {
document.writeln('<p style="padding:0.5em 1em;margin:0px;">');
document.writeln('<a style="color:#3D81EE;font-size:17px;text-decoration:underline;;font-weight:bold;" target="_blank"'
+'href="'+unescape(a*[0])+'&code=54f5af05">'+unescape(a*[1])+'<'+'/a>');
if(a*[4].length) a*[2]=a*[2]+',';
document.writeln('<span style="color:#CC0000;font-size:9px;text-decoration:none;">'
+unescape(a*[2])+'<'+'/span>');
document.writeln('<span style="color:#CC0000;font-size:9px;text-decoration:none;">'
+unescape(a*[4])+'<'+'/span>');
if(a*[3].length) {
document.writeln('<br>');
document.writeln('<span style="color:#666666;font-size:13px;text-decoration:none;">'
+unescape(a*[3])+'<'+'/span>');
}
document.writeln('<'+'/p>');
}
}
function nfm_articles_error(e)
{
document.writeln('<p style="padding:0.5em 1em;margin:0px;">');
document.writeln('<span style="color:#666666;font-size:13px;text-decoration:none;">'
+e.replace(/a href/g,'a style="color:#3D81EE;font-size:13px;text-decoration:underline;" href')+'<'+'/span>');
document.writeln('<'+'/p>');
}
//-->
</script>
<div style="font-weight:normal;font-style:normal;font-size:9pt;text-decoration:none;background-color:#FFFFFF;width:600px;">
<script type="text/javascript" language="JavaScript" src="http://www.newsfeedmaker.com/feed_basic_js.php?site=einnews&type=n&id=25818&num=20&abstract=1&code=54f5af05">
</script><div class="nfm_more" style="text-align:center;padding:2px;color:#3D81EE;font-size:9px;text-decoration:none;"><a style="color:#3D81EE;font-size:9px;text-decoration:underline;" href="<A href="http://www.einnews.com/east-africa/newsfeed-east-africa">More">http://www.einnews.com/east-africa/newsfeed-east-africa">More news</a> >>
<br><br>
Powered by <a style="color:#3D81EE;font-size:9px;text-decoration:underline;" href="<A href="http://www.newsfeedmaker.com/">Newsfeed">http://www.newsfeedmaker.com/">Newsfeed Maker</a>
</div></div>
<!-- END OF NEWSFEEDMAKER.COM CUSTOM CODE -->