Rino,
I can try blue for in-line replies
----- Original Message -----
From: < < Rino > >
Newsgroups: microsoft.public.frontpage.client
Sent: Thursday, December 06, 2007 5:00 AM
Subject: Re: Image galleries
Hi Trevor,
I found using Rich Text are much better for better understanding and
everybody now a days are well equiped and capable
to show everything in their PC. I used RED text for my in-line reply:
mine -- why 2nd Thumbnail Pop-up wrong?)
work OK for me
But I am now using IE7. I posted (and emailed you) asking what browser you
are using. (I did answered you earlier THAT MY BROWSER IS IE6 ON WINDOWS
XP PRO SYSTEM -- I also used
OPERA and the same result detected -- I'm sorry your
eMail is NOT in my Inbox; nevertheless I did replied)
I apologise for not remembering. I was using the same (IE6 under Windows
XP Pro) until I switched to IE7 after Ronx and Steve said that divViewer
worked for them in IE7.
What I can't understand is that your test4.html works in IE6, whereas,
mine does not
Re the 1st and 3rd references, i.e.
http://tandcl.homemail.com.au/rinotan/index3.html
http://tandcl.homemail.com.au/rinotan/test4.html
The problem is in divViewer
See below
Re
http://tandcl.homemail.com.au/rinotan/index.html
The problem is in divViewer
Two suggestions
1. Install IE7 - it may be less prone to error now it has been around for
a while. I am giving it a go, anyway. If you don't like it, IE7 can be
uninstalled (from Add or Remove Prgrams in Control Panel) and you will
revert to IE6
2. Take up Ronx's suggestion which is
Edit dv.js
Comment out all lines between
DVObject.prototype.decodeHtml = function(encodedString) {
and
return encodedString;
};
I haven't tried this, but he seems to be implying that the function remain
but just be a null function
So, as I read his suggestion, replace lines 396 to 406 with
DVObject.prototype.decodeHtml = function(encodedString) {
/*
//exchanges some html-decoded signs
encodedString = encodedString.replace(/ä/, "ä");
encodedString = encodedString.replace(/Ä/, "Ä");
encodedString = encodedString.replace(/ü/, "ü");
encodedString = encodedString.replace(/Ü/, "Ü");
encodedString = encodedString.replace(/ö/, "ö");
encodedString = encodedString.replace(/Ö/, "Ö");
encodedString = encodedString.replace(/ß/, "ß");
*/
return encodedString;
};
The new version of dv.js would then be published to the web
That is, the names used as parameters to dv.showDV should match. It may be
better to name them wedding1 and wedding2 (or wedding and card1 -
whatever)
YES, I can change naming BUT can you PLEASE point where? Did you uploaded
a good link for me to
check if your 2nd Thumbnail pop-up correctly? Please check your 3rd links
above -- it is no good ;o(
Also PLEASE use color text to point out the errors -- so I can understand
and follow you all the way.
This is the problam I can't explain. When I put up code which is identical
to yours, we get this result:
It doesn't work in IE6 (i.e. what you are using and what I WAS using)
It works in IE7 (i.e. what Ronx Steve and I are now all using)
The only explanation I can think of is that the JS (dv.js) is different -
I did download it again, so perhaps they changed it on the source website
Anyway, this is the code you need
I changed the reference to dv.js to where I think you have it, so please
check that this is correct.
Your dv.js seems to be named DV.js which would only make a difference if
you are on a Unix server. So please use whatever name works for you
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<script src="DV.js" type="text/javascript">
</script>
<script type="text/javascript">
//Define your images using arbitrary variables, to be passed in as
arguments later down the page:
var wedding = '<img src="images/maira_jesse.jpg" width="1075" height="717"
border="0" alt="Mr. & Mrs Tan">'
var card1 = '<img src="images/card1.jpg" width="1400" height="980"
border="0" alt="Invitation card">'
</script>
</head>
<body bgcolor="#CCCCFF">
<p>
<a href="#" onClick="dv.showDV(wedding); return false">
<img border="0" src="images/maira_jesse.jpg" width="103" height="79"
align="right" alt="Mr. & Mrs Tan"></a><p>
<p> </p>
<p> </p>
<p> </p>
<p>
<a href="#" onClick="dv.showDV(card1); return false">
<img border="0" src="images/card1.jpg" width="105" height="81"
align="right" alt="Invitation card"></a></p>
</body>
BTW,
Your page
http://www.rinotan.freeweb7.com/our_family_heritage/d1.htm does
not open - file not found. But you may have deleted it while working on
getting the site going (it's always good -- you ONLY open it at the
wrong time -- see my reply earlier)
OK - it opens now. So I guess that you were updating it at the time
Ah well, let's hope that we make some progress