Jump to content

pulpfiction

Members
  • Posts

    1,210
  • Joined

  • Last visited

Everything posted by pulpfiction

  1. ROFL.... whats that monkey doing there? what that for?
  2. I think its pretty clear.....Link vchris gave is in RRGGBB [Hex code] format but you needed in RRRGGGBBB [Decimal]. so to convert hex value to decimal use [scientific] calculater in Windows.
  3. Im not sure if you are asking for a method to extend the first cell width equivalent to 2 cells in 2nd row. but try this. colspan="2" does the trrick below<table border="1"><tr><td colspan="2">Here I place an image, with width 100% and height 100%</td></tr><tr><td>This data cell contains another table</td><td>This data cell contains another table too</td></tr></table>
  4. CSS property for text color is color:redTry style='background-color:black;color:red'
  5. If you need the inner table to be on the right extreme of the outer then try this...Inner table:<table style="float:right;">
  6. Dont think its even Javascript. //Code Created by Agent Moose$(".drop_menu").before("<ul id='top_menu' class='drop_menu'><liid='menu_ucp'>................[im a PHP novice, correct me if wrong]Looks like PHP, before(...) should be another function. Also do you get any error?
  7. Something like this?http://www.findmotive.com/2006/10/31/simpl...image-rollover/http://www.designmeme.com/articles/cssrollovers/
  8. For more information about replace()....http://www.w3schools.com/jsref/jsref_replace.asp
  9. Try this... var strValue_original = "ababab"var strA = "ZZ~";var strB = "YY~";var strValue_display = strValue_original;strValue_display = strValue_display.replace(/a/g,strA);document.write("strValue_display (a):" + strValue_display + "<br />");strValue_display = strValue_display.replace(/b/g,strB);document.write("strValue_display (b):" + strValue_display + "<br />");
  10. [using CSS] Try using this in your outer table. and to fix the text to align left in the inner table use style="text-align:left"<table style="width:300px;margin-left:auto;margin-right:auto;text-align:center;">
  11. This might help a little....http://www.topxml.com/xhtml/xhtml_tag_link.asp
  12. Does the echo statement print without the name? Then $_REQUEST['name'] could be empty.Since you are using POST method, check if the variable $name_field has some value or not. if it has some value then try using $_POST['name'] inecho "Thankyou <?php echo $_POST['name']; ?php> for e-mailing Teversham FC\n Back to
  13. One way to do this in MS SQL is to convert data to binary type before comparison...... http://vyaskn.tripod.com/case_sensitive_se..._sql_server.htm [Read Method 1]
  14. Some information about CMS.http://en.wikipedia.org/wiki/Content_management_systemCheck out this site which has demo of available CMS to get ideas of what kind you might need.....http://www.opensourcecms.com/
  15. One possible reason is, if any values of either "RegionCode" or "ClinicGroup" or "Snooped" is NULL. Also since you have used AND between the constraint, it will not show the record is any one of these 3 values is NULL in a particular row.
  16. This should help.....http://www.w3schools.com/php/php_cookies.asp
  17. If you are asking about how to set value for hidden field.document.getElementById("hidden1").value='Some Value';Try this code. hit the show value button after page loads. it alerts "old value" of hidden field. then click "Change hidden textbox value" and then hit show value button to see new value.... <html><head><script type="text/javascript">function changeValue() { document.getElementById("hidden1").value='New Value';}function alertValue(){alert(document.getElementById("hidden1").value)}</script></head><body><form><input type="hidden" id="hidden1" value="Old Value" /><input type="button" onclick="java script:changeValue();" value="Change hidden textbox value" /><input type="button" id="button1" onclick="alertValue()"value="Show value of the hidden field" /></form></body></html>
  18. Try changing "func2" like below code... function func2(name) {var i=0;while(i<school.length) { if(school[i].toLowerCase() == name) { school.splice(i, 1); document.getElementById('arr').value=school; break; } i++; }}
  19. pulpfiction

    Help!

    Serverside scripting: ASP tutorials: http://w3schools.com/asp/default.aspPHP tutorials: http://w3schools.com/php/default.aspHere's a simple PHP login script... [this example takes only password, you can include username also.]http://forums.tizag.com/showthread.php?t=239ASP:http://www.asp101.com/samples/viewasp.asp?file=login.asp
  20. pulpfiction

    Help!

    Javascript is client side scripting. user can right-click in the browser and "view source" and it will show all the javascript. along with the username and password. so it is not a good method.
  21. IM not sure, but will "target" attribute work.... try this.Index.htm <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><head><title></title><style type="text/css"></style></head><body><iframe src="Temp.htm" width="30%" height="100%" frameborder="1" /><iframe src="" id="showframe" name="showframe" width="65%" height="100%" frameborder="1" /></body></html> Temp.htm <html><head><script type="text/javascript"> </script></head><body><a href ="http://www.yahoo.com" target ="showframe">Frame a</a><br /><a href ="http://www.google.com" target ="showframe">Frame b</a><br /><a href ="frame_c.htm" target ="showframe">Frame c</a></body></html>
  22. One way is to use inline style. Problem with this is you need to give styles individually to all tags.<ul style="padding:0px">OR<li style="margin-left: -10px;">
  23. There might be better ways, try query below, using another SELECT..... SELECT * FROM(SELECT TOP 2 *FROM (SELECT TOP 5 * FROM tbl_Name ORDER BY Date1 DESC) tbl_NameORDER BY Date1) tbl_Name ORDER BY Date1 DESC
  24. Saw that, I said "try giving in the NEXT LINE"
  25. Try this if you are using <a> <html><head><title></title><style type="text/css">a.txt { color:red; text-decoration:none;}a.txt:hover { color:blue; text-decoration:none;}</style></head><body><form name="frm1"><a href="java script:void(0);" class="txt">Thanks for reading!</a></form></body></html>
×
×
  • Create New...