linux1880 Posted December 31, 2011 Share Posted December 31, 2011 i have a news site and some of my partners want to include latest news. They are doing that with iframe at the moment but they are asking for javascript version so that they can style div, please help me how do i do it in javascript ? my current script is like this <iframe height="30%" width="50%" scrolling="no" frameborder="0" src="http://mysite.com/latestnews.php"></iframe> Quote Link to comment https://forums.phpfreaks.com/topic/254122-how-to-make-news-widget-in-javascript/ Share on other sites More sharing options...
scootstah Posted January 1, 2012 Share Posted January 1, 2012 Personally I would create an RSS feed instead of iframe's. But I don't really understand your question. Quote Link to comment https://forums.phpfreaks.com/topic/254122-how-to-make-news-widget-in-javascript/#findComment-1303061 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.