Jump to content

pulpfiction

Members
  • Posts

    1,210
  • Joined

  • Last visited

Everything posted by pulpfiction

  1. Try checking the following.1. give the variables without double qoutes...mail("****@tsrealms.com", $Email,$Subject, "From:" . $Email);mail($Email, "A copy of your Application", $Subject, "From: The Shattered Realms");2. As mentioned earlier put the echo ""<h1>Thank you for ......" inside elseif.Also are you getting some kinda error or just the mail doesnt go through?
  2. Can you post your code? "noresize" should work fine. http://www.w3schools.com/html/tryit.asp?fi..._frame_noresize
  3. If its going to be HORSEA1.jpg, HORSEA2.jpg to HORSEA12.jpg.. Try this code.... <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><title> Assignment 9</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css"> #div1 {font-family: Eras Bold ITC;color: gray;font-size : 5em;z-index: 1;}#div2 {font-family: Eras Bold ITC;color: gray;font-size : 1em;z-index: 1;}#div3 {font-family: Eras Bold ITC;color: gray;font-size : 1em;z-index: 1;}</style><script language = "javascript" type="text/javascript">function validateit(){ if (isNaN(txtRow.value)){alert ("Please enter an integer for the number of rows.");txtRow.focus();return false;}else { if (isNaN(txtCol.value)){ alert ("Please enter an integer for the number of columns.");txtCol.focus();return false;}else{return true;}}} // Important Variable must be assigned to 1var ImageCnt=1;function showImage(){var imgStr;if (ImageCnt>12)ImageCnt=1;imgStr = "<img src='HorseA" + ImageCnt +".jpg' alt='HorseA" + ImageCnt + "' height=100>";ImageCnt++;return imgStr}function CreateIt(){var rCount; var cCount; var txtStr; if (validateit()){rCount = parseInt(txtRow.value);cCount = parseInt(txtCol.value);txtStr = "<html>\n<head>\n<title>Assignment 9</title>\n</head>\n<body>";txtStr = txtStr +"<table border='3'>\n";for (var i = 1; i<=rCount; i=i+1){ txtStr = txtStr + "<tr>\n";for (var j = 1; j<=cCount; j=j+1){ txtStr = txtStr + "<td width='120' bgcolor='yellow'>"var retret = showImage();txtStr = txtStr + rettxtStr = txtStr + "\n </td>\n";}txtStr = txtStr + "</tr>\n" ;}txtStr = txtStr+"</table>\n";txtStr = txtStr +"</body>\n</html>" document.writeln (txtStr);return true; }else{return false}} </script></head><body bgcolor="white"><div id="div1" align="center">Generating images in a table dyamically</div><table><tr><td width="281"><div id="div3" align="right">The number of columns</div></td><td width="277"><p><input type="text" id="txtCol" value="" /></p></td></tr><tr><td><div id="div2" align="right">The number of rows </div></td><td><input type="text" id="txtRow"value="" /></td></tr><tr><td> </td><td><input type="button" id="btnCreate" onclick="CreateIt()" value="Create the table" /></td></tr></table></body></html>
  4. that should not be the problem.... [if id="container" is a DIV]div#container {....} is same as #container {.....}
  5. Are you asking something like this....<script>function test() {// Return URL, will NOT work // return "http://www.google.com"// to redirect, this will work window.location="http://www.google.com"}</script><a href="java script:test();">Redirect URL</a>
  6. Not sure if I completly understood your question....... If you are asking about [example below]<div class="some_name".......>Its for using CSS style. Link below about CSS class should help. http://www.tizag.com/cssT/class.php Are you asking about "tabindex"? It gives order of section when you hit tab.....http://www.htmlcodetutorial.com/forms/_INPUT_TABINDEX.html
  7. Server side scripting languages:PHP: http://w3schools.com/php/default.asp or http://php.net/ASP: http://w3schools.com/asp/default.asp
  8. Width of the table remains 450px in both cases. When you add padding then its added to the width mentioned by javascript and left cell width will be 50 [width] + 25 [padding] = 75px. this will reduce the width of the second cell to 375px.So subtract padding 25px from width 50px for the 2nd cell to be 400px.
  9. If you use a mailto and say if you have Outlook in your computer, then it will open with the mailid mentioned in mailto......So if you need a web form where the user submit's information and this info needs to be mailed then you need some server side scripting. Read links in real_illusions post.....
  10. Semi colon shows the end of line in JavaScript. guess its better to use ;......
  11. Steps to install IIS. This should help. [ignore step 1, about XP CD]http://www.webwizguide.com/asp/tutorials/i...s_winXP_pro.asp
  12. Try this... [function call seperated by ;]<body onload="java script:logoAlign(); setWidth(); alignCell()">
  13. Sorry missed to mention that..... it works in IE only. Also as far as I know there's no alternative, as the filter is non-standard crap which IE has in a pathetic attempt make itself look good.
  14. Are you using any server side scripting language?If you are using ASP.... check link for samples to send mail.http://www.w3schools.com/asp/asp_send_email.asp
  15. This should help....http://www.allhtmlcodes.com/image_effects.php?effect_id=1
  16. name is given common for the set/group of radio buttons and value is to distinguish which among the group was clicked.<input type="radio" name="option" value="val1"><input type="radio" name="option" value="val2"><input type="radio" name="option" value="val3">
  17. <form method="get" action="samepage.asp"><input type="radio" [b]name="rad"[/b] value="1">Value 1<br /><input type="radio" [b]name="rad"[/b] value="2">Value 2<br /><input type="radio" [b]name="rad"[/b] value="3">Value 3<br /><input type="radio" [b]name="rad"[/b] value="4">Value 4<br /><input type="radio" [b]name="rad"[/b] value="5">Value 5<br /><input type="submit" value="submit" /></form> Try this code [ASP] and when you select a radio button and click submit. URL will have .......?rad=someval [based on which radio button selected]
  18. Try this...<input type="file" onkeypress="return false;" onkeyup="return false;" onkeydown="return false;"/>
  19. pulpfiction

    Please help me!

    PHP VS ASPhttp://www.webpronews.com/expertarticles/2...2/22/asp-vs-phpRead the "verdict" in link below...http://www.pointafter.com/Archives/nl0203.htm
  20. Is the site supposed to be in center? if yes, its not like that in IE 6. its on left side.....
  21. Some more confusion to this issue..... seems like all this started off when a new 2.0 application was added in the server. for both 1.1 and 2.0 apps to work, a new application was created and only the 2.0 apps were moved. and the 1.1 application is in the old pool. This removes the chance it could be any security issue. but seems like this could be a bug with CR and .NET.
  22. I dont have access to that server.... so have mailed another guy, waiting for a reply from him...
  23. Yeah its in the same old location...After some online research, found this information, but i dont think this is true for my situation.. guess I need to check the properties of both the pools...."The problem stems from ASP.NET Security and the need of the report document to logon to the database to pull information. This happens if the source for the report data is a DataSet that is structured and is part of the application's classes. The solution is to declare a unique DataAdapter and DataSet and pull the data on the spot....."
  24. Actually I should have mentioned this, the reports were working fine till we changed the pool. It also uses separate dataset file [.xsd].Struggling with this for the past 2 days....
  25. We had to move a ASP.NET 1.1 application to a new application pool. Now the Crystal Reports are failing.... Thanks.Error:Logon failed. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed.
×
×
  • Create New...