Jump to content

pulpfiction

Members
  • Posts

    1,210
  • Joined

  • Last visited

Everything posted by pulpfiction

  1. Yeah, "page cannot be displayed"....URL: http://www.w3schools.com/htmldom/met_radio_blur.asp
  2. http://www.w3schools.com/js/js_objects.asp
  3. The path in url() is relative to where the CSS file is, and does not matter which page you include the stylesheet to...... as long as you give the correct path of the stylesheet in the page, images should not be a problem.. is that what you are asking??
  4. Something like this.... <table border=1 width="300px;"><tr><!-- This is 1 --><td style="height:50px;"> </td> <!-- This is 4 --><td rowspan="3"> </td></tr><tr><!-- This is 2 --><td style="height:50px;"> </td></tr><!-- This is 3 --><tr><td><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /></td></tr></table>
  5. If you are looking for some interactive page load effect, this is simple.... <script type="text/javascript">var size=10;var Interval = 200;var i=1;function Msg_Wait(){obj = document.getElementById('div_wait')if (obj){if (i>size){// reseti=1;obj.innerHTML = "";}obj.innerHTML += "<font face=arial color=red size=3>[]</font>";i++;setTimeout(Msg_Wait, Interval);}return;}</script> HTML <body onload="java script:Msg_Wait();"> <div id="div_wait"></div></body>
  6. Ah, warned you about that, it aint white. its got a light gray stripes...... not sure how it will be in your page, but save the image and use it as background and see if it suits.....
  7. Try this background.... [its a small image, hope you will be able to see it...]
  8. Great, you got the navigation fixed, the background, its too gaudy, thinner and lighter stripes will be better....
  9. pulpfiction

    Session

    Some information regarding ASP sessions....http://www.w3schools.com/asp/asp_sessions.asp
  10. pulpfiction

    login?? then......

    To check if the user is logged in, you must be checking in every page session or something and if session not set then you redirect to login page, before this redirect, store the current page URL [ http://www.powerasp.com/content/new/get-current-page-url.asp ] in a session. and in the login page, if the user login is valid check for this session, if it contains some URL then redirect to that path else redirect to default page.
  11. Try something like this....JS:<scritp type="text/javascript">function slides.push(id) {document.getElementById(id);}</script>HTML:<div id="a1"></div><div id="a2"></div><div id="a3"></div>
  12. simple way to do it.... <td style="width: 199px" class="style10" onclick="FP_setTextFieldText(/*id*/'TextArea1', 'text for about our parts', /*id*/'0')"><a href="#">About our parts:</a></td>You can also use CSS to change the hyperlink style.....
  13. Its the same code, just for clarity sake, I seperated the lines.... code was working after changing to <textarea id="TextArea1..........
  14. Tried this code, seems to be working fine in IE 6 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>Test</title><script type="text/javascript">function FP_setTextFieldText(id,txt,form) {//v1.0var el=FP_getObjectByID(id); if(el!=null) el.value=txt;}function FP_getObjectByID(id,o) {//v1.0var c,el,els,f,m,n; if(!o)o=document;if(o.getElementById)el=o.getElementById(id);else if(o.layers)c=o.layers;else if(o.all)el=o.all[id];if(el)return el;if(o.id==id || o.name==id)return o;if(o.childNodes)c=o.childNodes;if(c)for(n=0; n<c.length; n++) {el=FP_getObjectByID(id,c[n]);if(el)return el;}f=o.forms;if(f)for(n=0; n<f.length; n++) {els=f[n].elements;for(m=0; m<els.length; m++){el=FP_getObjectByID(id,els[n]);if(el) return el;}}return null;}</script><style></style></head><body> <table style="width: 600px"> <tr> <td style="width: 199px" class="style10" onclick="FP_setTextFieldText(/*id*/'TextArea1', 'text for about our parts', /*id*/'0')">About our parts:</td> <td style="width: 199px" class="style10" onclick="FP_setTextFieldText(/*id*/'TextArea1', 'text for payment', /*id*/'0')"> Payment</td> <td style="width: 200px" class="style10" onclick="FP_setTextFieldText(/*id*/'TextArea1', 'text for shipping\r\n', /*id*/'0')"> Shipping</td> <td style="width: 200px" class="style10" onclick="FP_setTextFieldText(/*id*/'TextArea1', 'text or contact\r\n', /*id*/'0')"> Contact</td> </tr></table><form method="post"> <textarea id="TextArea1" style="width: 600px; height: 250px"></textarea></form></body></html>
  15. Sorry about that, did not have patience to read all posts, anyways did you try setting "margin:0;" seems to be working fine in IE 6 by including that... #vertinav ul { list-style: none; display:inline; margin:0px; }
  16. http://www.w3schools.com/dhtml/tryit.asp?f...trydhtml_menu10
  17. since the javascript function FP_getObjectByID says "el=o.getElementById(id);" <textarea id="TextArea1" is the correct way... are you getting any error??
  18. pulpfiction

    Insane Script

    Using a stored procedure, create a temporary table and get all the data from Invoices [auto-increment in temp table] and then update invoice table ID and the other 2 tables....
  19. It should not go in javascript part, but in your HTML part....<body>...................<textarea id="TextArea1"></textarea>.............................</body>
  20. Have the same porblem but reverse to jesh's case, trying to shift from VB.NET to C#, I never end with ; and always forget to use {} to start/end functions....
  21. Try adding float: left;#nav li {text-align: center;float:left;}#nav li a {background-image: url(/images/link.gif);width: 90px;height: 30px;float: left;font-size: 12px;color: #FFFFFF;font-weight: bold;line-height:12px; /* Optional: To get position vertically */}For more help: http://www.webcredible.co.uk/user-friendly...tion-menu.shtml
  22. Found this page related to 80004005 Errors, thought might help....[http://tutorials.aspfaq.com/8000xxxxx-errors/80004005-errors.html]
  23. Did you check in IE 6, left navigation seems to be slightly out of place......
  24. Nice, just feels a little blank, might look better if you can have a banner on the top......
  25. Try this.... [it checks for option value=y and sets it as selected] <script type="text/javascript">function test() { var i; eval("var temp=document.getElementById('dropdownboxname[]');"); alert(temp.length); for (i=0;i<temp.length;i++) {if (temp[i].value=="y") {temp[i].selected=true;} }}</script></head><body onload="test();"><form name="formname"><select id="dropdownboxname[]" class="inputbox"> <option value=""> </option> <option value="x" id="228">?????</option> <option value="y" id="228">??-??????</option> <option value="z" id="228">?????</option></select>
×
×
  • Create New...