FC Jamison 31 Posting Pro in Training Team Colleague

I see that iframes have been deprecated...however, I do not see an alternative.

The displaying of pages that lie outside of your Web site...whether in frames or in iframes...is severely frowned upon in the design world.

So much so, that current college textbooks on HTML suggest using the deprecated "target" tag to open the site in a new window as an alternative.

FC Jamison 31 Posting Pro in Training Team Colleague

ouch

FC Jamison 31 Posting Pro in Training Team Colleague

As far as I know, you can't do this using CSS alone.

I could be wrong, though...

FC Jamison 31 Posting Pro in Training Team Colleague

All you are really doing here is writing down pseudocode (the steps you will take) to complete the program

FC Jamison 31 Posting Pro in Training Team Colleague

Welcome to the group, Cheryl!

FC Jamison 31 Posting Pro in Training Team Colleague

secret gay lover

FC Jamison 31 Posting Pro in Training Team Colleague

Baseball Game --> Dodgers

FC Jamison 31 Posting Pro in Training Team Colleague

no problem

FC Jamison 31 Posting Pro in Training Team Colleague

I use dreamweaver myself...by you can create a web site using nothing more than notepad if you know html and css.

FC Jamison 31 Posting Pro in Training Team Colleague

I have also noted in the past that a bad RAM chip can cause all kinds of wierd errors from random reboots to erroneous video driver errors.

I once had a problem with my XP machine either crashing when opening outlook to reply to an e-mail of just shutting down outlook. When the whole system crashed, Windows reported a video driver error.

After taking it to the computer shop twice and replacing both the video card and the motherboard...I finally narrowed the problem down to one of my RAM modules.

Once that was replaced...no more problems.

FC Jamison 31 Posting Pro in Training Team Colleague

Kind of...the best thing to do is write down the process first

get start time in military format
convert start time to minutes
int startMin = ((startTime / 100) * 60) + startTime % 100

get end time in military format
convert end time to minutes
int endMin = ((endTime / 100) * 60) + endTime % 100

Calculate total time
TotalMin = (endMin - startMin)

Calculate improved time
ImproveMin = TotalMin * 0.75

calculate improved time
fastTime = startMin + ImproveMin

Convert the faster time to military format
fastHour = fastTime / 60
fastMin = fastTime % 60
milTime = (fastHour * 100) + (fastMin)

This is just an example...your final output can be done in a couple of ways.

FC Jamison 31 Posting Pro in Training Team Colleague

Ah..I just saw the bottom part...the minute hour thing is kind of tricky

convert your start and end time to minutes...so that all of your calculations are done in minutes...

the final step would be to convert the minutes back into an hour:minute format

so hours would be calculated by

int hours = newTime / 60
int minutes = newTime % 60

and your time output would be

cout << hours << ":" << munutes;

FC Jamison 31 Posting Pro in Training Team Colleague

Logically...you have a start time and an end time stored in variables.

create a third variable to hold the total time (start time - end time)

multiply the total time by 0.75 (totalTime*0.75) and store it in a new variable

add the calculated time to the start time

mathematically...

((end time - start time) * 0.75) + start time

FC Jamison 31 Posting Pro in Training Team Colleague

Here is the definition of algorithm...

http://en.wikipedia.org/wiki/Algorithm

FC Jamison 31 Posting Pro in Training Team Colleague

It's a setting somewhere...I've had this problem before.

Go to "Start -> Control Panel -> Quicktime" to open the Quicktime Settings window.
Go to the Browser tab and click the Mime Settings button.
Under each category, select the media types you wish Quicktime to handle in your browser. Do not enable Flash.
Click OK

Suggested Mime Settings

Audio
AIFF audio
uLaw/AU audio
MIDI
WAVE audio

MPEG
MPEG media
MPEG audio
MPEG-4 media

MP3
MP3 audio

Images
QuickTime image

Important: When selecting the media types you want Quicktime to handle under "Mime Settings", make sure that "FlashPix" (under "Images") and "Flash media" (under "Miscellaneous") are not enabled, as doing so will cause a conflict with the Flash Plug-in.

Next, go to the File Types tab (still in QuickTime) and select the same options as you did under browser MIME types.
Click OK.

Close and reopen the browser to effect the changes.


That should correct the issue.

FC Jamison 31 Posting Pro in Training Team Colleague
FC Jamison 31 Posting Pro in Training Team Colleague

Have you tried reinstalling the old version?

If you can't do that...the only other way I know of its to dig it out of the registry. The problem with that is that if you do something wrong...you system could crash completely.

FC Jamison 31 Posting Pro in Training Team Colleague

There is a program that might work called badcopy pro that is supposed to be able to recover data from corrupt discs...

It's a long shot, but worth a try.

http://www.jufsoft.com/

FC Jamison 31 Posting Pro in Training Team Colleague

Have you tried exporting the resized image using the jpg optimizer?

FC Jamison 31 Posting Pro in Training Team Colleague

Here's the big glaring error I see in your code...

string string;

You can't use "string" as a variable name.

FC Jamison 31 Posting Pro in Training Team Colleague

Ha.! I remember my C++ instructor promising not to give us a bad grade on an assignment if we promised not to use global variables...lol

FC Jamison 31 Posting Pro in Training Team Colleague

You understood that, Salem?

FC Jamison 31 Posting Pro in Training Team Colleague

If you install the wrong codecs...some funky things can happen.

I would try uninstalling the codecs and seeing if I could play a video I know to be safe...if that doesn't work, and you have your Windows XP CD...try uninstalling and reinstalling the media player.

If that still doesn't work...you might have a hardware issue.

FC Jamison 31 Posting Pro in Training Team Colleague

hmm...off the top of my head, I'd suggest using a JavaScript onclick event to change the background of the specified cell.

You could then have a small image as the background.

How to get it to go away would be a trick, though...perhaps use a timer to revert back to the original background after 10 seconds?

Hey...it's an idea, anyway!

FC Jamison 31 Posting Pro in Training Team Colleague

This tutorial will explain how to code a perfectly cross-browser compatible, single-level drop-down menu for your website. The first thing you are going to need is a little bit of JavaScript courtesy of Suckerfish. This should be placed in a file called menu.js and saved in the same directory as your html page.

showMenu = function() {
  var subMenuItems = document.getElementById("topMenu").getElementsByTagName("li");
  for (var i=0; i<subMenuItems.length; i++) {
    subMenuItems[i].onmouseover=function() {
      this.className+=" showMenu";
    }
    subMenuItems[i].onmouseout=function() {
      this.className=this.className.replace(new RegExp(" showMenu\\b"), "");
    }
  }
}
	
if (window.attachEvent) window.attachEvent("onload", showMenu);

Now you will need a menu structure, in other words what is actually going to be in your menu. For the purposes of this tutorial, let’s use:

  • Top Link 1
    • Sub Link 1-1
    • Sub Link 1-2
    • Sub Link 1-3
  • Top Link 2
    • Sub Link 2-1
    • Sub Link 2-2
    • Sub Link 2-3
  • Top Link 3
    • Sub Link 3-1
    • Sub Link 3-2
    • Sub Link 3-3
  • Top Link 4
    • Sub Link 4-1
    • Sub Link 4-2
    • Sub Link 4-3
  • Top Link 5
    • Sub Link 5-1
    • Sub Link 5-2
    • Sub Link 5-3

OK, so now you have the structure but how are you going to turn that into an actual menu? This is where the XHTML comes in. Start with a blank XHTML web page as follows:

<!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>Single-Level Drop-Down Menu</title>
  </head>

  <body>
  </body>
</html>

Now …

FC Jamison 31 Posting Pro in Training Team Colleague

I'm not exactly sure what you are asking for here...

Do you have a page you can point me to so I can get a better picture of what you are asking for?

FC Jamison 31 Posting Pro in Training Team Colleague

I didn't sign up...so the chat window doesn't work for me.

I opened the chat window, and then clicked on the detach radio player link in the main window.

While it appears that one window replaces the other, the first popup window simply gets sent to the background. It is still open.

FC Jamison 31 Posting Pro in Training Team Colleague

That's not the problem...

Your links table in the sidebar is set to 400px...that is what is throwing everything off.

FC Jamison 31 Posting Pro in Training Team Colleague

This sounds like a hotmail issue.

You will need to contact them.

FC Jamison 31 Posting Pro in Training Team Colleague

Both windows opened for me...the first popup window just got sent to the background. You can still access it from the taskbar.

FC Jamison 31 Posting Pro in Training Team Colleague

I'd never heard of this before...but after doing some research, that is a very useful tool.

It works for me in IE6, so perhaps the key was deleted from you registry.

This site will show you how to set/reset the ctrl+Enter functionality:
http://blogs.msdn.com/jeffdav/archive/2004/09/09/227502.aspx

FC Jamison 31 Posting Pro in Training Team Colleague
#topMenu li #flyMenu3_6 { 
	margin: -21px 0 0 135px; 
	width:167px; 
}

is one of the styles to control the position of the flyout menus
you need one of these for each flyout

FC Jamison 31 Posting Pro in Training Team Colleague

ok...on my photo gallery page (http://www.frankjamison.com/gallery/), I use a combination of css and javascript to achieve this effect.

<img src="image.jpg'" class="rolloverOff"  onMouseOver="this.className='rolloverOn'" onmouseout="this.className='rolloverOff'" /></a>
.rolloverOff {
  border: 1px solid #999999;
}

.rolloverOn {
  border: 1px solid #FFFFFF;
}
FC Jamison 31 Posting Pro in Training Team Colleague

It appears that you've already fixed this particular problem.

FC Jamison 31 Posting Pro in Training Team Colleague

Tables are frowned upon in the design world when used for anything but displaying tabular data.

FC Jamison 31 Posting Pro in Training Team Colleague

I am against using tables as a design tool...but if it works for you...go for it.

FC Jamison 31 Posting Pro in Training Team Colleague

The second hit on googling:
how to change a relative url into an absolute url

Was here.

Oh, for Pete's sake...

instead of <a href="page.htm">relative link to page</a> you would use <a href="http://www.yoursite.com/page.htm">absolute link to page</a>

FC Jamison 31 Posting Pro in Training Team Colleague

Your server is down...

Didn't I see this question posted somewhere else? I could swear I've seen it before...where the archive|notes sits on the right margin in IE.

I found it...about 7 posts down. Katarey solved this problem for you already...what happened?

FC Jamison 31 Posting Pro in Training Team Colleague

Ha!

I knew I'd figure it out eventually.

I based it on the Suckerfish menu...but it works very similar to my first post.

Simply add your items to the arrays in the javascript file and customize with the css file.

The float selector in the CSS file is still required for the javascript to dynamically write the menus...so don't delete it. It is used to keep the top-level menu items in the same order no matter which margin the menu is floated on.

DJ

FC Jamison 31 Posting Pro in Training Team Colleague

There's more than one way to skin a cat...let me try something else.

FC Jamison 31 Posting Pro in Training Team Colleague

Well, Mikeish...

I've got the multi-level menu working in html...but I am having difficulty using javascript to create the three-dimensional array.

FC Jamison 31 Posting Pro in Training Team Colleague

The file is in my first response to this post.

FC Jamison 31 Posting Pro in Training Team Colleague

If you've named the image, try

a:link img#car, a:visited img#car { border: 1px solid #000000 }
a:hover img#car { border: 1px solid #FF0000 }
FC Jamison 31 Posting Pro in Training Team Colleague

Hello. I need a drop down menu just like the one on this site up at the top but all in javascript (because my stupid server does not load outside script resources without having it be checked for security, so i need a client side) and all in one html file. Does anyone have a sample script that I can modify and use or show me how? Thanks guys.

Are you refering to the dropdown menu or did you want the breadcrumb liks as well.

If you are just looking for the dropdown menu, the example I attached below can be easily modified.

Suckerfish is also an excellent menu.

FC Jamison 31 Posting Pro in Training Team Colleague

No...I don't see the video.

I looked at your code and downloaded the swf file, but still couldn't get it to play...so you might want to upload the video again.

It was only 102kb...so my guess is that there is nothing to play.

FC Jamison 31 Posting Pro in Training Team Colleague

I'm not gonna promise anything...but I'll see what I can do.

The whole javascript thing is kind of new to me...which is why that code was so simple.

Which site are you working on, if I might ask?

FC Jamison 31 Posting Pro in Training Team Colleague

I'd have to write that.

If you have a day or two...I'll look in to it.

Right now I am in the middle or reinstalling my system (I'd forgotten how much software I had installed and downloading updates is taking forever).

FJ

FC Jamison 31 Posting Pro in Training Team Colleague

You might have some cross-browser compatibility issues with that solution.

FC Jamison 31 Posting Pro in Training Team Colleague

I havent reloaded my other browsers yet...but it looked just fine in IE6

FC Jamison 31 Posting Pro in Training Team Colleague

Well...if you want to keep the 382px space using the code supplied by katarey, give the table an id (let's call it "names") and then set a top margin in the css.

#names { margin-top: 382px; }