FC Jamison 31 Posting Pro in Training Team Colleague

OK...that worked on my server when I named the original document index.shtml. The shtml extention was required so that I could add the SSI (server side include) directives to the existing page.

FC Jamison 31 Posting Pro in Training Team Colleague

So should the code look something like this?

<html>
<head>
<title>EngineeringNotes.net</title>
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>


<!--#include file="header.html" -->

<div class="page"><!-- start page -->

	<!--#include file="sidebar.html" -->

	
	<div class="content"><!-- start content -->
		<h2>About this Site</h2>
		<p>
		This site is inteded to provide a "crash course" in many subject areas
		related to electrical engineering. The primers are not at all designed
		to
		be a replacement for a formal course in these topics. The target
		audience is a serious student who feels that it is worth their time
		outside of class to make sure they are getting the "big picture" and
		seeing the value of the subject rather than simply learning the mechanics of "doing problems". 


	</div><!-- end content -->
	
</div><!-- end page -->

</body></html>

With the header.html file as...

<div class="header">
	<div id="logo">
		<h1>EngineeringNotes.net</h1>
	</div>
	<div class="menu">
		<ul>
			<li><a href="mailto:daviddoria@gmail.com">Contact Me</a></li>
			<li><a href="phpBB3">Forums</a></li>
			<li><a href="Ideology.html">Ideology</a></li>
		</ul>
	</div><!-- end menu -->
</div><!-- end header -->

...and the sidebar.html file being...

<div class="sidebar"><!-- start sidebar -->
		<h2>EE Topics</h2> 
		<ul>
			<li><a href="Notes/EE/PatternRecognition.pdf">Pattern Recognition</a> </li>
			<li><a href="Notes/EE/ImageProcessing.pdf">Image Processing</a> </li>
			<li><a href="Notes/EE/ComputerVision.pdf">Computer Vision</a> </li>
			<li><a href="Notes/EE/ComputerGraphics.pdf">Computer Graphics (stub)</a> </li>
			<li><a href="Notes/EE/SignalsAndSystems.pdf">Signals and Systems</a> </li>
			<li><a href="Notes/EE/Communications.pdf">Communications</a> </li>
		</ul>
		

	</div><!-- end sidebar -->
FC Jamison 31 Posting Pro in Training Team Colleague

I am not seeing a problem at all in IE7.

FC Jamison 31 Posting Pro in Training Team Colleague

You're going to have to be a bit more descriptive with your problem.

After opening a text file from where? What does ftp have to do with the text file?

What exactly are you trying to do?

FC Jamison 31 Posting Pro in Training Team Colleague

You could try something like this:

CSS

#button1 {
  width: 50px;
  height : 25px;
  overflow : hidden;
  background-image: url('/images/image.jpg');
}

#button1:hover {
  background-image: url('/images/imageon.jpg');
}

HTML

<div id='button1'>
 &#160;
</div>
FC Jamison 31 Posting Pro in Training Team Colleague
FC Jamison 31 Posting Pro in Training Team Colleague

Just glancing at the code, would this modification work?

unsigned int getVolume() {
     setVolume();
     return Volume;
}
FC Jamison 31 Posting Pro in Training Team Colleague

We really need to see a working page so we can identify the problem.

My guess is that there is some object that is getting moved to a different position and is bumping everything else down.

FC Jamison 31 Posting Pro in Training Team Colleague

Can you give us a link to the page so we can look at it?

FC Jamison 31 Posting Pro in Training Team Colleague

I had a midterm problem similar to this last year.

The question was

3) Write a function using the following structure and prototype.

struct stat
{
    float avg;
    float median;
    float *mode;
    int nModes;
};

stat *avgMedMode(int *,int);

The function takes in an integer array and the size of the array.
Then returns a pointer to a structure containing the average, median
and mode. I will input a small array to test this out so ask for
how many inputs to fill the array, then the values to place into the
array. Make sure you delete the dynamic array creation for the mode
when you exit the problem.

My solution (as a module of the entire midterm program) is as follows:

// Frank C. Jamison
// April 08, 2006
// CIS 17A - Section 43052
// Borland C++ Builder Enterprise Suite Version 6.0
// Purpose:  Midterm Examination Program 3
// Midterm Examination

#include <iostream>
using namespace std;

// Structure Declarations - Midterm Program 3
struct stats {
  float avg;
  float median;
  int  *mode;
  int   nmodes;
};

// Function Declarations - Midterm Program 3
stats *avgMedMode(int *, int);
int   *createArray(int);
void   displayStats(stats);
int    findHighFrequency(int*, int);
int    findNumModes(int *, int, int);
float  getArrayAverage(int *, int);
void   getArrayElements(int *, int);
float  getArrayMedian(int *, int);
int    getModeArray(int *, int, int *, int);
void   programHeader3();
void   sortArrayElements(int *, int);

// Function Declarations - Multiple Files
void clear();
bool validLoNum(int, int);
void wait();


//*****************************************************************************
// FUNCTION: MIDTERM PROBLEM 3                                                * …
FC Jamison 31 Posting Pro in Training Team Colleague

If this is a form, have you tried

<input type="reset" value="Reset!">
FC Jamison 31 Posting Pro in Training Team Colleague

Do you mean a dropdown form field?

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

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

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

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

This sounds like a hotmail issue.

You will need to contact them.

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 havent reloaded my other browsers yet...but it looked just fine in IE6

FC Jamison 31 Posting Pro in Training Team Colleague

well ive made a huge step forward, im not sure why i didn't realize this before, but i have to export as an .htm document, the new problem is, when i open the htm file the links dont work

Can you upload an htm file so I can look at it?

FC Jamison 31 Posting Pro in Training Team Colleague

I found the problem...

You have

<p class=bullets11bldblck align=center>
  <br>
  <noscript>
    <object codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0  height=185 width=300 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000>
      <param name="movie" value="Resources/HollandRoll.swf">
      <param name="quality" value="high">
      <embed src="Resources/HollandRoll.swf" quality="high"  pluginspage="http://www.macromedia.com/go/getflashplayer"  type="application/x-shockwave-flash" width="300"  height="185">
      </embed>
    </object>
    </OBJECT>
  </noscript>
</p>

You need to remove the noscript tags and that extra closing object tag.

<p class=bullets11bldblck align=center>
  <br>
  <object codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0  height=185 width=300 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000>
    <param name="movie" value="Resources/HollandRoll.swf">
    <param name="quality" value="high">
    <embed src="Resources/HollandRoll.swf" quality="high"  pluginspage="http://www.macromedia.com/go/getflashplayer"  type="application/x-shockwave-flash" width="300"  height="185">
    </embed>
  </object>
</p>
denise@imm commented: I so appreciate DJs help. I was really stuck and he came back and kept looking at this with me. I'm thrilled with the help. +1
FC Jamison 31 Posting Pro in Training Team Colleague

With those nesting errors, I'm suprised the page showed properly at all.

Here is the corrected code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
    <title>college recruit video - low res</title>
    <meta name="GENERATOR" content="Freeway Pro 4.0.4">
    <meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
    <style type="text/css">
      <!-- 
        body {
          margin-left:0px; 
          margin-right:0px; 
          margin-top:0px; 
          background-color:#76797c; 
          background-image:url(Resources/bg_gray.gif) 
        }
        
        p:first-child { margin-top:0px }
        
        table { empty-cells:hide }
        
        ._sp { font-size:1px; visibility:hidden }
        
        ._lp { margin-bottom:0px }
        
        .pixel1 { font-size:1px }
        
        .style14 { text-align:right }
        
        .style15 {
          color: #FFFFFF;
          font-family: Verdana, Arial, Helvetica, sans-serif;
        }
        
        a:link {
          color: #FFFFFF;
          text-decoration: none;
        }
        
        a:visited {
        color: #33FFFF;
        text-decoration: none;
        }
        
        a:hover {
          color: #FFFF00;
          text-decoration: underline;
        }
        
        a:active { text-decoration: none;  }
        
        .style16 {
          color: #FFFFFF;
          font-weight: bold;
          font-family: Verdana, Arial, Helvetica, sans-serif;
        }
      -->
    </style>
    <script type="text/javascript">
      <!--
        var fwIsNetscape = navigator.appName == 'Netscape';
        
        fwLoad = new Object;
        
        function FWLoad(image) {
          if (!document.images)
            return null;
          if (!fwLoad[image]) {
            fwLoad[image]=new Image;
            fwLoad[image].src=image;
          }
          return fwLoad[image].src;
        }
        
        fwRestore = new Object;
        
        function FWRestore(msg,chain) {
          if (document.images) 
          for (var i in fwRestore) {
            var r = fwRestore[i];
            if (r && (!chain || r.chain==chain) && r.msg==msg) {
              r.src = FWLoad(r.old);
              fwRestore[i]=null;
            }
          }
        }
        
        function FWLSwap(name,msg,newImg,layer,chain,trigger) {
          var r = fwRestore[name];
          if (document.images && (!r || r.msg < msg)) {
            var uselayers = fwIsNetscape && document.layers && layer != '';
            var hld;
            if (uselayers)
              hld = document.layers[layer].document;
            else
              hld = (document.all) ? document.all : document;
            var im = hld[name];
            if (!im.old) im.old = im.src;
            im.msg = msg;
            im.chain …
FC Jamison 31 Posting Pro in Training Team Colleague

I took a look at your site in both IE and FireFox and the only problem I see is that your ministry partners section is spilling over your footer

FC Jamison 31 Posting Pro in Training Team Colleague

Here's a question...can you click on your SWF file in Windows Explorer and view the video correctly?

FC Jamison 31 Posting Pro in Training Team Colleague

I'd need to see your code or the site...

FC Jamison 31 Posting Pro in Training Team Colleague

Can you post your code or direct me to the site so I can take a look?

FC Jamison 31 Posting Pro in Training Team Colleague

That's because png is a graphic file...not a page.

You have to put your png graphics on a web page and then link the pages.

FC Jamison 31 Posting Pro in Training Team Colleague

I'm trying to create a small website for my family using Fireworks, i have searched high and low and couldn't find a single answer to my question....How do you link a fireworks page to another fireworks page, i know that i can link them with url's, but that's just it, they're not on the web yet, so they don't have url's

any answers, or advice on where to look will be GREATLY appreciated.

wouldn't relative links work for that?

FC Jamison 31 Posting Pro in Training Team Colleague

What resolution is your monitor set to?

It appears to be looking normally in 1024 x 768.

FC Jamison 31 Posting Pro in Training Team Colleague

I wasn't responding to DMR, I was responding to Salem.

DMR snuck that in while I was typing...lol.

FC Jamison 31 Posting Pro in Training Team Colleague

Your problem is that you have two functions with the same name calling two forms with the same.


For the first form/script:

<script language="JavaScript" type="text/javascript">
<!-- Begin
function formHandler(form){
var URL = document.form.site.options[document.form.site.selectedIndex].value;
window.location.href = URL;
}
// End -->
</script>
<center><p></p>
<form name="form" action="get">
<select name="site" size=1 onChange="javascript:formHandler()">

For the second form/scrpt:

<script language="JavaScript" type="text/javascript">
<!-- Begin
function formHandler2(form){
var URL = document.form2.site2.options[document.form2.site2.selectedIndex].value;
window.location.href = URL;
}
// End -->
</script>
<center><p></p>
<form name="form2" action="get">
<select name="site2" size=1 onChange="javascript:formHandler2()">

note changes to the function names, object names , form names, and select names.

FC Jamison 31 Posting Pro in Training Team Colleague

I didn't resurrect it...I just answered t. Don't shoot the messenger.

If you have a better solution, share it.

FC Jamison 31 Posting Pro in Training Team Colleague
/* atoi example */
#include <stdio.h>
#include <stdlib.h>

int main ()
{
  int i;
  char szInput [256];
  printf ("Enter a number: ");
  gets ( szInput );
  i = atoi (szInput);
  printf ("Value entered is %d, and its double %d",i,i*2);
  return 0;
}

Output:
Enter a number: 73
Value entered is 73, and its double 146
FC Jamison 31 Posting Pro in Training Team Colleague

Convert the string to a character array and then use atoi

FC Jamison 31 Posting Pro in Training Team Colleague

I've had this problem before, but for the life of me, I can remember how I resolved it.

You can try reinstalling your sound card driver.