FC Jamison 31 Posting Pro in Training Team Colleague

No...it has to do with your image widths being set to 540 and 457. Lower those to something reasoable like 100 or 150 and you'll get the result you are looking for.

FC Jamison 31 Posting Pro in Training Team Colleague

Oh crap...

The initial line in that first code

pageImage = getElementById('imageID');

Should be

var pageImage = document.getElementById('imageID');

Plus it should have been in a function and called after the page loaded.

Here is the corrected code:

window.onload = setImage;

function setImage() {

  var pageImage = document.getElementById('imageID');

  switch(screen.width) {
    case 640: 
      pageImage.style.height = '480px'; 
      pageImage.style.width = '640px'; 
      break;
    case 800: 
      pageImage.style.height = '600px'; 
      pageImage.style.width = '800px'; 
      break;
    case 1024: 
      pageImage.style.height = '768px'; 
      pageImage.style.width = '1024px'; 
      break;
    case 1152: 
      pageImage.style.height = '864px'; 
      pageImage.style.width = '1152px'; 
      break;
    case 1280: 
      pageImage.style.height = '1024px'; 
      pageImage.style.width = '1280px'; 
      break;
    case 1600: 
      pageImage.style.height = '1200px'; 
      pageImage.style.width = '1600px'; 
      break;
    case 1920: 
      pageImage.style.height = '1440px'; 
      pageImage.style.width = '1920px'; 
      break;
    default : 
      pageImage.style.height = '768px'; 
      pageImage.style.width = '1024px'; 
      break;
  }
}

Looks like I forget to change the second lines to widths as well...no wonder the thing didn't work! Sorry about that.

Here is an alternative to the switch-case statement as well:

onload = setImage;

function setImage() {

  var ww = getWindowWidth();
  var im = document.getElementById('imageID');
  
  if (ww < 800) {
    im.style.height = 500 + 'px';
    im.style.width = 500 + 'px';
  }

  else if (ww >= 800 && ww < 1024) {
    im.style.height = 724 + 'px';
    im.style.width = 724 + 'px';
  }

  else {
    im.style.height = 1000 + 'px';
    im.style.width = 1000 + 'px';
  }
}



function getWindowWidth() {
  var windowWidth = 0;

  if (typeof(window.innerWidth) == 'number')
    windowWidth = window.innerWidth;
	
  else {

    if (document.documentElement && document.documentElement.clientWidth)
      windowWidth = document.documentElement.clientWidth;
		
    else …
FC Jamison 31 Posting Pro in Training Team Colleague

If that is a background image set by css, add the following:

background-repeat: repeat-x;

This will make the image repeat horizontally, but not vertically.

FC Jamison 31 Posting Pro in Training Team Colleague

This will set the height of your div to the height of the browser window:
NOTE: 'divID' is the id name of the div in the html document.

window.onload = setDiv;

function setDiv() {
  var wh = getWindowHeight(); // Window Height
  var d = document.getElementById('divID') // Get div element
  var dh = d.offsetHeight // div height
  d.style.height = wh + 'px'; // Set div height to window height
}




function getWindowHeight() {
  var windowHeight = 0;
	
  if (typeof(window.innerHeight) == 'number')
    windowHeight = window.innerHeight;
	
  else {
		
    if (document.documentElement && document.documentElement.clientHeight)
      windowHeight = document.documentElement.clientHeight;
		
    else {
      if (document.body && document.body.clientHeight)
        windowHeight = document.body.clientHeight; }; };
				
  return windowHeight;
};
Sailor_Jerry commented: Good Stuff! +1
FC Jamison 31 Posting Pro in Training Team Colleague

Since you are using tables and not divs for this, here is an easy solution...

<table id="bg" width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td background="swoosh_left.png" width="540" height="104"><img src="resources/images/spacer.gif" width="540"></td>
    <td class="imagetest" height="104" width="100%">&nbsp;</td>
    <td background="swoosh_right.png"width="457"height="104"><img src="resources/images/spacer.gif" width="457" /></td>
  </tr>
</table>

Use a transparent gif to keep your outer cells at a fixed width and set your inner cell to 100% width.

FC Jamison 31 Posting Pro in Training Team Colleague

Can you post your code so we can see what you have already done?

FC Jamison 31 Posting Pro in Training Team Colleague

If your pages are online, send me a link and I will take a look at them.

FC Jamison 31 Posting Pro in Training Team Colleague
<img src="image.jpg" id="imageID">

You have the right idea, but you give the image an ID, not a name.

FC Jamison 31 Posting Pro in Training Team Colleague

It sounds like you deleted kazaa without going through add/remove programs first. Unless you want to try and dig it out of the registry, reinstall kazaa and then remove it through add/remove programs

FC Jamison 31 Posting Pro in Training Team Colleague

a .js file is a javascript file.

You can just put the code in a text file and change the extension to .js instead of .txt

To call the script from a Web page, add the following to the head section of your html:

<script src="code.js" type="text/javascript"></script>

where code.js is the name you gave to the javascript file you saved.

FC Jamison 31 Posting Pro in Training Team Colleague

That's beyond my expertise...perhaps someone else will have the answer you seek.

FC Jamison 31 Posting Pro in Training Team Colleague

Well, the background of the second column is going to be your problem.

There is no way to do this exclusively with css that is cross-browser compatible. (Believe me, I have tried).

A lot of sites will tell you that setting the height of the body and/or html tags to 100% height will do the trick...and it will if your columns dont contain any nested divs...but throw in a nested div and some browsers will calculate the height of the column as the window height and you could end up with unwanted space at the bottom of your page. Being that you have a footer, this option probably won't work for you.

That being said, you have two options:

1. You could create a single background for the entire page that combines the backgrounds of the two columns in a single image.

2. You could write a javascript that calculates the height of the larger column and then sets the two columns to the same height.

The first option will only work if the background is solid (something that does not need to be centered in the column), or if your content is of a fixed width regardless of the monitor resolution.

FC Jamison 31 Posting Pro in Training Team Colleague

block-level elements such as divs automatically expand to enclose content...so I'm going to assume your request has a bit more detail that needs to be shared.

Describe your layout and what you are trying to accomplish.

Does it have more than one column and the divs are different sizes?
Are you having trouble setting your footer?
Is your containing div not expanding when you have inner div elements?

Some things can be resolved with css, others (to be completely reliable and cross-browser compatible) will require javascript.

FC Jamison 31 Posting Pro in Training Team Colleague

no my laptop is screwed shut. would it be easier if i took it to a computer shop and see if they can fix it?

definitely.

laptops are funny creatures.

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.

FC Jamison 31 Posting Pro in Training Team Colleague

With a baseball bat?

It sounds like a memory error...either RAM or the video card.

I hope your Dell isn't rivited shut like the one my boss just bought.

FC Jamison 31 Posting Pro in Training Team Colleague

Add this as your link in the html document:

<a href="javascript:open1()">Click Here</a>

Add this code to a .js file:

function open1() {
  window.open('page.html#link1');
  window.open('page.html#link2');
  window.open('page.html#link3');
}
FC Jamison 31 Posting Pro in Training Team Colleague

In this example, the main image on every page would have the id "imageID".

You can place this code into a .js file and link to it from inside the head element or add it directly inside the head element.

pageImage = getElementById('imageID');

switch(screen.width) {
  case 640: 
    pageImage.style.height = '480px'; 
    pageImage.style.height = '640px'; 
    break;
  case 800: 
    pageImage.style.height = '600px'; 
    pageImage.style.height = '800px'; 
    break;
  case 1024: 
    pageImage.style.height = '768px'; 
    pageImage.style.height = '1024px'; 
    break;
  case 1152: 
    pageImage.style.height = '864px'; 
    pageImage.style.height = '1152px'; 
    break;
  case 1280: 
    pageImage.style.height = '1024px'; 
    pageImage.style.height = '1280px'; 
    break;
  case 1600: 
    pageImage.style.height = '1200px'; 
    pageImage.style.height = '1600px'; 
    break;
  case 1920: 
    pageImage.style.height = '1440px'; 
    pageImage.style.height = '1920px'; 
    break;
  default : 
    pageImage.style.height = '768px'; 
    pageImage.style.height = '1024px'; 
    break;
}
FC Jamison 31 Posting Pro in Training Team Colleague
FC Jamison 31 Posting Pro in Training Team Colleague

You mean like

<a href="page.html#bookmark>named anchor on new page</a>
FC Jamison 31 Posting Pro in Training Team Colleague

You can use javascript to detect the monitor resolution and then have the image set to a certain size depending on what the resolution is.

FC Jamison 31 Posting Pro in Training Team Colleague

Does the computer recognize teh cd-rom drive?

Will it read any cd at all?

FC Jamison 31 Posting Pro in Training Team Colleague

That's unfortunate.

You can download IE from the Microsoft Website

FC Jamison 31 Posting Pro in Training Team Colleague

No, you can use the pseudoclass :hover to change the background image. i.e.

a {background-image: url(image1.jpg); }
a:hover {background-image: url(image2.jpg); }

FC Jamison 31 Posting Pro in Training Team Colleague

I'd like to know what the activex warning was. Also, even though Limewire didn't take, the P2P networking might have been installed. If so, try uninstalling that.

FC Jamison 31 Posting Pro in Training Team Colleague

yes, properly constructed div/css layouts are cross-browser compatible.

I don't use dw templates myself (they are just a pain in the rear) but you should be able to create a div/css dreamweaver template.

FC Jamison 31 Posting Pro in Training Team Colleague

Are you wiping the drive (or partition) and doing a fresh install or are you trying to write over the old Windows installation?

FC Jamison 31 Posting Pro in Training Team Colleague

Just a guess, but click on file->new and then select the templates tab.

FC Jamison 31 Posting Pro in Training Team Colleague

It depends on how the template is set up. In dreamweaver, you can only edit the areas that aren't greyed out.

If you don't have the dwt file, you will have to copy the code to a different file without the template comments in ourder to modify the content.

FC Jamison 31 Posting Pro in Training Team Colleague

On the back of the drive, there are some pins with one or more jumpers that go over the pins. Somewhere on the drive it should tell you where these jumpers need to be for the drive to be set as the master drive.

The motherboard itself should label the slots for the hard drive as primary and master. In some cases, the primery slot is colored.

Make sure you don't have your CD-Rom connected to the primary slot.

Also, if one cable is being used to connect both the hard drive and the CD-Rom to the motherboard, try switching the way they are connected.
I forget which order on the cable they are supposed to be connected in, but order does matter.

FC Jamison 31 Posting Pro in Training Team Colleague

This is a little out of my area, but have you checked the jumper settings on the drive? Are they set for the drive to be read as the Master drive? Is your cable plugged into the primary slot on the motherboard?

(I've done this one before...) Is the power cable plugged into the hard drive?

FC Jamison 31 Posting Pro in Training Team Colleague

If you don't find it in C:\WINDOWS\ServicePackFiles\i386, go to
C:\WINDOWS\inf

You are looking for ie.inf

FC Jamison 31 Posting Pro in Training Team Colleague

Check your Power Supply. A new one should run about $35.00.

FC Jamison 31 Posting Pro in Training Team Colleague

Do you mean something like this?

<div style="width:272px;padding:10px;filter:shadow(color:gray); overflow: visible">
  <div style="width:250px;text-align:left;padding:10px;background-color:gold;border:1px solid black;font-size:10px;"> 
    This is an example of the shadow filter in action. 
    You can make the box any size you want and have any color background you desire. 
  </div>
</div>

NOTE: This only works in IE

FC Jamison 31 Posting Pro in Training Team Colleague

Occasionally the Registry entry for File Folders (Directories) gets corrupted. One effect of this can be that Search or a Command Prompt opens when you double click on a folder in Explorer, rather than the folder opening. This VB Script will make the necessary change to the system Registry to correct this.

Usage:

Download folder_open.vbs and save this file to your hard drive.

Navigate to where you saved it and double click the file.

A confirmation dialog will appear when finished.

This script can be viewed in Notepad or any text editor, as to the specific Registry key and value that are updated.

Credit to Doug Knox for posting this script at http://www.dougknox.com/xp/scripts_desc/xp_folder_open.htm

FC Jamison 31 Posting Pro in Training Team Colleague

it appears to be working to me

FC Jamison 31 Posting Pro in Training Team Colleague

I didn't even look at the original post date...my bad.

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

Just a wild shot in the dark, but did you change your ZoneAlarm preferences recently?

This might be a firewall problem.

FC Jamison 31 Posting Pro in Training Team Colleague

You need to get into the bios settings and change the order of the boot drives.

Usually, the initial startup screen says something like "Press DEL to set up computer" or something similar.

Once you get into the settings, find the section that lists the boot drive order and put CD-Rom before the C drive.

FC Jamison 31 Posting Pro in Training Team Colleague

What operating system were you using on the old drive and what one are you using on the new one?

Theoretically, you should be able to access the old drive through Windows Explorer if you are logged in to the new machine as an administrator.

Can you see the files but not access them, or can you not access the drive at all?

FC Jamison 31 Posting Pro in Training Team Colleague

Your best bet is to contact Compaq and ask them about a replacement CD.

FC Jamison 31 Posting Pro in Training Team Colleague

Absolutely true.

Also, the anchor link will have no detrimental effect to your Web page in any browser. You could probably save some overhead though by using CSS instead of JavaScript.

FC Jamison 31 Posting Pro in Training Team Colleague

Yes, it works...it's just bad coding. If you were to try and validate your code, you would receive errors.

If you want to be a good Web designer, you should start learning the proper coding methods now. It will save you a lot of headaches in the future.

Mike, what didn't work in Firefox?

FC Jamison 31 Posting Pro in Training Team Colleague

Ah...I see.

I did a little further investigating and found this:


If your Privacy Settings on your firewall (ZoneAlarm) do not allow animation, you won't be able to enjoy them. To "unlock" animations, open the Zone Alarm control panel, go to the "Privacy & Ad Blocking" settings, and on the Ad Blocking tab, go to the "Customize" section.

There you will find a series of check boxes. Merely uncheck the block on Animations. You can still leave blocking on all Pop-Ups and other Ads.

I don't use ZoneAlarm, but this should at least keep its functionality while allowing you to view animations.

FC Jamison 31 Posting Pro in Training Team Colleague

scratch that xoft thing. Just post the files that are loaded on startup.

FC Jamison 31 Posting Pro in Training Team Colleague

If that doesn't work, go to start->run and type in msconfig

press enter

click on the startup tab and post the file names listed under commands here.

I'm specifically looking for
winstall.exe
ibm000001.exe
spysheriff.exe

If you have any of these, go to http://www.xoftspy.com/ and download their spy removal tool.

If you still have IE problems after that, I can walk you through repairing corrupt system files and reinstalling internet explorer.

FC Jamison 31 Posting Pro in Training Team Colleague

Do you have SP2 installed?

I'm going to assume you do, since you stated you are up to date with all updates.

Here are a couple of things to try:

Go to Start->Run and type in
sfc /scannow

then press enter.

This will check to see if any Windows system files are corrupt and replace any that are.

If this doesn't fix your problem, open My Computer in Explore view and go to

C:\WINDOWS\ServicePackFiles\i386

Find the file ie.inf

Right-click on this file and select install

This will reinstall internet explorer.

Let me know how that goes for you.

FC Jamison 31 Posting Pro in Training Team Colleague

It's not your browser, it's the settings in the quicktime player. The real fun is that you can't view Flash files, either.

Open the Quicktime Player, got to Edit->Preferences->QuickTime Preferences

Click on the Browser tab and then click on the MIME Settings button.

Under Video, verify that both QuickTime Movie options are checked (all others are optional)

Under miscellaneous, uncheck the Flash Media button.

Click OK then select the File Types tab

Under video, ensure both QuickTime Movie options are checked

Under Miscellaneous, uncheck the Flash Media option

Also, under the streaming tab, select automatic and check instant on.

This should fix your problem.

FC Jamison 31 Posting Pro in Training Team Colleague

reformat the drive and reinstall windows