Search found 1074 matches

Actual Results

Post Posted: November 30th, 2008, 11:03 am

When I go to their site and copy the same code there is no semi-colon at the end of the url for the iframe. [code]    <noscript><style type="text/css">#mywidget{display:none;}</style><iframe src="

Post Posted: November 22nd, 2008, 3:01 pm

ATNO/TW wrote:
Ordinarily you are too busy for OZZU. Hello RichB. definitely been awhile. Right there with you on the temps.


I had some health issues and haven't done anything IT-related in awhile, but I'm feeling better now and trying to get back in the game.

Post Posted: November 22nd, 2008, 12:24 pm

Ordinarily, I'd be with you all the way, but the temperature here hasn't gotten out of the thirties in about a week, and it's not getting out of the twenties today, so it actually feels like December already. It's gonna be awful cold up in the attic when I bring those decorations down (after Thanksg...

Post Posted: November 21st, 2008, 11:46 pm

It turns out to be a common problem with the xps 630 and ndvidia monitor tool. Apparently 178C is the highest reading, and it's defaulting to that for some reason for which there doesn't seem to be a fix yet.

Post Posted: November 18th, 2008, 5:29 am

I think security considerations should rule that out.

Post Posted: November 14th, 2008, 12:34 pm

I'd forgotten that -- for document.getElementById IE will return the first element with either an id or name that matches, which is non-standard behavior as it's supposed to return null if there's no matching id found. I'd consider that a bug, but apparently the folks at MS don't because IE7 still d...

Post Posted: November 13th, 2008, 4:05 pm

I was just looking at the code you added and you need to add id="titleSelected" to that hidden tag or the function that assigns the value won't work because it references it by its id . I don't think you have to have value="" but I always add it. [code]<input name="titleS...

Post Posted: November 13th, 2008, 2:19 pm

That actually worked in Opera 9.62, which is my usual browser, but not in IE or FF. Anyway, you can extract the individual parts of the date and stick them together again with concatenation: [code]var tNow = new Date() var tDay = tNow.getDate() var tMonth = tNow.getMonth()+1 var tYear = tNow.getFull...

Post Posted: November 13th, 2008, 6:57 am

Okay, my javascript is way rusty, but I think the problem you are having is related to trying to assign the value before the user has actually selected it. I think you would need to add a function or statement that handles the assigning when the choice is made or when the form is submitted. Somethin...

Post Posted: November 12th, 2008, 9:47 am

I bought a Dell XPS 630 last April, and it's been working fine so far. I'm not a hardware guy at all, so I didn't pay too much attention to the diagnostic software that came with it, but today I opened the nvidia system monitor tool because I was curious about what information it reported. I soon no...

Post Posted: May 2nd, 2006, 4:15 pm

I'm rusty with javascript, but I put an alert in enableMenu and it didn't fire at all on IE, so I move the call to enableMenu and changeMonth to inside the select element and made them fire onchange - seemed to work in IE when I tried that. [code] <select name="month" id="month&quo...

Post Posted: April 7th, 2006, 12:51 pm

It's been awhile since I worked with javascript, but I'm not sure that you can use the more advanced event registration models to remove an inline event. If you need to use the inline events maybe you could use the older model to get rid of them: [code]function initialize(){ document...

Post Posted: April 7th, 2006, 11:15 am

From the W3C

The :active pseudo-class applies while an element is being activated by the user. For example, between the times the user presses the mouse button and releases it.

In other words when you're clicking on the link.

Post Posted: October 26th, 2005, 1:46 pm

Yahoo Mail uses a meta refresh tag inside a noscript tag to redirect people who don't have javascript enabled.

Post Posted: October 18th, 2005, 1:07 pm

It seemed like it rained for a week straight here in Boston, although the amounts were less than in other areas in the northeast. Taunton has had just under a foot of rain this month - seven inches of it over the weekend. The sun is actually peeking out a little bit right now, but there's more rain ...

Post Posted: October 11th, 2005, 12:43 pm

I don't know what to tell you then, because I'm seeing it in the compressed version here. It's the very first property:value combo in the ul#tabnav declarations.

Post Posted: October 11th, 2005, 12:16 pm

Create a named anchor:
Code: [ Select ]
<a name="section3">Some text or a &nbsp; whitespace character</a>
Then make the links to jump to it, either on the same page:
Code: [ Select ]
<a href="#section3">Go to the Section 3</a>
or to go to that portion of the p...

Post Posted: October 11th, 2005, 12:06 pm

It's a little hard to read a compressed style sheet, but I think if you find ul#tabnav and move the list-style-type:none that is there to the next declaration ul#tabnav li it will get rid of the bullets in the tabs of the navigation bar.

Post Posted: October 10th, 2005, 9:46 pm

In your style sheet you've got the list-style-type set to none. Change it to one of the other possible values like disc or square.

Post Posted: October 8th, 2005, 12:32 pm

You could try adding width:100% to #navcontainer a to make sure the links take up the whole table cell.

Post Posted: October 8th, 2005, 12:30 am

Maybe this?
PHP Code: [ Select ]
$field = "user";
$user_value = "robert";
$varVar = $field . "_value";
$myglobal = "I am ${$varVar}";
echo "$myglobal";
  1. <?
  3. $field = "user";
  5. $user_value = "robert";
  9. $varVar = $field . "_value";
  13. $myglobal = "I am ${$varVar}";
  17. echo "$myglobal";
  19. ?> ... -in-PHP/1/

Post Posted: October 7th, 2005, 7:40 pm

Apparently they've reached a temporary agreement that has restored service for now.

Post Posted: October 7th, 2005, 10:47 am

When it comes to a MS OS, I'm not going to be the first one in the pool ever again. I did that with Win95 and since then I've become a lot more cautious. I didn't switch from 95 SR2 to Win98 until the second edition came out, and I waited until XP SP2 was out before switching from Win98 at home. So ...

Post Posted: October 4th, 2005, 12:16 pm

I used the web developer toolbar in Firefox to remove the overflow:hidden on the #header div and the links started working. They also work if you remove the negative margin on the links, so I think they were conflicting with the div above - maybe being covered up by it or something, although I'm not...

Post Posted: September 29th, 2005, 4:09 pm

That's not a comparison like a test for equality like while($i==3) . The way that line works is that the function is called and returns a value that is assigned to $row_rs_option_colours and then that value itself will evaluate to either true or false. In other words, the function call and assigment...

Post Posted: September 29th, 2005, 3:40 pm

The line above the one that was commented out - mysql_query - creates the recordset and stores a resources identifier in $rs_lens_option_colours. Then mysql_fetch_assoc returns each row of the recordset as an array and advances the pointer or cursor or whatever to the next row until it runs out of r...

Post Posted: September 29th, 2005, 2:58 pm

Try commenting out the first mysql_fetch_assoc call that appears outside the while loop because it's fetching the first row before you go into your loop with the radio buttons. $rs_lens_option_colours = mysql_query($query_rs_lens_option_colours, $conn_glasses) or die(mysql_error()); //$row_rs_lens_o...

Post Posted: September 29th, 2005, 6:55 am

If it's a matter of a different subdomain/server then you may be able to resolve the situation by setting the document.domain property. I have never done this, but I have come across some references to it before:

Post Posted: September 28th, 2005, 2:50 pm

Making roads visible sure beats the hell out of Microsoft Streets & Trips, talk about actually knowing where you're going. :lol: Heh, I'm not so sure in this case. When I check the box to show roads, it shows the empty lot across the street from me as a road connecting one street over. The lot ...

Post Posted: September 28th, 2005, 2:38 pm

Good point about not needing to focus the frame in that case, but I think the errors are due to trying to access a property or method across domains. My copies of FF, IE and Opera all do it just fine when the documents are all at the same domain, but with the exception of the focus trick in IE - whi...

Post Posted: September 28th, 2005, 7:07 am

JustABob wrote:
IE - Error - Access is denied.
FF - Error: uncaught exception: Permission denied to get propert window.print.

Let me guess: the iframe contents are located on a different domain from the page that holds the iframe? If that's the case, you might try LostBoy's suggestion.

Post Posted: September 28th, 2005, 4:36 am

Try changing:

Code: [ Select ]
  1.     window.frames['ifrm'].focus();
  2.     print();


Code: [ Select ]
  1.     window.frames['ifrm'].focus();
  2.     window.frames['ifrm'].print();

Post Posted: September 27th, 2005, 9:02 pm

The photos of Massachusetts appear to be from 2001. The old football stadium at Foxboro is still standing and the new Gillette Field can be seen under construction. Some of the photos of my area in Boston are of a pretty good resolution. I can clearly see some of the neighbors cars in their driveway...

Post Posted: September 27th, 2005, 9:43 am

One of my logitechs lasted four years. Actually I still have it on my old computer although the buttons have gotten a bit iffy. I'm one of those frugal yankees who hates to throw things out until they're totally useless. My longest running computer part is an HP 5L laser printer that I've had for te...

Post Posted: September 27th, 2005, 9:26 am

Give the select element a name with brackets and you can send them to your php script as an array like this , and process them like UPSGuy showed: [code]<html> <head> <title>Untitled</title> </head> <body> <form action="

Post Posted: September 25th, 2005, 3:18 am

You could try this tool. I haven't tried it yet, but it claims to do just that. I doubt that jEdit is designed to do that though.

Post Posted: September 23rd, 2005, 9:14 pm

You can embed it in the document or put it in an external style sheet - I usually do the latter as it only requires one document to modify when you need to make changes. You can use the effect on all links by overriding the default look, define a class to override the appearance of specific links, o...

Post Posted: September 23rd, 2005, 12:39 pm

D'oh, that would help. :oops:


Post Posted: September 23rd, 2005, 11:15 am

I don't know if anyone has seen this yet, but I searched and didn't find a thread on it yet. Firefox 1.0.7 is a security and stability release. We strongly recommend that all users upgrade to this latest version. This version includes sever...

Post Posted: September 21st, 2005, 6:44 pm

I know Yahoo Mail uses a meta refresh inside a noscript tag.

Post Posted: August 30th, 2005, 2:05 am

I think the objection here is that such an approach would be flooding a server with requests that would use up resources regardless of whether the files exist or not. For example they would be logged - most would be logged as both access attempts and errors.

Post Posted: August 30th, 2005, 1:29 am

As a political philosophy, liberalism has evolved over time. Classical liberalism grew out of the Enlightenment and included such ideas as civil liberties, representational government, and a "hands off" or laissez-faire approach to economics. Those were quite progressive ideas at the time, and their...

Post Posted: August 29th, 2005, 11:58 pm

I've done it and don't recommend it. As SoS surmised, it has its drawbacks. Say you wind up with a bunch of such blocks for different pages and you decide to change the cellpadding or go with a css-based design. That means editing the blocks by hand or writing a custom script that loops through all ...

Post Posted: August 25th, 2005, 1:32 pm

Maybe something like this: [code]<html> <head> <title>Untitled</title> <script type="text/javascript"> <!-- function foo(checkAll) { var boxes = document.forms[0]["checkbox[]"]; for(var i=0; i<boxes&...

Post Posted: August 22nd, 2005, 3:59 pm

Just to expand on what SoS said: getimagesize will return an array containing the width, height, type and an attribute string that you can use in an img tag: [php]<?php list($width, $height, $type, $attr) = getimagesize(""); print "width: " . $width . "<...

Post Posted: August 22nd, 2005, 6:29 am

I don't think you can use a div to hide a table row. Try wrapping the div or a span around the text inside the table cell:
Code: [ Select ]
<td colspan="2"><div id="referral_yes">If they click yes, then show this bit. Otherwise don't.</div></td>
I thin...

Post Posted: August 20th, 2005, 2:00 pm

If you want it to be associative:
PHP Code: [ Select ]
$arr1 = array ( "name1", "name2", "name3" ); $arr2 = array ( "value1", "value2", "value3" ); $combined = array_combine($arr1, $arr2); print("<pre>"); print_r ( $combined ); print("</pre>");
otherwise: [php]$arr1 = array ( "name1", "name2", "na...

Post Posted: August 20th, 2005, 6:43 am

Double check that you have javascript enabled. The site uses an onclick event on that link to show a hidden element. Since they put a # in the href of the link and didn't return false to cancel the click event, your browser will probably jump to the top of the page if you have scrolled down at all. ...

Post Posted: August 18th, 2005, 9:16 am

I'm not an expert but I think you can bind Apache and MySQL to the localhost ip - that's what I did and I don't show anyone else trying to gain access when I check the logs (and I used to before for apache anyway). I'm not sure if that's what you mean when you say you set the ini files. I ...

Post Posted: August 18th, 2005, 8:41 am

I think this will work for the checkboxes. I'm not sure exactly what you want to do with the textboxes, but I think you should be able to use a similar approach to get access to the arrays and loop through them or send them to a function. [code]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0...

Post Posted: August 18th, 2005, 6:26 am

If it's an associative array then you could use the array_keys and array_values functions to separate them: [php]$arr1 = array ( "name1"=>"value1", "name2"=>"value2", "name3"=>"value3" ); $name_array = array_keys($arr1); $val_array = array_values($arr1); print("<pre>"); print_r ( $nam...

Post Posted: August 17th, 2005, 4:06 am

Try adding target="_blank" inside the form tag.

Post Posted: August 16th, 2005, 9:15 am

I'm thinking of adding a new php book to the list: PHP 5 Power Programming . To download the book for free as a pdf file click on downloads under the More Information heading and a div will appear with the download link. I haven't actually had a chance to look at the book except to verify that the w...

Post Posted: August 14th, 2005, 8:15 pm

The php manual entry for strings has examples of single quoted, double quotes and "heredoc" syntax (<<<),

Post Posted: August 14th, 2005, 9:15 am

W3Schools has some browser stats that may be helpful.

Post Posted: July 3rd, 2005, 10:38 am

I think the closest thing to your "miracleCommand" in javascript is the eval function. I'm not sure whether it will work exactly as you want though.

Post Posted: July 3rd, 2005, 6:39 am

Beatrix Potter is probably the most famous Beatrix in literary terms. She was the author of "Peter Rabbit" and other books, many of which are now considered classics. Beatrix Potter was English and another English author, Margaret Lane, wrote a book about her called "The Tale of Beatrix Potter" in 1...

Post Posted: June 28th, 2005, 8:27 pm

maybe this:

Code: [ Select ]
document.form1.elements[formField].value = valuetopaste;

Post Posted: June 28th, 2005, 8:22 pm

For Yahoo's webmail pages that rely on javascript they use a meta tag inside a noscript tag to direct the user to a page telling them that they have to enables javascript. Something along the lines of this: [code]<noscript> <meta http-equiv="refresh" content="2;url=http:/...

Post Posted: June 27th, 2005, 2:34 am

a glove

Post Posted: June 25th, 2005, 10:43 pm

Heh, just gave it a try and came across this cartoon.

Post Posted: June 25th, 2005, 6:33 pm

Code: [ Select ]
oSQL = "Execute sp_InsertComment '" & txtTime & "','" & txtName & "','" & txtEmail & "','" & txtURL & "','" & txtEntry & "'," & postID
Where is txtEntry coming from on this line? If t...

Post Posted: June 25th, 2005, 2:10 am

what can they do if i just do it??? They can suspend or terminate your account per their terms of service agreement with you. I don't think you're going to have much luck finding paid advertising for a Geocities site. All the the large advertising programs that I know of require you to own your own...

Post Posted: June 25th, 2005, 1:45 am

The whole concept of these "autosurf" programs seems shady to me. I don't know too much about it, but from looking at some of these websites just now it appears that they offer to sell fake traffic to make websites appear more popular then they really are. One of the sites even attempted to use its ...

Post Posted: June 24th, 2005, 12:08 am

I think the item collection is a list and it's being referred to correctly, but there is a problem in the img tag.
Code: [ Select ]
shoud be
Code: [ Select ]
I also don't see how the 1x1 will work as RD said, so to test it I changed it to...

Post Posted: June 21st, 2005, 3:57 am

It depends on how you want to do it. If you want to put an email address in the action part of the form you would preface it with mailto: as in . This method is not recommended for a number of reasons, including the fact that many people use webmail and don't have a defau...

Post Posted: June 20th, 2005, 2:41 am

For the first problem, have you tried using onclick instead of onchange?

Post Posted: June 14th, 2005, 1:58 pm

I was wondering if anyone was having trouble sending outgoing message from Hotmail - particularly from Hotmail to AOL. I have an aunt who recently got a computer and started using email, but now whenever she tries emailing my cousin on AOL she says she's getting a return message telling her that the...

Post Posted: May 30th, 2005, 4:11 pm

IE doesn't support attribute selectors. :(

Post Posted: May 27th, 2005, 11:55 am

SAT stands for Scholastic Aptitude Test, at least it did when I took it quite some time ago. I've also heard it referred to as Scholastic Assessment Test, but as far as I know the name hasn't officially changed. You can find out more about it at Driver's license require...

Post Posted: May 22nd, 2005, 4:54 am

I don't see any major problem with the javascript concatentation. When I try putting "test" inside a variable called "cookString" and running the script I get this: [code]<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"width="800" height="430" codebas...

Post Posted: May 22nd, 2005, 1:27 am

The a tag wrapped around that image has target_top - you need to change that to target="_top" or target="_blank" depending on what you want it to do.

Post Posted: May 21st, 2005, 1:55 pm

I don't think it's the padding but the margin on the ul that's making it look different in IE. I think you should try adding margin: 0; to the style for the ul. In Internet Explorer the :hover pseudo class only works with links, so I think you would have to try a javascript solution for the hover ef...

Post Posted: May 21st, 2005, 12:13 am

Code: [ Select ]
  list($user, $domain) = split(“@”, $email,2);
  $domainstatus = checkdnsrr($domain, “MX”);
  1.   list($user, $domain) = split(“@”, $email,2);
  2.   $domainstatus = checkdnsrr($domain, “MX”);

Those don't look like normal double quotes to me.

Post Posted: May 18th, 2005, 10:03 am

I came across this awhile back and can't remember where to credit it to, but it's supposed to getElementsByClassName: [code]function getElementsByClassName(clsName) { var i, matches=new Array(); var els=document.getElementsByTagName('*'); for(i=0; i<els.le...

Post Posted: May 17th, 2005, 6:46 pm

That function getElementsByTagName is going to return more than one element, so you need to loop through them and assign the new className to each individual element like this: [code]function changeclass() { var cells = document.getElementsByTagName("TD"); for(...

Post Posted: May 17th, 2005, 9:40 am

If you're using Apache, then I think you could use a HEADER.html and various config options to control the appearance to some extent. There's an article here that has an example.

Post Posted: May 14th, 2005, 1:50 pm

getElementById is going to return a reference to an individual element, not to the array that the browser creates when you give a group of elements the same name. Also id's must be unique unlike names. You don't need to test for document.all to access the forms collections, so I don't think you'll h...

Post Posted: May 13th, 2005, 9:37 am

You had the function for validEmail embedded in the testform function, which is probably not a good idea. Also the submitIt function was being called from onselect of the textarea, and I'm not sure that's a good idea either. For validation purposes I think you would want to have all your code called...

Post Posted: May 13th, 2005, 8:55 am

Heh, thanks. :)

I like the fish hook rollover images by the way. Don't forget to change the same script tag on your other pages too - you only need the one script file, but all the pages that use the rollover code will have to reference it correctly.

Post Posted: May 13th, 2005, 8:41 am

By the way you can also use a relative path instead of an absolute path. If the .js file is in the same directory you can just use src="CSScriptLib.js"

Post Posted: May 13th, 2005, 8:39 am

You only need to upload one, and that's the right one. I took a look at it and the changeImages function is inside it. However, when I look at the test html page it still has my spelling error echohost instead of ecohost, so make sure that you've made the change and uploaded the changed html file as...

Post Posted: May 13th, 2005, 8:23 am


I misread the domain name

Post Posted: May 13th, 2005, 8:14 am

GoLive's rollover script uses a function called changeImages that must be in the file called CSScriptLib.js - if you view the source of the page you'll see the following link to the .js file: [code]<script type="text/javascript" src="file:///Users/nwdc/Library/Preferences/Adobe...

Post Posted: May 13th, 2005, 2:01 am

I noticed that your onmouseout handler function takes two parameters, but you're only passing it one argument. I think where you have:
Code: [ Select ]
you want something more like this: [code]onmouseout="hideOnMouseLeave(this, event)...

Post Posted: May 10th, 2005, 1:43 am

I believe it was Joebert who turned me on to this rather cool syntax highlighting javascript. You put the code in a textarea that is styled and highlighted with syntax for several different languages supported: ... mples.aspx

Post Posted: May 9th, 2005, 2:15 pm

I was reading a little more about this, and apparently Mozilla is recommending disabling javascript before visiting untrustworthy sites until the patch comes out because of the two flaws.

This is the official advisory: ... 05-42.html

Post Posted: May 9th, 2005, 1:30 pm

There's a hell of a lot more than two people working on Firefox. I posted this to alert people to turn off the feature in question. If you don't like it, use something else. It's not like you don't have a choice.

Post Posted: May 9th, 2005, 12:37 pm

The advisory explains that a successful attack involves exploiting two flaws: one involves tricking Firefox into thinking a software installation is being triggered by a whitelisted site, while the other relies on the software installation trigger not sufficiently checking icon URLs containing Java...

Post Posted: May 8th, 2005, 10:24 pm

The only problem that I noticed was on the second website where some of your image paths have a backwards slash instead of a forwards slash. These images didn't show up in the Firefox browser. I was a bit surprised that they do show up in Internet Explorer. Where you have image paths like: [code]src...

Post Posted: May 7th, 2005, 10:52 pm

I went back to the "classic" menu about 2 minutes after first loading xp, so I'm not sure if this applies to the other one or not. Go to : Start > Settings > Taskbar and Start Menu Click the Start Menu tab, click "Customize" and remove the check from "Use Personalized Menus" at the bottom of t...

Post Posted: May 7th, 2005, 10:20 pm

I'm not sure why the onload function call was inside the body tag, so I removed it. Also you declared your variables "Multiplicationed" etc as local variables inside the calculateTotal function as well as local variables inside "addMulti" etc functions. In other words, setting Muliplicationed to 1 i...

Post Posted: May 7th, 2005, 2:22 pm

Take a look at file_get_contents and file. One of those should do what you want.

Post Posted: May 6th, 2005, 2:20 pm

ATNO/TW turned me on to this rather cool DTHML Tooltip script, which is pretty versatile. Worth a look anyway.

Post Posted: May 6th, 2005, 2:11 pm

I don't think inline is an option here anyway. If I recall correctly, there is no inline keyword in Java unlike in C++.

Post Posted: May 6th, 2005, 12:46 am

Dell UltraSharp 1901FP

Post Posted: May 4th, 2005, 4:52 pm

Yeah, I understand that it doesn't release all the memory until you close all instances (which I do if it gets too bloated), but it does release memory as you close instances and tabs - just not all of it. Only about half in the test I just performed. I'm aware of the webstart situtation too, but I ...

Post Posted: May 4th, 2005, 4:21 pm

I haven't had too many problems opening a lot of windows and tabs (just an occasional freeze), but I have noticed that FF doesn't seem to clean up afterwards when I close them. For example, if I start out with Yahoo and about 20 M of memory usage and then open four windows in which I open dozens of ...

Post Posted: May 4th, 2005, 2:19 pm

For me, the startup time is slow for a cold start, but I think IE is always going to have an advantage there because of it's OS integration. Maybe I'm getting more patient as I get older, but it's never been a big issue for me. I did find the download window a little annoying, but I like that I can ...

Post Posted: May 3rd, 2005, 9:04 am

I'm using FF 1.0.3 on WinXP w/Web Developer and IEView extensions. Do you and your boss have any of the same extensions installed? Perhaps you could try disabling them one at a time, and see if it's a problem related to an extension. I tried searching Google, but the only thing I could find was a bu...

Post Posted: May 3rd, 2005, 8:28 am

That's odd. I don't get the same results when I try it. I tried shrinking the window down slowly and watched the wrapping and couldn't replicate the problem.

Post Posted: May 2nd, 2005, 6:48 pm

Oh, I never said that it was a bug, merely that it had the potential to create bugs if you're not careful. Consider that if you create the array using the Array constructor and then use any key values like 'join', 'reverse' etc, then those methods are no longer available. I admit it's an unlikely sc...

Post Posted: May 2nd, 2005, 2:25 pm

I think that's pretty much the gist of it. I was looking through the Core JavaScript Guide and came across some things that would seem to confirm it: An array is an ordered set of values associated with a single variable name. Properties and arrays in JavaScript are intimately related; in fact, they...

Post Posted: May 2nd, 2005, 12:48 am

Not I, although I always export them before updating just in case.

Post Posted: May 2nd, 2005, 12:29 am

Yes, I understand that arrays are objects, which makes sense after all (my use of the term "construct" was not a good choice). What struck me as odd is the behavior. It might accidentally lead to something like this: [code]x = new Array(); x[0] = "zero"; x[1] = &quo...

Post Posted: May 1st, 2005, 8:05 pm

I'm not sure, but I think reaper is looking for a dynamic listbox example where the values in the second listbox change according to the value selected in the first listbox. If that's the case then try searching google for dynamic listbox javascript , and you should find some examples. You could als...

Post Posted: May 1st, 2005, 7:45 pm

No, geocities doesn't support php. However, there are a few places that do provide free hosting with php support, although they seem to shrinking. Try these: T35 Hosting - no mysql or perl with the free hosting package apparently, but php is supposed to be supported. Cool Free Pages - claims to offe...

Post Posted: May 1st, 2005, 7:35 pm

curiouser and curiouser: [code]x = new Array(); x['key'] = 'd'; alert("toString = " + x.toString()); // toString = alert("x.length = " + x.length); // x.length = 0 x[0] = 'e'; alert("toString = " + x...

Post Posted: April 25th, 2005, 12:45 am

Javascript isn't a secure way to do this since anyone can view the external file and see the username/password combo. Assuming you know this and still wish to proceed, you could set the function to return false if you're not navigating away from the page: [code]function validate_entry() ...

Post Posted: April 23rd, 2005, 11:25 pm

If I recall correctly, leftmargin, topmargin, marginwidth, and marginheight are all proprietary attributes and not a part of any standard, which is why they won't validate. I think the first two were introduced by MS for IE and the second pair by Netscape for Navigator. You'll often see all four ins...

Post Posted: April 22nd, 2005, 3:08 pm

REQUEST_URI is only going to hold a forward slash at the topmost directory rather than the whole url. I don't think there is a predefined variable for REQUEST_URL, but perhaps you could make one like this: [php]<?php $url = 'http://' . $_SERVER['$HTTP_HOST'] . $_SERVER['REQUEST_URI']; if ($url ==...

Post Posted: April 20th, 2005, 2:02 pm

Have a look at the php manual entry for session_destroy and I think you'll find examples of what you're trying to do:

Post Posted: April 17th, 2005, 3:00 am

Not sure if it's the same problem but this was discussed recently:

Post Posted: April 15th, 2005, 4:35 pm

This can be a bit tricky depending on the details. This thread discusses some of the issues involved.

Post Posted: April 10th, 2005, 1:21 pm

That's because when you're logged in the sql query is limited to 1, but when you're not logged in the sql in the else is limited to 10. If you don't want it limited then remove the limit clause as Scorpius suggested. If you do want it limited to 10 as in the else clause just change the limit clause ...

Post Posted: April 10th, 2005, 12:56 pm

I've only seen this in reference to Mozilla's use of XUL, so I'm not sure if it's the same thing in Outlook. As I understand it, in Mozilla the chrome files control the user interface of the application itself rather than the presentation of the content of a document. I've only read about it a littl...

Post Posted: April 8th, 2005, 4:56 am

What language? In php I believe it's $_SERVER['SERVER_NAME'].

Post Posted: April 5th, 2005, 5:10 pm

For a type="text" input element you can use the maxlength attribute:

Code: [ Select ]
<input type="text" name="email" maxlength="160">

for textareas I think you would have to go with a javascript solution.

Post Posted: April 5th, 2005, 5:04 pm

The problem is that the text field in the second column is being created as a text node and it needs to be created as an input element. Once it's created as an input element you can set its attributes and then append it. I did a quick fix and changed the createNewRowInTable method to take this into ...

Post Posted: April 5th, 2005, 2:59 pm

If the name of your file form element is name then wouldn't its name be $_FILES['name']['name] instead of $_FILES['file']['name'] ?

Post Posted: April 5th, 2005, 10:15 am

A quick google search turned up this, but it's all Greek to me.

Post Posted: April 5th, 2005, 9:56 am

Integrated Database Management System

Post Posted: April 5th, 2005, 9:48 am

I'm guessing that "access-date" is a misspelling of "access-data" like hostname, username and password.

Post Posted: April 1st, 2005, 5:45 am

This may have changed since I last used Dreamweaver, but there used to be a file called FTPExtensionMap.txt in the Configuration directory of DM that determined which mode was used for different types. Try looking for this text file and checking the extension of the file in question to make sure it ...

Post Posted: March 31st, 2005, 9:38 am

I didn't really look at the logic before, but I'm thinking that you want to be checking for NOT emtpy:

Code: [ Select ]
if( !empty($error1) || !empty($error2) || !empty($error3) )

Post Posted: March 31st, 2005, 9:17 am

In the middle of the javascript in the head portion of those pages you've got a script tag that points to an external .js file called animate.js, but the path is still set to the hard drive path on your pc and not the online path. Upload it if necessary and change the path.

Post Posted: March 31st, 2005, 9:04 am

You're passing the result of the boolean condition to the empty function, so it's not checking each variable to see if they are considered empty.

Code: [ Select ]
if( empty($error1) || empty($error2) || empty($error3) )

Post Posted: March 30th, 2005, 5:01 pm

If you want to attach a function to the onload handler then you need to do it without the parentheses (unlike inside the body tag). Otherwise it will call the function immediately and try to assign a return value to the handler rather than waiting until the window has loaded and calling the function...

Post Posted: March 29th, 2005, 11:01 pm

I think I know what you mean, although I was seeing the space on both firefox and ie. I fooled around with it and I think this may do the trick. For IE setting the display of the hide class to inline got rid of the space and for firefox setting the padding-top of the the ul contained inside the li o...

Post Posted: March 29th, 2005, 10:31 pm

All the examples I have looked at used javascript. I think that the reason that most of the examples I have seen use iframe is because both Mozilla (1.3 and up) and IE (5 and up I think) support putting a document in design mode making the contents editable and the use of commands for creating links...

Post Posted: March 29th, 2005, 10:01 pm

Try adding list-style-type:none to your hide class. That should remove the bullet.

Post Posted: March 29th, 2005, 1:20 pm

I don't think those kind of "rich text editors" actually use textareas. Most of the ones I've looked at use an iframe to show the formatted text. You can find a lot of examples, and I think a tutorial or two, by searching google for rich text editor.

Post Posted: March 29th, 2005, 12:35 pm

I don't think you need javascript at all here. If you want to use an image to submit a form it would be better to simply use input type="image" . By default an input of type image acts as a submit button does, so there is no need for an onclick and the user doesn't need to have js enabled to use the...

Post Posted: March 29th, 2005, 12:16 pm

You can drop out of php mode inside a loop and stream normal html back to the browser before dropping back in to close the loop, so that's not a problem. I don't think closing the mysql connection after you've already retrieved the query resource is a problem either unless you're going to try to que...

Post Posted: March 26th, 2005, 12:26 pm

Thunderbird is updated to 1.0.2 as well.

Post Posted: March 22nd, 2005, 9:25 am

I didn't see a trojan, but I did see a lot of annoying popups, including some that got through my popup blockers on both Firefox and IE. The popups seem to do a lot of focusing and refreshing and generate a lot of "clicking" sounds on IE, and some loaded java applets or tried to load activeX control...

Post Posted: March 21st, 2005, 10:36 am

I thought The Da Vinci Code was vastly overrated, although by the time I got around to reading it my expectations were perhaps too high. I was also familiar with the historical theory that the fictional plot is based upon, so there were no real surprises for me. I thought Deception Point was somewha...

Post Posted: March 20th, 2005, 12:36 pm

:new-bday: :beerchug:

Post Posted: March 20th, 2005, 12:28 pm

You need to use at least two equal signs to test for equality. A single equal sign will assign the value to the variable and return whatever the assigned value was. So if you had:
Code: [ Select ]
if($x = 3) {
3 would be assigned to the variable x and the statement would evaluate to if(3). ...

Post Posted: March 18th, 2005, 7:53 am

If you can't use .htaccess and you want to prevent people from seeing the files list for a directory you could try adding a simple index.html file to the directory in question, assuming index.html is the default document type. It wouldn't "protect" the directory, but it would prevent them from seein...

Post Posted: March 17th, 2005, 7:43 am

It's a legal holiday here in Suffolk County, Boston. Actually, the holiday is "Evacuation Day" - although I don't know how many people know or care about that. Rather convenient of those Brits to leave on March 17.


Post Posted: March 16th, 2005, 6:10 pm

When you enclose a string with single quotes and the string contains variable names the php interpreter will make no attempt to expand them and will just print the name of the variable as is. Try using double quotes on the string you're printing and escaping any double quotes inside it with a preced...

Post Posted: March 16th, 2005, 4:44 pm

Heheh, beat me by a minute :) // edit If you put a border="1" on that inner table I think you'll find that the top td is taking up most of the extra space. If you want to stick with the table, I think you could put something like height="40" or so on the td with the marquee tag to keep it from expan...

Post Posted: March 16th, 2005, 4:41 pm

You have two html style comments in your style sheet:

Code: [ Select ]
<!-- ////MAIN -->
<!-- ////NAVIGATION -->
  1. <!-- ////MAIN -->
  2. <!-- ////NAVIGATION -->

try changing these to css style comments

Code: [ Select ]
/* Main */
/* Navigation */
  1. /* Main */
  2. /* Navigation */

and see if that resolves your padding/margin issue.

Post Posted: March 16th, 2005, 12:49 pm

You can use innerHTML to change the contents of something like a span tag with an id . You could put the span tag wherever you like. [code]<html> <head> <title>Untitled</title> <script type="text/javascript"> <!-- function loadText(theText, theId) &...

Post Posted: March 14th, 2005, 6:47 pm

[code]<form action=""> <select onchange=" = this.options[this.selectedIndex].value"> <option value="">-- Select --</option> <option value="one">one</option> <option value=...

Post Posted: March 14th, 2005, 12:57 pm

If all your images are the same size you could set the height and width attributes in the img tag to the values in pixels or if the heights and widths vary you could remove them entirely.

Post Posted: March 14th, 2005, 10:57 am

I use the context menu all the time, so I don't like any kind of right-click prevention and won't remain on any site that uses such nonsense unless they have something I really need (which has yet to happen). As soon as I see it I take a peek just to see what is so damn special, so I think it just e...

Post Posted: March 14th, 2005, 10:46 am

They have some java applets that will test your speed.

Post Posted: March 13th, 2005, 10:30 pm

I don't think those switch statements are overly long. Theoretically, you can call a function if you have its name stored in a variable, but I think you would want to be real careful doing that with user submitted data. [code]<html> <head> <title>Untitled</title> </head>...

Post Posted: March 13th, 2005, 4:25 pm

Good idea. I've made a few changes to the code at the top of view.php: [code]<?php $name = (isset($_POST['theName'])) ? $_POST['theName']: ""; $comment = (isset($_POST['theComment'])) ? $_POST['theComment']: "&...

Post Posted: March 13th, 2005, 1:05 pm

Well, perhaps you might've been a little more clear about what you're asking.

Not to worry though I won't take any more of your questions off-topic.

Post Posted: March 13th, 2005, 1:01 pm

Sorry, I should have paid more attention to the error you posted. When I use the example you posted, I don't get an error message; I get Success, wrote Array to file test.txt with a value of 1 always being written.

What version of PHP are you using? The manual entry for fprintfsays it is PHP 5.

Post Posted: March 13th, 2005, 11:19 am

I've never used that software, but I would think so. I can see the images both ways: ... 6/logo.gif ... 6/logo.gif

Post Posted: March 13th, 2005, 11:12 am

I was doing a little reading about fscanf in the manual, and it says that if you don't pass the optional third argument, then the value returned will be an array. I think you're getting the error because you're passing an array to fprintf, although I thought the manual was a bit unclear on this. Try...

Post Posted: March 13th, 2005, 10:41 am

The subdomain is the same as so I guess you would just put forum or maybe forum/ with the trailing slash.

Post Posted: March 13th, 2005, 9:39 am

Heh, it also says it will be powered by two mammoth helium balloons and an anti-gravity reaction motor. Wonder where I can get me one of them.

Post Posted: March 12th, 2005, 7:38 pm

I'm no CSS guru, but when I looked at the CSS2 specs for the width property it indicated that it applies to all elements except non-replaced inline elements like span and a, as well as table rows and row groups. That would seem to imply that Moz is following the specs while IE is not, which would ha...

Post Posted: March 12th, 2005, 6:51 pm

Have you tried adding display:block to your a style definitions? Mozilla won't apply the width to inline elements, so the a inside the div is only as large as its contents.

Post Posted: March 12th, 2005, 7:13 am

I don't know whether putting the explode in the while condition is a good idea. Try this: [code] $lines = explode("\n",$comment); $numLines = count($lines); $counter = 0; while($counter < $numLines) { $line = rtrim($lines[$counter]); echo $co...

Post Posted: March 12th, 2005, 6:39 am

The lines should end with a newline character, so you could try exploding the string that the textarea submits into an array using the newline as a separator and then cycle through the array in the usual manner:

Code: [ Select ]
$lines = explode("\n",$yourTextAreaVar);

Post Posted: March 11th, 2005, 5:13 pm

I like it too. I've been partial to themes like that ever since Ozzu turned me on to the dark side. The css menu is an improvement over the old rollover menu, but I noticed that there is a wee error in the style sheet where you have margin-left, margin-right: 5px; in the body part of the external st...

Post Posted: March 11th, 2005, 3:23 pm

You've got a semicolon after the if statement just before the opening curly brace that should be giving you an error I would think. I think you're also missing the underscore in the $_SESSION superglobal name. [code]if(!isset($_SESSION)){ header("location:login....

Post Posted: March 11th, 2005, 11:06 am

Ok, I spent very little time on this, so it's probably not very good. add.php [code]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Add Entry</title> </head> <body> <form action="view.php" m...

Post Posted: March 11th, 2005, 9:12 am

Reminds me that I need some new specs. I only use them for driving, but I definitely need to update. :)

Post Posted: March 11th, 2005, 8:47 am

I think maybe sprintf() will do what you want. Scroll down to example 8 on the manual page.

Post Posted: March 11th, 2005, 7:33 am

Ok, that form is a tad confusing, so I'm not sure this will solve all your problems, but it's definitely something you'll need to do: I noticed that you've declared all your cost variables as local variables with the var keyword inside the functions themselves. This means they won't be available aft...

Post Posted: March 11th, 2005, 6:15 am

innerText won't work in Mozilla/Firefox etc. I use innerHTML instead.

Post Posted: March 11th, 2005, 5:30 am

Accoring to the PHP documentation for is_int() you must use is_numeric() on form data as it is always a string. That would still not make sure it's an int since floating point values will pass the test, but you could use casting to make sure you don't let anything other than an int through. In fact ...

Post Posted: March 10th, 2005, 9:51 am


Code: [ Select ]
SELECT * FROM activity WHERE datestart <=now()

Post Posted: March 9th, 2005, 3:48 pm

Interesting that both methods of referring to the drop down's value worked. I noticed that the other day when I did it by accident too. I'm wondering if that's something that only works with newer browsers or not, but I haven't had a chance to really test it yet. Just for the record, you can use get...

Post Posted: March 9th, 2005, 3:24 pm

or add

Code: [ Select ]
a img {border:none}

to your style sheet and it will do them all from one place.

Post Posted: March 9th, 2005, 3:21 pm

The place value is off because it's concatenating the shipping value as a string. You can use the parseFloat() method to make sure it adds the value as a number rather than concatenating it: [code] var ship = document.theForm.Shipping_Method.options[document.theForm.Shipping_...

Post Posted: March 9th, 2005, 2:15 pm

I think Mr. Wiggles has the right idea. I noticed there is a class applied to the drop-down options that sets the text size to 9px, while there is no class applied to the select element that contains the options. I can't remember the details of appying css to drop-downs off the top of my head, but i...

Post Posted: March 9th, 2005, 3:40 am

Thanks everyone :)

Post Posted: March 8th, 2005, 3:44 pm

With the discussion of the box model in this thread I think something was overlooked. Although they do use different box models, there is another difference responsible for much of the major discrepancy in the original code versus the resulting displays. You could change the width of the spans to 15...

Post Posted: March 8th, 2005, 12:40 pm

That was actually the second thing I tried but Firefox won't do it and the console gives the message "Scripts may not close windows that were not opened by script," while IE will do it but the user is required to OK the action before it will close the opener, which prevents any kind of seamless tran...

Post Posted: March 8th, 2005, 9:54 am


Post Posted: March 8th, 2005, 9:44 am

I don't think so. You would have to use the function at some point as far as I know. Theoretically you could call the function and have it open in the same window, appending something to the url and checking for it so it didn't keep opening in an infinte loop, but it didn't w...

Post Posted: March 8th, 2005, 6:14 am

This question comes up a lot. You can scroll down the topics and find one that was asked recently or search for fader.js and you'll find the necessary information.

Post Posted: March 7th, 2005, 9:35 pm

What version of MySql are you using? I was just looking at the MySql manual and it says "If you specify the ON DUPLICATE KEY UPDATE clause (new in MySQL 4.1.0)...."

Maybe one of our MySql gurus will be along later with more info.

Post Posted: March 7th, 2005, 9:25 pm

Praise from Caesar!

Thanks :D

Post Posted: March 7th, 2005, 8:10 pm

If those 32 checkboxes are the only checkboxes in your form, maybe you could cycle througth all the form elements, check their type for checkbox and whether they're checked and if you get exactly four have the js function submit the form. That way it would be impossible for the form to submit withou...

Post Posted: March 7th, 2005, 7:49 pm

What error are you getting? I noticed that there is an extra double quote after the semicolon. Maybe you could try: [code]$query = mysql_query("INSERT INTO logged (username,time) VALUES ('$userid','$time') ON DUPLICATE KEY UPDATE time='$time'") or die(mysql_erro...

Post Posted: March 7th, 2005, 3:42 pm

Here's a bit of a blunder:

Bert, from Sesame Street, appears on posters carried by supporters of bin Laden.

Post Posted: March 7th, 2005, 1:42 pm

613flavah wrote:
Hey craig what's that checking website? Do you happen to remember the URL? I'd like to check what mine is lol

There's one here.

Post Posted: March 7th, 2005, 1:37 pm

I forgot to add this thread which is the main collection of php resource links. I just edited it to add the installation kits.

Post Posted: March 7th, 2005, 1:20 pm

Congratulations! :iconthumbleft:

Post Posted: March 7th, 2005, 12:06 pm

These threads might help you out: They cover installation packages for apache/php/mysql. If you're going to use Apache web server you won't need IIS. I think it's also possibl...

Post Posted: March 7th, 2005, 6:10 am

Maybe you could suggest that people who can't contribute financially might link their websites to yours, increasing your backlinks and making it more likely that people who can contribute will find you.

Post Posted: March 7th, 2005, 5:53 am

I use the W3C html validator and css validator during as well as after the coding process to reduce the chances that I'll have problems with different browsers. I use the web developer toobar extension for Firefox which allows me to right-click on a page and validate both html and css as well as tes...

Post Posted: March 6th, 2005, 1:59 pm

Joni1 wrote:
But when the link goes to other page, it doesn't work... :?:

You will have to add the script tag that references the fader.js file to all the pages that you want to have the effect.

Post Posted: March 6th, 2005, 1:13 pm

I'm glad it worked out. :)

Post Posted: March 6th, 2005, 11:09 am

I may be misunderstanding this entirely, but do you mean that you've got the data for the image stored in the db and you need a way to get it to display in the image tag? I think you would need to use a separate script for display that you would call in the src attribute of the img tag. When the bro...

Post Posted: March 6th, 2005, 10:52 am

Ok, sorry I misunderstood. I'm guessing that you have member variables for the numerator and denominator already, so maybe you could add a method like this:

Code: [ Select ]
public String toString()
    return new String(numerator + "/" + denominator);
  1. public String toString()
  2. {
  3.     return new String(numerator + "/" + denominator);
  4. }

Post Posted: March 6th, 2005, 10:00 am

FileZilla has a server as well as a client, although I've only used the client myself.

Post Posted: March 6th, 2005, 9:17 am

I had to do a similar project when I took Java in school. If someone here does it for you, it won't really be to your benefit. The only way you learn to code in a language is by doing it yourself. Books, teachers and helpful advice all have their place, but in the end you've got to roll up your slee...

Post Posted: March 6th, 2005, 8:39 am

I forgot the closing comment just before the /script tag

Code: [ Select ]
  1. //-->
  2. </script>

Sorry about that. :oops:

Post Posted: March 5th, 2005, 10:23 pm

I was thinking that maybe timestamps might be easier to use for the comparison since they hold the number of seconds from a common past date. If the date is stored in the database in 0000-00-00 format then the unix_timestamp function of msyql could be used to convert it to a timestamp for the beginn...

Post Posted: March 5th, 2005, 9:16 pm

I'm not sure if this is what you mean or not, but it's kind of hard to tell exactly what you need from fragments. I made some changes. Since the show functions are doing basically the same thing, I combined them into one and varied the value that was passed into it. For simplicity's sake, I made a s...

Post Posted: March 5th, 2005, 4:49 pm

It's not a javascript, but a "page transition effect" - basically a meta tag that only works with IE. Try searching for that and I'm sure you'll find it.

Post Posted: March 5th, 2005, 4:45 pm

According to the website they offer a free form mailing service that you can sign up for along with their free hosting deal. Once you have done that you can make your form and upload it. You will have to add some hidden tags for it to work with their free email service, but t...

Post Posted: March 5th, 2005, 3:27 pm

I understand that you're new, and I'm not trying to be mean. I've already tried one idea, but it didn't work, and I'm still trying to think of a solution. Saturdays are a little slow around here, so it may take awhile before you get an answer.

Post Posted: March 5th, 2005, 3:16 pm

It's fine to ask for help, but you only need to post in one of the forums. If you post in the wrong forum, the moderators will move it for you. They will delete your extra posts when they get the chance.

Post Posted: March 5th, 2005, 2:39 pm

Well, you upload that fader.js file to your website the same way you do with your webpage files - usually with an FTP program that transfers files or through a form that your webhost offers for uploading. You would upload the file to the same place that you keep your webpages, and then edit your htm...

Post Posted: March 5th, 2005, 2:16 pm

By the way, I think you can safely ignore the validator's complaints about the scrollbar properties, since they are an IE-only feature, and the validator just doesn't recognize them.

Post Posted: March 5th, 2005, 2:14 pm

They don't work for me at all in FireFox, although in IE all but the credits link seemed to work. I noticed a couple of things though: you don't have the # sign in from of your hex values like 787878 and this may be why it isn't working in FF. You also have an opening and closing html tag in your ex...

Post Posted: March 5th, 2005, 1:45 pm

I think the only file file you need for the links is fader.js . If you put that file in the same directory with your html files then you just add the script tag to include it anywhere in the head portion of your html file. [code]<head> <title>My Page Title</title> <script type=&...

Post Posted: March 5th, 2005, 1:11 pm

I'm pretty bad at designing myself, but I have stumbled across a few template sites that might give you some ideas. The most recent one was Open Source Web Design . They have over a thousand templates to browse through - many of which are awful, but there are some interesting ones too if you hunt ar...

Post Posted: March 5th, 2005, 10:44 am

I just tried it and it's working except for the title. You need to move the form tag up above the input field for title, so that's it's included in the form.

The php version may not have worked for you because you originally had an extra form tag (I removed the second one in my test file).

Post Posted: March 5th, 2005, 10:01 am

V was a tv miniseries about aliens who look like humans on the outside and claim to be benevolent, but turn out to be pretty nasty.

Post Posted: March 5th, 2005, 9:49 am

I was fooling around with a javascript version: [code]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Untitled</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> &...

Post Posted: March 5th, 2005, 6:17 am

Also RichB's code didn't work for me, so I made it work... Yeah, that's something that I was just playing around with back when I still had register_globals on. On a somewhat related note, Joebert pointed out a pretty cool free javascript, dp.SyntaxHighlighter , that will highlight a number of lang...

Post Posted: March 5th, 2005, 6:06 am

You could try adding this to your style sheet for the poll page that shows in the iframe:
Code: [ Select ]
body { margin: 0px; padding: 0px; }
Also, I noticed that you have the two links for that style sheet in the page - one in the head and one just after the body. I don't think it's ...

Post Posted: March 5th, 2005, 5:57 am

Oy, now I've got that monty python song stuck in my head....

Spam, Spam, Spam, Spam
Spam, Spam, Spam, Spam
Spam, Spam, (Lovely Spam, Wonderful Spam!) Spam, Spam

Post Posted: March 5th, 2005, 5:40 am

You forgot to put parentheses after the function name. Even if you're not passing any arguments to the function you still need to put the empty parentheses or it will throw an error and croak.
Code: [ Select ]
function popup() {
Also I don't think you're supposed to have any spaces in the ...

Post Posted: March 4th, 2005, 7:40 pm

I don't know of anyway to retrieve the text value itself server-side, but if you're willing to depend on javascript, you could assign the text value to a hidden field client-side and then it would be available server-side. [code]<html> <head> <title>Untitled</title> <scrip...

Post Posted: March 4th, 2005, 7:01 pm

That was John Geoghan, who was killed after being transferred out of protective custody in the medium-security prison Concord-MCI in Mass. into a maximum security facility after he apparently aggravated the guards by filing claims that they were abusing him. There's an ongoing investigation into how...

Post Posted: March 4th, 2005, 1:21 pm

Details are pretty scant at the moment, but the emphasis so far seems to be adding "new levels of security ... while maintaining the level of extensibility and compatibility".

I'm not sure I'd interpret that as an endorsement of standards.

Post Posted: March 4th, 2005, 12:51 pm

Some sites use a meta tag to tell robots not to cache their pages. I don't think this affects their page rank in google. I don't think that it would affect their value as far as backlinks go either:

Code: [ Select ]
<meta name="robots" content="index,follow,noarchive" />

Post Posted: March 4th, 2005, 12:19 pm

Mein gott im himmel.....I didn't even know that they had brothels in Germany.

Post Posted: March 4th, 2005, 11:51 am

In your mysql_query() function call, you're passing a variable called $db as the second argument. If this variable stores the result of calling mysql_select_db(), then I think you're passing the wrong value because mysql_select_db() returns a boolean value that indictates success or lack thereof and...

Post Posted: March 4th, 2005, 11:15 am

In the US system, criminal trials are strictly affairs of the state (in the generic sense of state or federal government). So it's always the "The People of California versus..." or whatever. So a person can't start a criminal proceeding in the strictest meaning of the phrase. If you think someone h...

Post Posted: March 3rd, 2005, 4:32 pm

It's amazing how quick some people are to exonerate Jackson and indict the family whose child he is charged with molesting. None of the allegations made in the opening statements about Jackson molesting the child, serving him wine and showing him pornography have been proven yet, but neither have th...

Post Posted: March 3rd, 2005, 2:33 pm

If he's convicted, it will depend on which of the charges he is found guilty on. If he's found guilty of the more serious charges, I think it's pretty certain he will spend at least some time in prison. Pretty much all prisons have isolation units, so that's no big deal. The bastard who killed Lenno...

Post Posted: March 3rd, 2005, 2:07 pm

I forgot to mention this because I don't use it very often, but there is a Control Panel script that comes with apache2triad that allows you to start and stop the servers (and set them to autostart or not). This might be helpful if you don't want to use the Services tool or if you don't have it with...

Post Posted: March 3rd, 2005, 1:49 pm

You can set apache to only listen to requests from the localhost by going into the httpd.conf file in the conf directory (C:\apache2triad\conf on my system) and scrolling down to this section: [code]# Listen: Allows you to bind Apache to specific IP addresses and/or # ports, instead of the defau...

Post Posted: March 3rd, 2005, 2:45 am

One last idea before I go to bed. Try removing the newlines before and after the image tag. IE can be a little hinky about newlines especially after img tags, and I'm not noticing much spacing in FireFox. I just tried this after doing "save page as" and saving it complete to my desktop and it remove...

Post Posted: March 3rd, 2005, 2:32 am

Oh, I see what you mean now. I thought you meant the side spacing between the bars and the table border. It's not as obvious on FireFox, but when I look at it in IE I see the spacing. I'm not sure what's causing that, but if I find it I'll let you know.

Post Posted: March 3rd, 2005, 1:58 am

That's weird. I'm looking at it now, and I don't see the spacing anymore.

Post Posted: March 3rd, 2005, 1:36 am

I don't think it's the css. You've got the cellpadding set to 2, and I think that's what is creating the spacing. Try setting the cellpadding of the table to 0 and see what happens.

Post Posted: March 2nd, 2005, 10:36 pm

That's a DHTML drop down menu combined with a image rollover menu. You can find free examples of DHTML menu scripts here.

The site in question is using this product from Xara.

Post Posted: March 2nd, 2005, 12:29 pm

You'll need a php-enabled web server like apache and probably database software as well depending on which forum software you're using. You can install these locally on your own machine for testing purposes. There are a number of packages that will install apache with php and the popular mysql datab...

Post Posted: March 2nd, 2005, 10:52 am

I'm pretty sure that will put a border around the whole table, but not around the individual cells. I'm not sure how cross-browser compatible this is - I tried it in IE 6, FF, and Opera 7 and it seemed to work ok. [code]<html> <head> <title>Untitled</title> <style type=&qu...

Post Posted: March 2nd, 2005, 10:21 am

I still use Programmer's File Editor for most languages, including php. I've tried a number of the php editors, but I always wind up going back to pfe. I guess you can't teach an old dog new tricks.


Post Posted: March 2nd, 2005, 9:01 am

I'm not an expert on this, but have you tried going into the Internet Options dialog through the control panel or by going to Tool>Internet Options in IE and then clicking the Security tab, then clicking on Trusted Sites, then clicking the Sites button and removing them from the list?

Post Posted: March 2nd, 2005, 6:42 am

You've got backquotes in your third die function call. If you change these to double quotes and print the mysql error you will see that you have an error near "unique" in your sql string. Since "unique" is a reserved work in sql I think you'll have to change that fieldname to something else. Here is...

Post Posted: March 1st, 2005, 6:03 pm

I'm not a lawyer, but I would think that there is a very good chance that the answer to this question is yes. For example, Any person who shall, without the consent of the registrant— (a) use in commerce any reproduction, counterfeit, copy, or colorable imitation of a registered mark in connection w...

Post Posted: March 1st, 2005, 12:22 pm

Using the classic menu, there is a sort button in the customize dialog of the taskbar and start menu properties dialog, but there doesn't seem to be an equivalent when using the xp version, although I believe you can still sort the menu by right-clicking any item in the menu and clicking "sort by na...

Post Posted: February 28th, 2005, 11:56 am

If you mean that you are downloading files in the browser and the download window reads 50-60K, that's probably about right because I'm pretty sure the browsers list downloads in Kilobytes, while communications speeds for ISPs are listed in Kilobits, so if you want your downstream speed in bytes you...

Post Posted: February 27th, 2005, 11:03 am

I found this kind of amusing:

Post Posted: February 26th, 2005, 9:10 am

I tried alerting the values for width and height after grabbing them from document.body and IE came up with 0 for the height when the dtd was included. According to this page IE reallocates some of the properties of document.body to document.documentElement when it goes into strict mode and Mozilla ...

Post Posted: February 25th, 2005, 12:02 am

I agree that the commas should be replace with semicolons, although oddly enough it was working with the commas, which surprised me. That method of referring to elements by name is acceptable though. The id isn't necessary if using document.formName.elementName . I'm not sure it's a good idea to mix...

Post Posted: February 24th, 2005, 10:57 pm

It's called a favicon and this comes up all the time - you can find many threads on it by going to the search page and entering favicon.

Post Posted: February 24th, 2005, 7:41 am

No, he's got the right one I think. Take a look at the second customer review on this page. Apparently the mother of one of the characters was contaminated by radiation from one of the bombs, and he was deformed as a result.

Post Posted: February 24th, 2005, 7:15 am

I have Digital Fortress in paperback, and I'm planning to start reading it today as a matter of fact, but I don't know much about it yet. Give me a day or two, and I'll be able to tell you if it relates to the bomb thing.

Post Posted: February 24th, 2005, 6:35 am

I don't know what it would have to do with Dan Brown's book, but the difference between the Nagasaki and Hiroshima bombs was the type of device used. The Hiroshima bomb used a "uranium gun assembly" that basically fired one block of enriched uranium into another to form a critical mass. That's an ov...

Post Posted: February 24th, 2005, 3:24 am

The gui version of that is pretty cool too - Process Explorer . It shows all active processes in the top pane and the bottom pane can be used to show which dlls the process has loaded or which handles it has opened. You can also right-click the process and get its properties including performance in...

Post Posted: February 23rd, 2005, 5:09 pm

You could download the freeware program handle and run it from the command line as handle "program files\blah\blah"
  • Sort by

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.