Results 1 to 8 of 8

Thread: Cutenews / php

  1. #1
    Join Date
    Feb 2006
    Location
    /usr/local
    Posts
    2,809
    Tokens
    688

    Latest Awards:

    Default Cutenews / php

    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.

  2. #2
    Join Date
    Mar 2007
    Posts
    1,691
    Tokens
    1,025

    Latest Awards:

    Default

    Um, you'd put in a hyperlink like so;

    HTML Code:
    <a href="NEWS LINK" target="content">DISPLAYED TEXT OR WHATEVER</a>

  3. #3
    Join Date
    Feb 2006
    Location
    /usr/local
    Posts
    2,809
    Tokens
    688

    Latest Awards:

    Default

    i know html but that hasnt helped, you gotta edit somit in the php files but i dno what

  4. #4
    Join Date
    Nov 2007
    Posts
    88
    Tokens
    0

    Default

    Use <base target="content"> in the headlines template but I think it's in something like show_news.php or the inc one...
    Last edited by SmileUK; 12-01-2008 at 06:21 PM.

  5. #5
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default

    post the php file(s)
    How could this hapen to meeeeeeeeeeeeeee?lol.

  6. #6
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    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

  7. #7
    Join Date
    Jan 2007
    Posts
    651
    Tokens
    0

    Default

    Quote Originally Posted by Jackboy View Post
    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.
    James


    Connected to reality through a proxy server.

  8. #8
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •