View Full Version : Cutenews / php
Swinkid
12-01-2008, 03:22 PM
well ive got this box on my layout and its displaying latest 5 news.
But when i click the link of the headling it makes the layout expand so how can i make it so when u click the headling link it goes in the iframe called content.
Um, you'd put in a hyperlink like so;
<a href="NEWS LINK" target="content">DISPLAYED TEXT OR WHATEVER</a>
Swinkid
12-01-2008, 04:01 PM
i know html but that hasnt helped, you gotta edit somit in the php files but i dno what
SmileUK
12-01-2008, 06:20 PM
Use <base target="content"> in the headlines template but I think it's in something like show_news.php or the inc one...
Hypertext
12-01-2008, 09:13 PM
post the php file(s)
Jackboy
12-01-2008, 10:10 PM
I know what he means,
he means a box with some text in it, when u click it all the text appears in the same box, the "full story". And then the box expands. Its not iframes.
I dunno how to do though sorry mate
Mr Macro
14-01-2008, 09:57 PM
I know what he means,
he means a box with some text in it, when u click it all the text appears in the same box, the "full story". And then the box expands. Its not iframes.
I dunno how to do though sorry mate
I think that would be AJAX, not sure though.
Invent
14-01-2008, 10:00 PM
It is to do with iFrames. You need to change the target attribute of the links. (a hrefs).
Use SmileUK's post or edit inc/shows.inc.php.
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.