PDA

View Full Version : Error Message


! Saltwater Photography
Aug-29-2009, 06:28 PM
When loading my galleries in Firefox, I always get the following error message:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at slideshow/extHookHandler()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at flash.external::ExternalInterface$/_callIn()
at <anonymous>()

Does anybody know what this is? How do I get rid of it?

May the force be with you.

! Saltwater Photography
Aug-29-2009, 06:32 PM
don't worry - think I've fixed it.

Onto the next problem - "Small Gaps":
I keep getting small gaps below the images I've embeded (1 in my header and 1 in my footer).
http://images.saltwaterphotography.com/Landscapes/The-Beach/1183554_FmX83

How do I get rid of these?

Once again - may the force be with you..

denisegoldberg
Aug-30-2009, 05:07 AM
I keep getting small gaps below the images I've embeded (1 in my header and 1 in my footer).
http://images.saltwaterphotography.com/.
Can you be a bit more specific here? I don't see anything that I would regard as gaps, so I suspect I don't understand what you are trying to fix.

But I do see a banner that is extremely difficult to read. Are you trying to hide your identity with the words behind your name?

--- Denise

thaKing
Aug-30-2009, 05:57 AM
Can you be a bit more specific here? I don't see anything that I would regard as gaps, so I suspect I don't understand what you are trying to fix.

But I do see a banner that is extremely difficult to read. Are you trying to hide your identity with the words behind your name?

--- Denise
took me a minute to spot it...but there are teeny, tiny little black spaces below the banner image and footer image...haven't had a chance to see if i can track down the cause yet...

! Saltwater Photography
Aug-30-2009, 11:34 PM
took me a minute to spot it...but there are teeny, tiny little black spaces below the banner image and footer image...haven't had a chance to see if i can track down the cause yet...

it's those teeny tiny ones I'm talking about - just small, but I want to understand why they are there.

JoeSalmi
Aug-31-2009, 05:01 AM
it's those teeny tiny ones I'm talking about - just small, but I want to understand why they are there.

Start cleaning up your html by removing the CSS and placing it in the CSS area.

Then start removing the CSS styles from the html and create classes for them. Then move them to the CSS area also.

To remove the top gap change this line.

<table id="table1" style="border-top: 1px solid rgb(128, 128, 128); border-bottom: 1px solid rgb(128, 128, 128); margin: -3px 0 0 0;" bgcolor="#000000" cellpadding="0" cellspacing="0" height="6" width="920">

To remove the bottom gap change this line

<img src="http://saltwaterphotography.smugmug.com/photos/632470513_knpWx-O.jpg" alt="Saltwater Photography - Featuring Australian Photographer Luke Kneale" border="0" height="33" width="920" style= "margin: 0px 0px -3px 0px;">

jfriend
Aug-31-2009, 06:49 AM
Start cleaning up your html by removing the CSS and placing it in the CSS area.

Then start removing the CSS styles from the html and create classes for them. Then move them to the CSS area also.

To remove the top gap change this line.

<table id="table1" style="border-top: 1px solid rgb(128, 128, 128); border-bottom: 1px solid rgb(128, 128, 128); margin: -3px 0 0 0;" bgcolor="#000000" cellpadding="0" cellspacing="0" height="6" width="920">
To remove the bottom gap change this line

<img src="http://saltwaterphotography.smugmug.com/photos/632470513_knpWx-O.jpg" alt="Saltwater Photography - Featuring Australian Photographer Luke Kneale" border="0" height="33" width="920" style= "margin: 0px 0px -3px 0px;"> Joe, negative margins are generally a bad idea because they cause objects that are supposed to be laid out into the page to overlap and that can behave inconsistently among different browsers. In this case, it took a Google search for "extra space below image in my HTML" to find several possible solutions that don't involve negative margins.

Add a CSS id to this part of the HTML:

<div id="myHeader" bgcolor="#000000" style="margin: 0px;" align="center">

Add this CSS:

#myHeader img {display:block;}

By default an image is display:inline and apparently the div thinks it has some text in the div with the image that it needs to reserve space for.

According to the posts I found in Google, you could have also just set the height on the div and put the image in as the background or you could have specified a font-size:0 for the div.

Any of these will make the extra pixels go away.

I don't see any issue with the table of the navbar because it doesn't have a background that requires the block to be a specific height.

I would strongly suggest avoiding negative margins.

! Saltwater Photography
Sep-02-2009, 02:07 AM
Thanks JFriend - great advice - all fixed!

Another question you may be able to help me with: my "Full Screen" slideshow button doesn't work. Any suggestions?