I am having a problem with code appearing is search results. I'm using the Professional edition via the Dreamweaver extension v5 build 1008.
As an example below is the first result. Notice that the first line under the page title contains the tail end of code that is found within an <img> tag.
1. Lodging - Pennsylvania
... Pennsylvania ', TITLE, 'Black Shanty Run Hickory Run State Park, Pennsylvania', LEFT, true, OFFSETY, -200)" /> The Pocono Mountains of Northeastern Pennsylvania offer 2,400 square miles of wooded peaks and valleys with numerous sparkling lakes, rushing rivers, and some of the loveliest waterfalls in the ...
Below is the full img tag as it's used in the page....
<img src="userimages/pennsylvania.jpg" width="130" height="179" alt="Black Shanty Run - Hickory Run State Park, Pennsylvania" title="Black Shanty Run - Hickory Run State Park, Pennsylvania" onmouseover="Tip('<img src=\'userimages/pennsylvania_full.jpg\' width=\'309\' height=\'425\'>', TITLE, 'Black Shanty Run<br />Hickory Run State Park, Pennsylvania', LEFT, true, OFFSETY, -200)" />
I am using WZ Tooltips so that the image can be moused over to produce a larger resolution image accompanied by some text. The WZ Tooltip code is contained within the mouseover event. But because WZ Tooltips requires special characters to be used (for example: \' instead of a " double quote character), I suspect this is where the problem originates. FWIW A search for "OFFSETY" generates results for every page that uses the code.
Is there an easy way to prevent the code from appearing in search results? I know I can use the <!--ZOOMSTOP--> and <!--ZOOMRESTART--> options before and after the img tag, but unlike using these options once in my Dreamweaver templates I would have to insert it in every page manually as well as in every instance of WZ Tooltips functionality whenever it's included in a page. I would like to avoid that extra work and am hoping a single fix could be made somewhere in Zoom but I can't find any setting that applies to img tags other than the ALT setting, which didn't make any difference when I tried disabling it.
Regards,
Frank
As an example below is the first result. Notice that the first line under the page title contains the tail end of code that is found within an <img> tag.
1. Lodging - Pennsylvania
... Pennsylvania ', TITLE, 'Black Shanty Run Hickory Run State Park, Pennsylvania', LEFT, true, OFFSETY, -200)" /> The Pocono Mountains of Northeastern Pennsylvania offer 2,400 square miles of wooded peaks and valleys with numerous sparkling lakes, rushing rivers, and some of the loveliest waterfalls in the ...
Below is the full img tag as it's used in the page....
<img src="userimages/pennsylvania.jpg" width="130" height="179" alt="Black Shanty Run - Hickory Run State Park, Pennsylvania" title="Black Shanty Run - Hickory Run State Park, Pennsylvania" onmouseover="Tip('<img src=\'userimages/pennsylvania_full.jpg\' width=\'309\' height=\'425\'>', TITLE, 'Black Shanty Run<br />Hickory Run State Park, Pennsylvania', LEFT, true, OFFSETY, -200)" />
I am using WZ Tooltips so that the image can be moused over to produce a larger resolution image accompanied by some text. The WZ Tooltip code is contained within the mouseover event. But because WZ Tooltips requires special characters to be used (for example: \' instead of a " double quote character), I suspect this is where the problem originates. FWIW A search for "OFFSETY" generates results for every page that uses the code.
Is there an easy way to prevent the code from appearing in search results? I know I can use the <!--ZOOMSTOP--> and <!--ZOOMRESTART--> options before and after the img tag, but unlike using these options once in my Dreamweaver templates I would have to insert it in every page manually as well as in every instance of WZ Tooltips functionality whenever it's included in a page. I would like to avoid that extra work and am hoping a single fix could be made somewhere in Zoom but I can't find any setting that applies to img tags other than the ALT setting, which didn't make any difference when I tried disabling it.
Regards,
Frank
Comment