Jump to content

PHP: HELP! Remote include from cliking an image button


SilveryGod

Recommended Posts

Hi there
Thanks for visiting this topic, now dont move, i need your help ;)

I'm having a big problem that i cant solve myself.
I've spent several hours searching on the net but cant find what im looking for.

After reading this, you might think that im almost trying to build a kind of php iframe but i have no choice.


Im building a webpage which separate into two parts(top and bottom)

1-The Top (menu)= that have 4 image button with rollover states;
and this navigation bar should not reload (too many pictures to load) so...

2-The Bottom (content) that include() pages resquested by the clicked button.

As i know that I cant use javascript event handler with php, Im not able to change the content of the include() function from clicking an image button.

Please, i beg for help!
Regards

Can you help here?
Link to comment
Share on other sites

re-reading my post, your reply seems a good solution but in fact
it cant be done
i just wanted to avoid too many explanation but there's more details;

my bottom part isnt exactly a bottom part, its mostly a part inside the top document (kindof iframe)

there's a little table draw of what my page look like:

[table][tr][td][color=red]+[/color][/td][td][color=red]+++[/color][/td][td][color=red]+[/color][/td][/tr][tr][td][color=red]+[/color][/td][td]+++[/td][td][color=red]+[/color][/td][/tr][/table]

The red "+" is my top part, from where my img-buttons are
the black "+" is the bottom part where i want to include() the page called by the button

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.