FC Jamison 31 Posting Pro in Training Team Colleague

Have you tried using onload to keep the displayNav function from being read until after the page loads?

FC Jamison 31 Posting Pro in Training Team Colleague

Yes...you will need to have PHP and MySQL installed on your server.

I would then suggest using a program such as WordPress (free) for your blog.

FC Jamison 31 Posting Pro in Training Team Colleague

when he stuck

FC Jamison 31 Posting Pro in Training Team Colleague

I found this for you, Ancient Dragon.

http://www.windowsnetworking.com/kbase/WindowsTips/WindowsXP/RegistryTips/Miscellaneous/WhenWindowsWontShutDown.html

I'm not sure it will help...but it's worth a shot.

FC Jamison 31 Posting Pro in Training Team Colleague

Bazmanblue,

In spirit, I tend to agree with you...however, each setting has its own set of policies and procedures.

As this forum is intended as a professional outlet, proper use of pronouns and sentence structure are not just appreciated...they are expected.

As a student, you would be wise to learn that in the real world the ability to present yourself in a professional manner is just as important as the ability to communicate your thoughts.

Please follow the proper etiquette when making further posts to our forum.

FC Jamison 31 Posting Pro in Training Team Colleague

I have posted a tutorial on this site at http://www.daniweb.com/tutorials/tutorial55309.html which may help those in need of a simple dropdown menu along with a working example.

P.S. The example below at http://www.serve.com/apg/workshop/cssMenu.html did not work for me in IE 6.

FC Jamison 31 Posting Pro in Training Team Colleague

Well...when I ran your error through the search engines, I came across these...

http://support.microsoft.com/default.aspx?scid=kb;en-us;821690

http://www.kuhnline.com/index.php?id=92

The first references a problem with XP and old HP printer drivers, and the second references an error that occurs after a specific Windows XP update.

I hope these help.

FC Jamison 31 Posting Pro in Training Team Colleague

Man...my spelling really blew chunks on that one...lol

I need to learn to proof-read before I hit post!

FC Jamison 31 Posting Pro in Training Team Colleague

is the software virusbuster or virusburst?

FC Jamison 31 Posting Pro in Training Team Colleague

Also...it you want to get your doubles to print as numbers instead of E notation, use cout << fixed;

FC Jamison 31 Posting Pro in Training Team Colleague

Straight from the textbook...

When a variable is assigned a number that is too large for its data type, it overflows. Likewise, assigning a value that is too small for a variable causes it to underflow.

Typically, when an integer overflows, its contents wrap around to that data type's lowest possible value...

FC Jamison 31 Posting Pro in Training Team Colleague

I think we lost track of the question...

He wanted to know WHY this happened using an int...not alternatives to using an int.

FC Jamison 31 Posting Pro in Training Team Colleague

Could he use something like

static_cast<int>(string[0]) - 48
FC Jamison 31 Posting Pro in Training Team Colleague

True...the data types and sizes shown are typical on Windows systems, and the sizes and ranges may be different on other operating systems...

You can determine the size of an integer using sizeof(int); .

Still...my explanation is the most plausable...he has simply exceeded to range of an int.

FC Jamison 31 Posting Pro in Training Team Colleague

Did you recently install any new hardware or software, install a new Windows update, or attach an old HP printer?

FC Jamison 31 Posting Pro in Training Team Colleague

This is because of the size limitations of data types.

an int is only 4 bytes...and has a range from -2,147,483,648 to 2,147,483,647

A double uses 8 bytes (and some floating point algorithm that is beyond my comprehension at the moment) and has a range from +/-1.7E-308 to +/-1.7E308.

Your number simply went out of the range of an integer.

Interestingly enough...integers will simply loop through thaie cycle...i.e. if the number is larger than 2,147,483,647 it will restart the count at -2,147,483,648...whild doubles that exceed their upper limit will cause an error.

FC Jamison 31 Posting Pro in Training Team Colleague

Correct me if I'm wrong...but doesn't atoi() require a C-String as the argument?

char input[20];

code...code...code...

atoi(input);
FC Jamison 31 Posting Pro in Training Team Colleague

I remember that...I forget what the limit was, though.

Didn't that have something to do with the limitations of FAT32?

FC Jamison 31 Posting Pro in Training Team Colleague

I found this for you...

http://www.javascript-page.com/cright.html

It can be easily modified to do what you are asking...however anyone moderately familiar with such things can easily run a view source to get the password...and once the new page is accessed, it can easily be bookmarked.

FC Jamison 31 Posting Pro in Training Team Colleague

Stein has posted a tutorial for this here...

http://www.daniweb.com/techtalkforums/thread55459.html

FC Jamison 31 Posting Pro in Training Team Colleague

But you are using a MAC blog program, correct? Or did you program the blog page yourself?

If the blog uses PHP, you would need to ask this question in the PHP forum.

FC Jamison 31 Posting Pro in Training Team Colleague

true

EDIT:

I'm thinking, however, that if his friend's version of XP is not the same as the version installed on his computer...he might run into problems.

FC Jamison 31 Posting Pro in Training Team Colleague

If you have your friend's disk...you can wipe and reformat your hard drive.

You need to back up your important data first, or you will lose all of it.

You will also have to reinstall all of your software.

Given the alternative between that and buying a new computer (which you will still have to reinstall all of your software on) it's certainly worth a shot.

FC Jamison 31 Posting Pro in Training Team Colleague

I can't help with Mac issues...sorry.

FC Jamison 31 Posting Pro in Training Team Colleague

A fresh install?

(i.e. did you reformat the drive first)

FC Jamison 31 Posting Pro in Training Team Colleague

Isn't that what I said?

lol

FC Jamison 31 Posting Pro in Training Team Colleague

Are you using a blog program?

FC Jamison 31 Posting Pro in Training Team Colleague

Is it telling you that new updates are downloaded and ready to be installed?

FC Jamison 31 Posting Pro in Training Team Colleague

Let's see if I can explain this right...

A partition is simply a way of dividing the space on your hard drive to be used for different purposes.

For instance, my hard drive is 160GB and I have formatted 2 partitions.

The partitions are read as different drives (C and D)
On the C partition, I keep my operating system and the programs I have loaded...on the D partition, I keep all of my backup files.

If I have to reload my operating system (which I do from time to time) I can erase the C partition while leaving the D partition intact.

That way, I don't lose all of my data.

Dividing your hard drive into separate partitions is also commonly used to load two different operating systems on the same computer.

FC Jamison 31 Posting Pro in Training Team Colleague

well said.

FC Jamison 31 Posting Pro in Training Team Colleague

Couldn't you simply give the table a fixed width?

FC Jamison 31 Posting Pro in Training Team Colleague

I can't help it if I type slow with one finger while lying in bed and watching tv at the same time...lol!

FC Jamison 31 Posting Pro in Training Team Colleague

Welcome, Dave!

Glad to have you aboard.

FC Jamison 31 Posting Pro in Training Team Colleague

Please post this in the appropriate forum...

thanks!

FC Jamison 31 Posting Pro in Training Team Colleague

Without seeing the code it is hard to say...

Am I correct in assuming the parent window calls a child window of the same name every time it is refreshed or the query changes?

Just a shot in the dark...

You could try having the parent window assign a different name to the popup window every time.

Wouldn't that stop the parent window from resetting the variables of the child window that is already open?

FC Jamison 31 Posting Pro in Training Team Colleague

I did this a month or so back for a client.

It will at least give you an idea of how to use an array to populate a table.

hgltd commented: helpful +1
FC Jamison 31 Posting Pro in Training Team Colleague

Here is a test page.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script type="text/javascript">
  function popUp(URL) {
    day = new Date();
    id  = day.getTime();
    
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,left=125,top=100,width=150,height=150');"); 
  }
</script>
</head>

<body>
<p><a href="javascript:popUp('http://www.stateofhumanity.org/chatwindow.html')">popup window</a>
</body>
</html>
FC Jamison 31 Posting Pro in Training Team Colleague

try this

javascript

<script type="text/javascript">
  function popUp(URL) {
    day = new Date();
    id  = day.getTime();
    
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,left=125,top=100,width=500,height=500');"); 
  }
</script>

html

<a href="javascript:popUp('http://www.stateofhumanity.org/chatwindow.html')">popup window</a>

p.s. no need to add window names...and put the script in the head section.

FC Jamison 31 Posting Pro in Training Team Colleague

show me the code you are using

FC Jamison 31 Posting Pro in Training Team Colleague

yeah...took me about a minute to find a binary translator and enter the code

FC Jamison 31 Posting Pro in Training Team Colleague

Can you boot into safe mode?

FC Jamison 31 Posting Pro in Training Team Colleague

Have you tried just unplugging the router and plugging it back in?

Works for me every time.

FC Jamison 31 Posting Pro in Training Team Colleague
<a href="linked.html" target="newwin" >link</a>

or
window.open(URL, name [, features])

<a href="javascript: window.open('http://whatever.com', 'tinyWindow', 'toolbar,width=150,height=100')">new window</a>
FC Jamison 31 Posting Pro in Training Team Colleague

Just a quick note for those who do not have XP SP2 installed...

Microsoft support for XP SP1 ends in October.

They are offering an SP2 update CD for free (I paid #3 something for shipping). You should see the warning when you go to the Windows Update site.

FC Jamison 31 Posting Pro in Training Team Colleague

Unfortunately...your best bet at this point is to buy a copy of Windows XP.

Heck...I don't even have that folder on my computer...mine is called systemprofile

FC Jamison 31 Posting Pro in Training Team Colleague

Well...if you get random reboots in safe mode...chances are it is a hardware issue.

You might try replacing the RAM...just in case...but beyond that...you're most likely looking at a motherboard or video card issue.

or even worse...a processor problem.

FC Jamison 31 Posting Pro in Training Team Colleague

That's pretty much how you do it...except without the leading underscore.

target="chat" and target="jukebox"

FC Jamison 31 Posting Pro in Training Team Colleague

That thing references 4 css files plus the internal styles and who knows how many .js files.

I wasn't even able to download the menu.js file from your server...and it would take at least 20 minutes to unravel the menubarAPI4.js file into something I could look at.

Plus...the page failed html 4.0 transitional validation with 145 errors.

To find the error in that would take quite a bit of time and effort.

I would suggest trying another menu.

FC Jamison 31 Posting Pro in Training Team Colleague

does it still reboot in safe mode?

FC Jamison 31 Posting Pro in Training Team Colleague

If you must use a double...for whatever reason...you can use

if (loanYears - static_cast<int>(loanYears) != 0)