Author |
Topic |
|
sjk
Novice
USA
3 Posts |
Posted - 31 Dec 2008 : 00:05:02
|
Perhaps it's my lack of experience on this one particular issue(although I have been able to design and put online several terrific websites using the Hexagora software: see, for example: http://www.octrackers.comandhttp://longbeachfueldocks.com, BUT I have not been able to successfully insert an external javascript called vzoom.js into pages that I create with the Dynamic HTML Editor software. My inability to figure this one out is DESPITE the fact that I was able to figure out how to insert a DIFFERENT type of external javascript (one that retireved and inserted a "seal" signifying the presence of a "certified website" on pages I built with the Hexagora editor at http://www.vetatthebarn.com/home.htm .
However, the vzoom.js has me stumped. I've tried using the HTML tool, the Generic Objects tool (e.g. the iframe tool, for example) yet my efforts have not produced the desired results. The purpose of the vzoom.js script is to generate in essence a "magnifying glass" when the cursor is moved over an image in the webpage.
The following javascript code is placed between the HEAD sections of the page:
<script type="text/javascript" src="/vzoom.js"></script> <link type="text/css" rel="stylesheet" href="/vzoom.css" />
and the rest of the coding is placed in the body as follows:
<td align="center"> <a id="product_photo_zoom_url" href="/" title=""> <img id="product_photo" src="/.jpg" border="0" alt="" onload="vZoom.add(this, '/jpg');" /></a> </td>
ANYONE HAVE ANY IDEAS AS TO WHAT I'M MISSING HERE? Your input would be greatly appreciated. |
Edited by - sjk on 31 Dec 2008 01:01:37 |
|
s.dav
Site Admin
Italy
3364 Posts |
Posted - 31 Dec 2008 : 09:00:01
|
I was writing the solution when I found some problems in your script: 1- the second part of code <td> etc... is not valid, the <TD> tag must be inside a <table> tag so it must be checked 2- the "onload" event doesn't exist for the <IMG> element so it is not managed by D.H.E.; maybe Internet Explorer manages it but it is not W3C
see here:
http://www.w3.org/TR/REC-html40/sgml/dtd.html#events
3- Please send me the address where I can find vzoom.js because I was not be able to find it and I'll write the solution on the forum. |
Regards, Davide |
|
|
sjk
Novice
USA
3 Posts |
|
s.dav
Site Admin
Italy
3364 Posts |
Posted - 08 Jan 2009 : 09:37:48
|
Nice effect, I'll check it |
Regards, Davide |
|
|
s.dav
Site Admin
Italy
3364 Posts |
|
sjk
Novice
USA
3 Posts |
Posted - 04 Feb 2009 : 11:11:12
|
Thanks Davide --- I'll give it a try....appreciate your help! |
|
|
netnut
Novice
4 Posts |
|
s.dav
Site Admin
Italy
3364 Posts |
Posted - 22 Oct 2009 : 09:17:13
|
Unfortunately it is a payment script so I cannot create an extension for this ;-) |
Regards, Davide |
|
|
|
Topic |
|