Jump to content

phpQuestioner

Members
  • Posts

    1,485
  • Joined

  • Last visited

    Never

Everything posted by phpQuestioner

  1. <script language="javascript"> function ShowDHTMLPopUp() { document.getElementById('myDHTMLPopUp').style.display="block"; } window.onload=function() { ShowDHTMLPopUp(); } </script> <style type="text/css"> #myDHTMLPopUp {display:none;position:absolute;top:100;left:100;z-index:1000;width:400px;height:325px;background:white;border:solid 2px black} /* style as needed */ </style> <div id="myDHTMLPopUp"> <!-- AJAX Content Here --> </div>
  2. so basically you just want to show a div onload? do you want it to be fixed in the layout or like a dhtml pop-up in the page?
  3. what I meant to say is that there are two different forms being submitted; if your form data post back to itself. hope that makes it a little bit clearer.
  4. Your form is named "frmOrder" - right? So when the page loads; the form is submitted and if your submitting the form back to this page that contains your form (ie: if this page is "order.php"); once you click the submit button the form is submitted once back to itself and then the form is submitted again when the page loads. You get what I am saying?
  5. Obviously your not thinking cross browser; because not every browser will display a div as a block (floated or not).
  6. What exactly do you want to do or get? You can do this: <script language="javascript"> var x="sadsadsa"; </script> </head> <body> <script language="javascript"> document.write(""+x+""); </script> </body>
  7. Sorry, I cannot move this thread; I am not a moderator. You can post a question, similar to this one, in the server side scripting forums; which can be found here: http://www.phpfreaks.com/forums/index.php?action=collapse;c=25;sa=expand#25 http://www.phpfreaks.com/forums/index.php?action=collapse;c=27;sa=expand#27
  8. nogray gave you a couple links to tutorials with examples that may be helpful to you - did you check those out? is that not what your wanting? http://www.phpfreaks.com/forums/index.php/topic,181785.msg812183.html#msg812183
  9. You know this is the JavaScript forum; right? ??? You need to post server side scripting questions in the appropriate forums on this website.
  10. Probably because of this: <body onLoad="javascript:document.frmPay.submit()">
  11. Do not use absolute positioning; float both left and right columns and display them as blocks. Then the longest div should push the footer down the page.
  12. Those are neat nogray, but there more like a lightbox. There are some DHTML Alerts out there that are made just like a browser alert; only there customizable. I have seen some that actually paralyze the page until the "OK" button has been clicked and they are not draggable (which is more like the original browser version).
  13. Take this out "#aligned select" and then you should not have that problem; it should then look like this: #aligned label { position: absolute; text-align:right; width:165px; } #aligned input, #aligned textarea { margin-left: 185px; } #aligned label.check, #aligned label.radio { position:relative; text-align:left; } .forminline { margin-left: 5px; background:#ccc; }
  14. Your not actually looking for a browser alert, because you cannot customize a browser alert; you can only add text to a browser alert (that's the extent of the customization). What you really looking for is a "DHTML Pop-Up" - Google It for examples/tutorials and live demos.
  15. http://www.kirupa.com/developer/actionscript/flash_php_mysql.htm
  16. Google "AJAX Chain Select Menus" - Should Be Plenty of Examples/Tutorials & Live Demos; Showing You How To Do This.
  17. This is known as a "DHTML Vertical Menu" - Google that key term for examples/tutorials and live demos.
  18. You can use AJAX or you can use iframes or frames. If you use the later; just target your i/frames; so that any action that takes place in your html page (that was meant to occur in your php page) will be sent to your php page.
  19. If you know how many checkboxes are on the page; do this: <script language="javascript"> var checkboxtotal = 5; // Total Amount of Checkboxes You Want To Clear function ClearAll() { for (i=0;i<=checkboxtotal;i++) { document.getElementsByTagName("input")[i].checked = false; } } </script> <input type="checkbox"> <input type="checkbox"> <input type="checkbox"> <input type="checkbox"> <input type="checkbox"> <br><br> <input type="button" value="Clear All" onclick="ClearAll()">
  20. Are you wanting to just open the image or another page with the image in it; when you click on the image in your first page?
  21. I am trying to reply to a post and when I try to post my reply; it goes to a blank page and if I reload the page; I keep getting this error: The following error or errors occurred while posting this message: Your session timed out while posting. Please try to re-submit your message. No subject was filled in. The message body was left empty. But the subject is filled in and the message body has text in it.
×
×
  • 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.