575 Posted Topics

Member Avatar for Brent.tc
Member Avatar for happygeek

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 …

Member Avatar for MattEvans
0
62
Member Avatar for drarock

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

Member Avatar for MidiMagic
0
81
Member Avatar for John A

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 …

Member Avatar for John A
0
174
Member Avatar for SAMSEIED

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 …

Member Avatar for connor4312
0
141
Member Avatar for klouis

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 …

Member Avatar for rgtaylor
0
97
Member Avatar for sampaman

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 …

Member Avatar for MattEvans
0
90
Member Avatar for Sukanto

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 ) …

Member Avatar for Sukanto
0
158
Member Avatar for martinkorner

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..

Member Avatar for martinkorner
0
307
Member Avatar for narsto

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 …

Member Avatar for MidiMagic
0
123
Member Avatar for Barefootsanders

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 …

Member Avatar for MidiMagic
0
104
Member Avatar for MDGM

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 …

Member Avatar for MattEvans
0
143
Member Avatar for patrycja09

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' …

Member Avatar for GreenDay2001
0
106
Member Avatar for tech291083

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 …

Member Avatar for Gmarvz
0
247
Member Avatar for rpjanaka

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 …

Member Avatar for digital-ether
0
8K
Member Avatar for sandbox

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 …

Member Avatar for rgtaylor
0
129
Member Avatar for viet_mafia

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; …

Member Avatar for rgtaylor
0
333
Member Avatar for eXceed69

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]

Member Avatar for eXceed69
0
96
Member Avatar for manal

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 …

Member Avatar for MattEvans
0
220
Member Avatar for janicefernandes

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 …

Member Avatar for janicefernandes
0
71
Member Avatar for cath120

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 …

Member Avatar for MattEvans
0
157
Member Avatar for ruslan

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 …

Member Avatar for MattEvans
0
89
Member Avatar for adaykin

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 …

Member Avatar for hbk619
0
461
Member Avatar for Brent.tc

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.

Member Avatar for Brent.tc
0
121
Member Avatar for sam1

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] …

Member Avatar for MattEvans
0
175
Member Avatar for poojas

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 …

Member Avatar for MattEvans
0
141
Member Avatar for asmqb

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 …

Member Avatar for asmqb
0
91
Member Avatar for Racoon200

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 …

Member Avatar for Racoon200
-1
145
Member Avatar for Racoon200

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 …

Member Avatar for Racoon200
0
315
Member Avatar for johnroach1985

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 …

Member Avatar for Inny
0
442
Member Avatar for MattEvans

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 …

Member Avatar for thekashyap
0
119
Member Avatar for tommyinlondon

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 …

Member Avatar for jwenting
0
128
Member Avatar for 3DProf4online

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 …

Member Avatar for jwenting
0
116
Member Avatar for BobbyRags

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 …

Member Avatar for MidiMagic
0
296
Member Avatar for MattEvans

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 …

Member Avatar for thekashyap
0
89
Member Avatar for John A

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 …

Member Avatar for WaltP
0
209
Member Avatar for jamello

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 …

Member Avatar for jamello
0
133
Member Avatar for Racoon200

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 …

Member Avatar for MattEvans
0
162
Member Avatar for dcarrillo18

[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 …

Member Avatar for MattEvans
0
303
Member Avatar for mosarie79

[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 …

Member Avatar for MattEvans
0
297
Member Avatar for rpjanaka

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 …

Member Avatar for MattEvans
0
145
Member Avatar for Inny

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 …

Member Avatar for MattEvans
0
65
Member Avatar for webdevelopa

[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 …

Member Avatar for uritah
0
93
Member Avatar for nloding

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.

Member Avatar for nloding
0
113
Member Avatar for poojas

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 …

Member Avatar for poojas
0
77
Member Avatar for Inny

[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 …

Member Avatar for Inny
0
301
Member Avatar for RyuuJin Silver

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 …

Member Avatar for MattEvans
0
116
Member Avatar for martinkorner

[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 …

Member Avatar for MattEvans
0
135
Member Avatar for jerryodom

I use any (free + linux) markup-highlighting text editor [at the moment Kate].. and Opera for debugging strangely enough. Firefox can be useful sometimes

Member Avatar for GreenDay2001
0
76
Member Avatar for bongobob

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.

Member Avatar for MidiMagic
0
107

The End.