i am using feeds module for import news items.By using views,i display the news title,description and item url.In this,when user hit the item urls means its loads that particular site inside my site.I try to use Iframe by way of “output rewrite option” in views.But that page load fully instead of load inside my site.I use following code for that.
<iframe src="[url]" width="100%" height="300">
<p>[url]</p>
</iframe>
Any one please guide me resolve this.
thanks
This can be achieved using the
targetattribute on anatag. For example when the user hit’s the item URL it would load in the target window which in this case is the frame. Take for example the code below.The frame initially loads google.com but once the link is clicked the
targetattribute on theadirects the click to the frame which has the samenameattribute, in this casetarget_frameYou can read more about the
targetattribute here http://www.w3schools.com/tags/att_a_target.asp