PDA

View Full Version : Expando not expandoing



solarstone
10-20-2009, 07:24 AM
1) Script Title: Expando Image Script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/expandoimage.htm

3) Describe problem: I've implemented the code word for word and the expando.js file, but there's no expanding when I hover over the image. I've tried a few images, and tried it online and offline with frontpage but just can't get it to work.

I don't know whether it's frontpage that is having some kind of effect? I even pasted the images from the example into my page, and they didn't work either!

any help much appreciated, angry French woman after me!!

jscheuer1
10-20-2009, 07:43 AM
Please post a link to the page on your site that contains the problematic code so we can check it out.

solarstone
10-20-2009, 01:22 PM
sure it's :

http://www.valerieblanchard.co.uk/_easles.htm

As an additional bit of info, I tried to get the magnifier script (I think it's JQuery magnifier or something similar) to work, and that also failed. I think for the same reason possibly.

jscheuer1
10-20-2009, 02:53 PM
Get rid of the highlighted line:


<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Watercolour Art by Valérie Blanchard</title>
<script language="JavaScript">
<style type="text/css">

img.expando{ /*sample CSS for expando images. Not required but recommended*/
border: none;
vertical-align: top; /*top aligns image, so mouse has less of a change of moving out of image while image is expanding*/
}

</style>

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

/* Expando Image Script ©2008 John Davenport Scheuer
as first seen in http://www. . . .

solarstone
10-20-2009, 03:50 PM
Many, many thanks. I'm a bit of a novice when it comes to HTML code as you can see.

You've saved me from an evening of French abuse from the Mrs, and for that I can't thank you enough :D