Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Web Design (WordPress, Joomla, etc.) Open permalink in adjacent table cell with PHP

  • Open permalink in adjacent table cell with PHP

    Posted by Vanpraag on July 27, 2006 at 12:35 am

    So I have successfully done this before, but I cannot seem to remember how. I’m not interested in simply using a PHP “include” command and have the entire page reload. I want to say there is a way to use PHP or some other type of scripting where one table cell(the navigation) will remain static, while linked pages will open in an adjacent table cell. I would appreciate any type of help on this matter, I have no idea why I can’t remember.

    My progress so far is at https://refinerynyc.com/new2/

    I need the director links to open in the area just to the right without reloading everything.

    Thank you!

    Curtis Thompson replied 19 years, 9 months ago 2 Members · 3 Replies
  • 3 Replies
  • Curtis Thompson

    July 27, 2006 at 1:26 am

    hello…

    you could do a little floating iframe and put the content in that (as a new page) or you could create all the content areas for each director when the page renders and then use javascript to change their display property as the user clicked on things…

    sitruc

  • Vanpraag

    July 28, 2006 at 2:00 pm

    ok, so I like the second idea, if I undersand correctly. How would I go about all this. I’m guessing this has something to do with targeting a table cell via id? Thank you soo much for the help thus far.

  • Curtis Thompson

    July 28, 2006 at 3:20 pm

    hello…

    if you don’t have a ton of text for all your items then the div way is easier – here’s an example i whipped up for you:

    https://www.sitruc.com/cow/change_panel/

    if, however, you have images and lots of text per panel, then the above is not as good because all the content for all items has to load even if the person isn’t looking at all the items – in that case, the iframe works better because it loads all the content from an external page. here’s a different example i did for somebody else that uses that concept…

    https://www.sitruc.com/cow/dyn_schedule/

    hope that helps!

    sitruc

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy