-
1 Attachment(s)
Photopop up problem
the webpage concerned is http://www.pandjphotographyandart.co...mpleimage1.htm - for some unknown reason the images now open in a seperate webpage rather than pop up as they did previously.
There is apparently an error on the page which says 'offsetTop is null or not an object highslide.js Code 0 I ahve uploaded a screendump of the error message
Any help much appreciated
-
Re: Photopop up problem
Hi Petesmit,
It is very hard to say for sure what the problem is without having a .web file.
I do have a guess of what the problem might be however.
When you created a picture link, did you use the 'Link to File (PDF, AVI, etc.)' field?
Eric
-
Re: Photopop up problem
Hi Eric Thanks for your reply. No I didn't use the Link to File in the Link Tab at all. I just used the Popup photo in the Image Tab (in the Web Properties screen)
-
Re: Photopop up problem
Can you please post your .web file then and let us know what version of the software you are using? Thanx-
-
Re: Photopop up problem
Yes the web file is required here. i can see from within your code that the problem is caused by the following (line 34 to 61)
removing this prevents the problem from occuring so it would be interesting to see how you have inserted this block of code. It looks like a placeholder which has also been set to be a popup but i might be completely wrong without looking at the .web file
<a href="index_htm_files/113.png" class="highslide" onmouseover="hs.headingText=''" onclick="return hs.expand(this, { headingText: '' } )">
<div onmousemove="xr_mo(this,0,event)" style="position: absolute; left: 779px; top: 592px; width: 78px; height: 29px;">
<script language=JavaScript>
<!--
var message="All Images are Copyright P and J Photography and Art";
function click(z) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (z.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// -->
</script>
</div>
</a>
-
Re: Photopop up problem
Have you tried republishing?
Possibly the highslide.js is corrupted
-
Re: Photopop up problem
Hi all
Many thanks for your replies.
I have tried republishing sledger but the page error still appears,
The 'disable right click' java code is in a placeholder but there is no popup; I deleted this placeholder and republished but again the problem is still there
I am using WEeb Designer 6 the web file is @54mB
Peter