627 Posted Topics

Member Avatar for ghostsquad

These might interest you: [url]http://gadgetopia.com/post/2685[/url] [url]http://www.alistapart.com/articles/hotlinking/[/url]

Member Avatar for ghostsquad
0
109
Member Avatar for babbi
Re: hi

PHP will not interfere with the HTML because PHP is interpreted by the server, while HTML is interpreted by the Browser. The browser does not see the PHP code. That aside, you can use frames in the sense that the browser will not forbid you from using it. However, it …

Member Avatar for hielo
0
80
Member Avatar for zhk

You just need to worry about a server-side script to process the file you want to upload. Refer to the following page for such script: [url]http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=7361&lngWId=4[/url] The fact that your file is PDF really makes no difference. I know it saves the files to specified folder on the filesystem, but …

Member Avatar for hielo
0
61
Member Avatar for doraima29

You just need to add spaces: [CODE] <%@ Language=VBScript %> <% Option Explicit %> <% ' ----------------------------------------------------- ' CDONTS Email send script ' © http://www.designplace.org/ ' Comments must remain intact for re-use of this code ' ----------------------------------------------------- dim strFName, strLName, strEmailOne, strEmailTwo, strSchoolName, strAddress, strCity, strState, strCountry, strZipcode, strMessage, strQuestion1, …

Member Avatar for doraima29
0
130
Member Avatar for vicshoup

You have the SQL statement in two separate lines. VBScript is interpreting the end of line as the end of statement. You can: a. remove the new line character so that all in on a single line [code] SQL = "INSERT INTO CDNumber (nCDNumber, tCDDescription, bStockorMiscImages) VALUES ('"&u_CDNum&"','"&u_CDDesc&"','"&u_CDStock&"')" [/code] OR …

Member Avatar for vicshoup
0
168
Member Avatar for beingoll

Try this: [CODE] SQL = "SELECT tbl_Order.Status FROM tbl_Order WHERE Customer.CustomerID = " & Session('userid') SQL = SQL & asp_CustomerID & " AND Customer.CustomerID = tbl_Order.CustomerID" [/CODE]

Member Avatar for hielo
0
85
Member Avatar for mithesh

Building on what you already have, you would just need to add the desired <span> or <div>, assign it an id, an update that <span> or <div> based on its id value. I have used txt3 on the code below on a <p> tag instead: [code] <html> <head> <title>Key Events …

Member Avatar for ~s.o.s~
0
84
Member Avatar for gourav_jain

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body> <script type="text/javascript"><!-- for(var i=41; i<=67; ++i) document.write( eval("'\\u00"+i+"';")); //--></script> </body> </html>

Member Avatar for ~s.o.s~
0
122
Member Avatar for fredjahed

Assuming you would like to change the backgroud of: <p id="para1">Text</p> You would do so as follows: document.getElementById('para1').style.backgroundImage='http://www.site.com/Images/yourImage.gif';

Member Avatar for MidiMagic
0
468
Member Avatar for doraima29

You can use the "Scripting.FilesystemObject" to create your file and write data to it. <% dim fs,fname,overwriteContents,unicode,ascii overwriteContets=true; unicode=true ascii=Not Unicode set fs=Server.CreateObject("Scripting.FileSystemObject") set fname=fs.CreateTextFile( Server.Mappath("myLog.txt"),overwriteContents,ascii) fname.WriteLine("Hello World!") fname.Close set fname=nothing set fs=nothing %>

Member Avatar for hielo
0
97
Member Avatar for Roebuc

Can you post some code? Not sure if a background image on the link will fix your problem OR one of a "title" or "alt" attributes on one of the elements you are doing. Hard to troubleshoot without knowing what you are looking at.

Member Avatar for Roebuc
0
126
Member Avatar for suha899
Re: hi

A page that changes and/or creates its content on the browser, typically based on the users input/feedback/response. The content is typically inserted with javascript but it is not the only option. The limitation is on the user's browser. For example, IE support vbscript as well. The most popular way to …

Member Avatar for ~s.o.s~
0
83
Member Avatar for sumiko2005

You need to add a name attribute to the iframe: index.html <iframe id="iframeid" name="iframeid" src="checkid.html"></iframe> checkid.html <script type="text/javascript">alert(window.name);</script>

Member Avatar for sumiko2005
0
73
Member Avatar for anital

Since you are using <a> as an anchor rather than as a link, you could instead change the <a name="PAGE2"> to a <div id="PAGE2"> AND wrap it around all the relevant <p> elements. Essentially you are grouping the <p> elements with a <div>. If using the <div id="PAGE2"> "breaks" your …

Member Avatar for hielo
0
121
Member Avatar for Pro2000

My comments are in the code: [code] var frame=0; var interval=null; var http = createRequestObject(); function createRequestObject(){ var request_=null; //not necessary //var browser = navigator.appName; if(window.XMLHttpRequest) { request_ = new XMLHttpRequest(); } else if(window.ActiveXObject){ request_ = new ActiveXObject("Microsoft.XMLHTTP"); } return request_; } function getInfo(){ if( http ) { //first parameter …

Member Avatar for ~s.o.s~
0
103
Member Avatar for tefflox

No, it does not really work on FF either. There are tons of errors getting triggered and never stopping. These are all because you are not clearing the timeouts you are setting. Since the phrase contains 23 letters, you are not supposed to stop calling the timeout functions after letter …

Member Avatar for tefflox
0
180
Member Avatar for Pro2000

Try this: [code] <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Untitled</title> <script type="text/javascript"><!-- function sendIt(formElem) { if (event.keyCode==13 ) { formElem.submit(); return true; } return false; } //--></script> </head> <body> <form action="http://www.somesite.com" onkeypress="sendIt(this)"> <textarea rows="10" cols="70"></textarea> </form> </body> </html> [/code]

Member Avatar for Pro2000
0
115
Member Avatar for ytregnn

What you need is a popup div. Within the div you would need to insert <img> elements. Below are two resources with that show how to implement this. You only need to add the image element to it. [url]http://javascript.internet.com/miscellaneous/popup-div.html[/url] [url]http://blog.crowe.co.nz/archive/2005/08/18/220.aspx[/url]

Member Avatar for ytregnn
0
70
Member Avatar for strangeplant

For the sake of debugging, change this: req.open("head", imagepath, true); to this: req.open("HEAD", imagepath, false);

Member Avatar for hielo
0
989
Member Avatar for Oxiegen

It's possible that browser is unable to "import" all/any/some of the javascript files. If I were you I would: a. install Firefox b. install Webdeveloper Toolbar extension/add-on c. install Firebug extension d. Restart Firefox e. Open the page in question f. On the Webdeveloper Toolbar click on Information > View …

Member Avatar for hielo
0
202
Member Avatar for tony.willson

>>Don't how to print the error message in the content area You need to trigger the error only while printing the content. For example the code below will NOT print it within the content because you are not triggering the error within the content: [code=php] <?php $x = (int)$_POST['INPUT']; if( …

Member Avatar for hielo
0
104
Member Avatar for smilyswapna10

Try these instead: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Hielo's Parent Page</title> </head> <body> <script type="text/javascript"> var child_window=null; var parent_window=window; function popUponClick() { child_window = window.open("p.html", "mySelect", "status=1,width=750,height=450,resizable=no"); parent_window.onclick = blurify; parent_window.onfocus = blurify; return false; } function blurify() { if(child_window) { …

Member Avatar for ~s.o.s~
0
223
Member Avatar for johnson7767

Below is a complete example of how I would put the a() function that I gave you to use. You can call show with the number of years as well as the id of the element where you want the results to appear. Example: <input type="button" onclick="show(5,'myResults');" /> <?xml version="1.0" …

Member Avatar for ~s.o.s~
0
175
Member Avatar for johnson7767

<script type="text/javascript"><!-- function a(p,r,n) { return (parseFloat(p) * Math.pow( (1+parseFloat(r)), parseInt(n,10) )).toFixed(2); } //call it as follows: var i=1; while(i<=10) { document.write( i + ". "+ a("1000.00",".05",i) +"<br />"); ++i; } //--></script>

Member Avatar for hielo
0
130
Member Avatar for moiseszaragoza

Try this: <script language="VBScript" runat=Server> Dim xmlDOC Dim bOK Dim HTTP Set HTTP = CreateObject("MSXML2.XMLHTTP") Set xmlDOC =CreateObject("MSXML.DOMDocument") xmlDOC.Async=False HTTP.Open "GET","http://topics.cnn.com/topics/feeds/rss/technology", False HTTP.Send() bOK = xmlDOC.load(HTTP.responseXML) if Not bOK then Response.Write "Error loading XML from HTTP" end if Dim objNodeList Set objNodeList=xmlDOC.documentElement.selectNodes("//rss/channel/item/title") Response.Write "Total Items: "& objNodeList.Length Dim I For …

Member Avatar for hielo
0
98
Member Avatar for Dennis_Phils

First of all, your code does not show where you initialized xmlDoc. I see xslDoc, but not xmlDoc. I assume this happens before the posted code. With the assumptions above, the method "transformNode" is only valid for xml objects created specifically for IE. In your code, this would be: xslDoc=new …

Member Avatar for hielo
0
503
Member Avatar for kings

Rather than checking each of the required input elements within the switch, you can simply provide a css class to each of the required elements. EX: <input type="text" name="first" class="required" value=""/> Then, your script will check each of the form elements for the existence if this "required" class and if …

Member Avatar for hielo
0
103

The End.