575 Posted Topics
Re: Well. Until now, 'mashup' for me; meant something done at the weekend (or any time) involving copious amounts of alcohol, etc, and an ample recovery period. I figured this wasn't what you meant; so, I asked a good friend, Wikipedia, and by its own definition, it could be described as … | |
Re: Try using a padding-top:10px for the main div instead of a margin-top:10px for the child div, and a padding-top of 10px on the body instead of a margin-top on the main div. I can't tell you why it doesn't work; but it doesn't seem to work on Opera either o_O | |
Re: Aaah... it's a difficult one. Height 100% doesn't work in XHTML; it means '100% of the height of everything on the page'. So, if there's nothing on the page, 100% height is nothing. This even affects background images in some browsers... specifically Firefox if I remember correctly; the background image … | |
Re: There are quite a few errors... Firstly, the keyword is 'function' and not 'fuction'. Secondly, in this line: [code] <!---Hide from non-JavaScript browsers //This function Displays the Daily Dinner Specials at Kelsey's Diner [/code] The phrase "Hide from non-Javascript browsers" will be parsed as script; you can stop that with … | |
Re: You need to write some kind of program to run on the server; that accepts the data submitted in the form and outputs it to the text file. Such a program might only be a couple of lines long; but it needs to be there. This program needs to be … | |
Re: I would suggest not using layers. Split your background frame image into more pieces ( top, 2 sides and a bottom ). Use a single table with the top image on the top cell, side images on the side cells, and a bottom image on the bottom cell. Something like … | |
Re: Document.write( ) only works reliably in the 'loading' period of your page. Something like this: [code] <html> <body> <h1>Title</h1> <script>document.write("My page content");</script> </body> </html> [/code] Will work how you might expect; but calling document.write( ) after the loading context ( i.e. from a user-invoked event like clicking a button ) … | |
Re: this page would seem to say yes: [url]http://www.w3.org/TR/css3-hyperlinks/[/url] bear in mind, most browsers have only got css2; and that specification seems to relate to css3. you can do it with javascript if your stuck.. | |
Re: try this: [code] <h5><a href="deapajobs.html#job1">PA Maine's Community Health Centers</a></h5> ... <td colspan="2" class="jobtitle">[b]<a name="job1">Physician Assistant</a>[/b]</td> [/code] I think, you should be able to use anything with a name as a bookmark target ( but I can't seem to find anything that confirms that explicitly ). Old behaviour used to only … | |
Re: What does the code look like when you view-source in a browser ( i.e. after the PHP code has been executed ). Post the same code after PHP, and check to make sure those echos don't put invalid characters inside the value attribute. Are you using an XHTML DTD, a … | |
Re: hmm.. you could try this approach: have the page load up with the <body> element either disabled or un-visible, specified in the element's inline "style" attribute. i.e. [code]<body style="visibility:hidden;">..[/code] at the end of the javascript file that you want to be loaded; add the line [code]document.onload = function() { document.body.style.visibility … | |
Re: Well. there are differences in the connotations each word holds; these are definitions from dictionary.com.. :): [b]Designer: [/b] a person who devises or executes designs. [B]Developer : [/B] a person or thing that develops. I suppose, in the strictest sense, 'designers' create the foundations of ideas for products that 'developers' … ![]() | |
Re: this line: [code] margin: 0px auto; [/code] is setting some of the margins on your '#maincontainer' div to be auto. auto means; take a proportion of the available space. Generally, if you set the left and right margins of something to be "auto" it has the effect of aligning it … | |
Re: If you use: [code] <input type="image" src="[href to image]"/> [/code] You should be able to disable it. That's a valid input type; it should be supported widely. Alterantively; try: [code] <button><img src="[href to image]"/></button> [/code] You might have to restyle the button to stop it being drawn as an actual … | |
Re: You can pass query string data into flash movies. That is; if you put something like: [code] mymovie.swf?myar=hello& [/code] Wherever you'd normally write the name of a movie (i.e. in the object tag value and/or embed tag src); then that variable "myvar" will be available from the _root object within … | |
Re: it's permissable to write <script> in the body section; be aware that the script will run at weird times though ( as the script element is parsed ). the only way the script you have got WILL work is if part of that script runs as the body is parsed; … | |
Re: Do you want to display the content of an XML file as HTML? i.e. transform XML content to HTML..? You can do that with XSLT. Let me know if that's what you want to do; there's no point me talking about XSLT otherwise =P The w3cschools minisite for XSLT; [url]http://www.w3schools.com/xsl/xsl_languages.asp[/url] | |
Re: Add some CSS a'la: [code="CSS"] body { cursor:crosshair; } [/code] or, put it directly in the body tag: [code="HTML"] <body style="cursor:crosshair;"> ... body stuff ... </body> [/code] It should set the cursor how you want; while the mouse is over the browser window (or browser tab) that your page is … | |
Re: I think this is a good idea... but, you have to remember that sites like this (other sites might be different) are like, community environments rather than on-demand services. The biggest problems you'll hit are; convincing forum owners to allow automated registrations; making sure that lots of similar questions don't … | |
Re: HTML, CSS, Javascript, Flash, XML, (databases in general / SQL), ASP and/or PHP and/or Perl, XHTML, XSLT, Java and/or C++ That's not exactly the order I've learnt things in; but it is the order at which I've found learning more / using those technologies useful; and I tried to make … | |
Re: If you check your Apache errorlog file when running the code you want (i.e. the same, without the / or with a /?) ; then you'll see a line like this: [quote="Apache"] [Fri Mar 16 00:54:31 2007] [error] [client 127.0.0.1] Request exceeded the limit of 10 internal redirects due to … | |
Re: That's weird looking script. I can't see any way that it could work - in that context; 'src' wont relate to anything useful. This page has some example code (lots of examples); it won't work for me; but I'm not on a computer with many media plugins: [url]http://www.phon.ucl.ac.uk/home/mark/audio/play.htm[/url] Hope that … | |
Re: try putting : [code] <script type="text/javascript"> (what you had before) </script> [/code] also make sure; the script is inside a <body> or <head> element inside an <html> element. IE can be a bit lax when it comes to what is and isn't acceptable HTML; most browsers are less forgiving. | |
Re: if you want to link to a local file as the image; use the 'file' protocol explicitly: [code] <img src="file:///C:\webroot\images\logo.gif" width="650" height="110"> [/code] maybe those (\) should be the other way round; so if it doesn't work like that; try: [code] <img src="file:///C:/webroot/images/logo.gif" width="650" height="110"> [/code] Also, check out: [url]http://en.wikipedia.org/wiki/File:_URL[/url] … | |
Re: Try this: [code] <HTML> <HEAD> <script> function this_total( for_what ) { var this_row = for_what.parentElement.parentElement; var qty = this_row.getElementsByTagName("td")[1].getElementsByTagName("input")[0].value; var up = this_row.getElementsByTagName("td")[2].getElementsByTagName("input")[0].value; var total = qty * up; for_what.value = total; return; } </script> </HEAD> <BODY> <form name="form1"> <table border="1"> <tr> <th> S.NO </th> <th> Qty </th> <th> Unit … | |
Re: Have you got a live (hosted) version of the site that we can look at? my browsers are spread across different computers. I haven't looked at your code yet, if you don't have an online version, let me know, and I'll look at it anyway. Personally, I avoid trying to … | |
Re: In re. to what you said here: [url]http://www.daniweb.com/techtalkforums/thread71134.html[/url] Asking for help is one thing; requesting it be done is another. Personally, I don't have time to do this; it would take a couple of hours minimum : Time isn't free, and I don't come here for job offers =P There's … | |
Re: Make a table; put each of the images in their own table cell, and make this CSS apply to those cells: [code="CSS"] td.always_center { text-align:center; vertical-align:center; width: 100px; height: 100px; } [/code] Where I put "100px" for width and height: change that for the largest possible size that (or a … | |
Re: You shouldn't be able to affect the clipboard. You might be able to find an IE6 extension that does it; but access to the clipboard is platform dependant; and it [B]shouldn't be accessible to webpages[/B]. I like to keep my own control of the clipboard, it would annoy me intently … | |
Is it incorrect to use the precompiler like a complicated copy-and-paste tool? I've been working on a system where a few objects are processed according to exactly the same 'pattern' so to speak; BUT they are not related objects. Although it would be possible to bring some of them back … | |
Re: The best test is really experience. You [i]could[/i] learn all of those languages to a competent enough degree to take a test, but you'll find it's more productive to learn powerful and useful technologies to to the highest degree you can, and then keep trying to learn more. Pick the … | |
Re: Out of experience; I do not accept or install plugins other than Flash, Java, Quicktime et cetera; i. e. well known safe technologies - as apposed to one-off unknown products. Too often, "plugin" since Internet Explorer 6; means something that tried to add it's own searchbar, change the homepage, set … | |
Re: Setting a percentage for the body is a hack to try and scale the body to the window... Unfortunately, it doesn't work very well =P HTML 4 or less doesn't care about tag case; those rules ONLY apply to XML and thus XHTML. Still; it's perhaps best to make tags … | |
I'm carrying this around in my signature at the moment, because I found the statement somewhat amusing: [quote] class `Matt' is implicitly friends with itself. [/quote] (Of course, the class wasn't really called Matt. I like the look of my own name. Perhaps). Preamble aside; the more I think about … | |
Re: Ha. I came into this forum to ask about that; I made two posts today; in one post I made a minor edit, in the other post, i made quite a drastic edit. Both of the edits seemed to work at first, but when I checked back just now, both … | |
Re: Do you really think VB script in a browser is going to be allowed unrestricted access to the FileSystemObject? Or any kind of file/network interface access for that matter. That might work as a desktop VBScript application; but I'm sure even I.E would notice you're trying to do something potentially … | |
Re: This is quite fun code to write. Here's an easy example; it will give a 'snapping' non fluid transition between sizes. [code] <html> <head> <script type="text/javascript"> function grow(what) { what.style.width="80px"; what.style.height="80px"; } function shrink(what) { what.style.width="50px"; what.style.height="50px"; } </script> <style type="text/css"> td.icon_container { width:100px; height:100px; text-align:center; } img.icon { border:solid … | |
Re: [B] Apologies, I didn't read your code thoroughly before posting. Ignore everything up to the first EDIT: note [/B] [code] ignore.. [/code] This code is checking a global variable called 'myVar' These two functions are modifying a global variable called 'pos' [code] ignore.. [/code] Although you set them both to … | |
Re: [quote] <script type="text/javascript"><script language="javascript> blah, blah, blah, blah </script> is this correct? [/quote] No. You don't need two opening tags. Either: [code] <script type="text/javascript" language="javascript"> blah, blah, blah, blah </script> [/code] or: [code] <script type="text/javascript"> blah, blah, blah, blah </script> [/code] because type=text/javascript means language=javascript (infact, language=javascript is not considered … | |
Re: It perhaps depends on what browser you use... I know for sure that Firefox remembers script - based states, so refreshing doesn't undo the effect of scripting. Opera does something similar, but it doesn't seem to override settings in the HTML (unfortunately, I don't think it's possible to force the … | |
Re: I suppose, you could do it by writing some code that sends all post requests from one site to the other site, for both sites. You might end up with heavy duplication (every post will be saved at both sites). Perhaps you'd be better off using a third (data) server … | |
Re: [quote] 1)I have my hesitations about my web code being revealed to everyone through the "view page source" feature of web browsers. Apparently the source review may reveal quite a few hints that affect security. Is there a way to prevent people from seeing this? [/quote] - Don't implement any … | |
Re: The only problem I can see on the face of it is that you defined the [B]get[/B] function as taking two parameters and you're only calling it with one parameter... That doesn't usually cause a problem (Javascript is quite forgiving), but it's worth checking. | |
Re: what code have you got? if you post what you have so far, it'd be easier to understand what your trying to do. if you use a naming (identifying) convention, it might help, if you pass in parameters to your function that differ for each row it might help, if … | |
Re: [code] <script type="text/javascript"> function addPullquote(){ var myTextArea = document.getElementById("commentBox"); myTextArea.value = myTextArea.value + '[dohtml]<p class='pullquote'> This is your pullquote. </p> [/dohtml]'; } </script> [/code] You have another quote-nesting problem =P: [code] myTextArea.value = myTextArea.value + [COLOR="RED"]'[/COLOR][dohtml]<p class=[COLOR="RED"]'[/COLOR]pullquote[COLOR="RED"]'[/COLOR]>This is your pullquote. </p>[/dohtml][COLOR="RED"]'[/COLOR]; [/code] You [I]cannot[/I] put the same kind of unescaped … | |
Re: text-align:center; in CSS is an extremely easy replacement for center; in the way you just suggested. A div with text-align:center; works pretty much exactly the same as <center>. As such, there's no real need for <center> in modern HTML versions. I'd say <center> is more functionally obsolete than neccessarily deprecated … | |
Re: [quote]Am I even in the right forum??[/quote] Not really, but I can't think of a better one... If you have access to it, is there anything in your Apache error log? That can often be helpful. I'm assuming you did all the standard stuff, like saving the .htaccess file directly … | |
Re: I use any (free + linux) markup-highlighting text editor [at the moment Kate].. and Opera for debugging strangely enough. Firefox can be useful sometimes ![]() | |
Re: You can't drop anything into the end user's 'real' toolbar (from a webpage). that would be outright rude. If you mean something different; be specific. |
The End.