...

submit the form while its position absolute

snake_eyes
05-07-2007, 07:01 AM
Hello,

I have the following form:

<style type="text/css">
.guest_book {
width: 590px;
right: 174px;
position: absolute;
display: none;
border-style: solid;
border-width: 0px;
border-color: #000000;
font-family: ms sans serif;
font-size: 8pt;
font-weight: bold;
color: #000000;
text-align: right;
vertical-align: bottom;
</style>

<table id="guest_book" class="guest_book" cellspacing="0" cellpadding="0" dir="{L_DIRECTION]">
<form action="ajax_common.php?action=guest_book" method="POST" name="guest_book">
<tr>
<td width="97%" class="cell38">{L_GUEST_BOOK_ADD}</td>
<td width="3%" class="cell39">
<span class="click_span" onclick="ControlDiv('guest_book','none')">
<img border="0" src="images/icons/ws_close.gif"></span></td>
</tr>
</form></table>


My question is: How do I submit the data in this form while its on position absolute, and how I can make the background table disabled like hotmail or yahoo

Regards heaps

nikkiH
05-07-2007, 07:33 PM
Submitting a form has nothing to do with its CSS position.
Give it a button, or a link, or whatever to submit it. I don't see anything there that is supposed to submit to begin with? Then again, I don't see an end form tag, either.

You can submit with javascript, but that will effectively disable it for a portion of users.
e.g.
<a href="noscript.html" onclick="document.forms['guest_book'].submit();">submit</a>

snake_eyes
05-07-2007, 08:07 PM
Thanks for your reply,

Dear, in order to to get what in my mind please see the following example:

http://particletree.com/examples/lightbox/

and click on Submit an Inquiry, what I supposed to do with the form.html in order when I submit the form without reload or effective the main page.

Scenario:

I logged in into my account and I want to update my personal profile (like the windows live hotmail) after I clicked on the Update Profile there is a form will same like the above example and when I finish I will click on update without reloading the page.

Hope my reply is cleared.

Cheers

nikkiH
05-07-2007, 10:58 PM
Ah, okay. Your subject line was a lot off as to what you really wanted.
They have sample code right at that site.
http://particletree.com/features/lightbox-gone-wild/

snake_eyes
05-08-2007, 07:02 AM
Dear, your example was redirected to http://particletree.com/examples/lightbox/ :confused: Is it possible to post a small code showing me it

Regards



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum