PHP doubt on frame work.

Discussion in 'PHP' started by STAR Cruiser, Oct 14, 2008.

  1. #1
    Hello mates ...

    I am starting a website same as samachar.com.. Complete rss feeds based website..

    i placed feeds in my home page. When i open those feeds in a new page main website is opening. But i dont want this.
    But i want all feeds to be opened in a frame work.. jst like samachar.com( please checkout how feeds are opening)

    I need php code for that..

    please help me out..

    thank you..
     
    STAR Cruiser, Oct 14, 2008 IP
  2. STAR Cruiser

    STAR Cruiser Well-Known Member

    Messages:
    782
    Likes Received:
    110
    Best Answers:
    0
    Trophy Points:
    120
    #2
    No replies till now :(

    waiting for replies..
     
    STAR Cruiser, Oct 14, 2008 IP
  3. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #3
    You don't need php code to do this. You need to look up framesets for HTML. You will have to make the links point to the correct frame via the target attribute of the "A" element.
     
    shallowink, Oct 14, 2008 IP
  4. STAR Cruiser

    STAR Cruiser Well-Known Member

    Messages:
    782
    Likes Received:
    110
    Best Answers:
    0
    Trophy Points:
    120
    #4
    I am very weak in HTML and pHp..

    can you please give me frame set ..please...
     
    STAR Cruiser, Oct 14, 2008 IP
  5. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #5
    I haven't used frames in years. The basics are you declare a frameset which contains frames. In the example site you gave, the topmost frame would be to your site and the bottom frame to the RSS feed site. Here's a tutorial which explains the process:

    http://www.htmlcodetutorial.com/frames/frames_famsupp_5.html
     
    shallowink, Oct 14, 2008 IP
  6. STAR Cruiser

    STAR Cruiser Well-Known Member

    Messages:
    782
    Likes Received:
    110
    Best Answers:
    0
    Trophy Points:
    120
    #6
    hmm.......... i got it now.. anyhow thanks for help..
     
    STAR Cruiser, Oct 17, 2008 IP