Jump to content

simple question


tomfmason

Recommended Posts

Ok here is another rather simple question. First I will explain what I am trying to do and then I will show what I have done so far.

I am creating a live support script. It works fine execpt that I manually have to refresh or make a new post to see any posts that are made by someone else.

So what I thought I would do is but in a meta refresh. I did this and it worked but when there are enough messages that you have to scroll down, it starts back at the top of the messages.

Then I tried this
[code]<meta http-equiv="refresh" content="2" url=http://www.mysite.com/chatbox.php#bottom">[/code]

and then at the bottom of the script I would but <a name="#bottom"> </a>

This works for the user end but not for the admin end. Since I need the chat_id to be able to connect with that particular person.

What I need to do on the admin section is pass the chat_id to the chat box. I can do this by admin/chatbox.php?chat_id=$chat_id but I also need to have the #bottom.

Any suggestions on how to do this or a better way to accomplish this would be great.
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.