Thanks for the advice. I copied the code into WordPad first
and then brought into Robo. This seemed to fix the problem
previously where Robo was changing the code slightly. I should
mention I'm using RoboHelp 7 HTML and publishing to RoboHelp 7
Server.
Again, this javascript is supposed to make an image I created
a link that will open up the Favorites window promting the user to
save it to their Favorites. When I preview the page, my image does
not appear, but the "X" empty image when clicked does open up
Favorites, so the javascript seems to work. With the image being
referenced within the Javascript, in the Design view the image does
not display (just get that red box indicating there is a script
there).
I published the project to the server to see how it would
appear, but I don't even get the empty image there so there's
nothing to click on to execute the javascript. Also, when
publishing was completed I noticed the image did not get published
to the server, so I assume I cannot include the image within the
javascript....in order for an image to be published to the server
it needs to be viewable in Design view??? I can try the script
without using an image as a link, but am wondering if I just need
to get the image published to the server for it to work?
I've attached the javascript code I used. Thanks!