phpQuestioner
Members-
Posts
1,485 -
Joined
-
Last visited
Never
Everything posted by phpQuestioner
-
Creating a custom Alert And onload event not working
phpQuestioner replied to GB_001's topic in Javascript Help
<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> -
Creating a custom Alert And onload event not working
phpQuestioner replied to GB_001's topic in Javascript Help
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? -
Creating a custom Alert And onload event not working
phpQuestioner replied to GB_001's topic in Javascript Help
What kind of app are you wanting to display? -
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.
-
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?
-
How do I have left div, right div, and a bottom div?
phpQuestioner replied to alesgirl's topic in CSS Help
Obviously your not thinking cross browser; because not every browser will display a div as a block (floated or not). -
can i use javascript to take data from file?
phpQuestioner replied to alin19's topic in Javascript Help
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> -
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
-
Creating a custom Alert And onload event not working
phpQuestioner replied to GB_001's topic in Javascript Help
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 -
You know this is the JavaScript forum; right? ??? You need to post server side scripting questions in the appropriate forums on this website.
-
Probably because of this: <body onLoad="javascript:document.frmPay.submit()">
-
How do I have left div, right div, and a bottom div?
phpQuestioner replied to alesgirl's topic in CSS Help
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. -
Creating a custom Alert And onload event not working
phpQuestioner replied to GB_001's topic in Javascript Help
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). -
Creating a custom Alert And onload event not working
phpQuestioner replied to GB_001's topic in Javascript Help
No Problem - Good Luck -
Quick Question about Classes in Styled Forms
phpQuestioner replied to drbigfresh's topic in CSS Help
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; } -
Creating a custom Alert And onload event not working
phpQuestioner replied to GB_001's topic in Javascript Help
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. -
http://www.kirupa.com/developer/actionscript/flash_php_mysql.htm
-
Google "AJAX Chain Select Menus" - Should Be Plenty of Examples/Tutorials & Live Demos; Showing You How To Do This.
-
This is known as a "DHTML Vertical Menu" - Google that key term for examples/tutorials and live demos.
-
[SOLVED] Display page.html within index.html
phpQuestioner replied to blackcell's topic in HTML Help
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. -
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()">
-
cancel onmouseout if onclick fires?
phpQuestioner replied to michaellunsford's topic in Javascript Help
Yeah, don't change image src onmouseout -
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?
-
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.
-
Your Welcome