I saw that there was another thread about this same issue but unfortunalety the response did not work for me! Any suggestions on how to get the links to work? I added the url to the href tag within the img tag but the links don't work. example:
<img src= "PrototypeFishEye/images/forms.png" href="forms.html" title="Forms" alt="Forms"/>
I have also tried simply adding <a href></a> around each image and that does NOT work either. example:
<a href="forms.html"><img src= "PrototypeFishEye/images/forms.png" href="forms.html" title="Forms" alt="Forms"/></a>
OR
<a href="forms.html"><img src= "PrototypeFishEye/images/forms.png" href="#" title="Forms" alt="Forms"/></a>
OR
<a href="forms.html"><img src= "PrototypeFishEye/images/forms.png" title="Forms" alt="Forms"/></a>
HELP!
Thanks
It is a bug in the Javascript code the two variable names PrototypeFishEye and PrototypeFishEyelinkRelay need to be swapped like below:
var PrototypeFishEyelinkRelay = function(e){
var ele = Event.element(e);
var href = ele.getAttribute("href");
alert(href);
window.location = ele.getAttribute("href");
}
var PrototypeFishEye = new FishEyeToolBar("PrototypeFishEye");
PrototypeFishEye.addEventListener("itemClick", PrototypeFishEyelinkRelay);
If you swap these and replace the anchor links in the <mg href="#" /> with a url like below it should work.
<img src="PrototypeFishEye/images/My-PC.png" href="products.html" title="Products" alt="Products" />
If you click on Details in the Widget Browser, then click on the Stars rating it will bring you to the page for the Widget in the Exchange. It lists reviews and if the author provided an email it is listed there. You can post issues here and contact the author directly if they provide an email link (this author does not). I will post this fix in the review for this widget, and will try to contact the Widget Author to have them post a fix
-Scott Richards
Dreamweaver Team
Hi Margie. I removed - alert(href); from the changes, scott highlighted above.
Im always disappointed with anything to do with Internet explorer. It astonishes me that such a big player such as microsoft, fail to achieve what can be viewed in all other platforms. Chrome, Firefox, Safari.....sorry i cant help
I've actually fixed it since then and the links are working. I had to put an if then else statement in for IE and now it's working in Chrome, FF, and IE. I totally agree with you on IE. This is what I ended up with on the javascript:
<script type='text/javascript'>
var PrototypeFishEye = function(e){
var ele = Event.element(e);
window.location = ele.getAttribute("href");
}
var PrototypeFishEye = new FishEyeToolBar("PrototypeFishEye", { createSub : function(ele, options){
return new FishEyeItemDown(ele, options);
}});
// var rightEye = new FishEyeToolBar("fishEyeBottom");
// rightEye.addEventListener("itemClick", PrototypeFishEyelinkRelay);
PrototypeFishEye.addEventListener("itemClick", PrototypeFishEye);
</script>
I'm working from a server address at the moment, so I've taken out the actual address, but IE would not recognize the links with a slash '/' in front of the file name, but Firefox wouldn't recognize it without it. So here's what I did:
<!-- script for fisheye and general css -->
<script src="/../PrototypeFishEye/includes/prototype.js" type="text/javascript"></script>
<script src="/../PrototypeFishEye/includes/effects.js" type="text/javascript"></script>
<script src="/../PrototypeFishEye/includes/EventDispatcher.js" type="text/javascript"></script>
<script src="/../PrototypeFishEye/includes/FishEye.js" type="text/javascript"></script>
<!-- IE needs to use a different scriptpath to work -->
<!--[if lte IE 9]>
<script type="text/javascript" src="S:/../includes/prototype.js"></script>
<script type="text/javascript" src="S:/../PrototypeFishEye/includes/effects.js"></script>
<script src="S:/../PrototypeFishEye/includes/EventDispatcher.js" type="text/javascript"></script>
<script src="S:/../PrototypeFishEye/includes/FishEye.js" type="text/javascript"></script>
<![endif] -->
Message was edited by: Margie Hansen
North America
Europe, Middle East and Africa
Asia Pacific