Need the correct syntax for Mouse over
Permalink
I have my two images in the file manager:
http://www.greaterbendrotary.com/index.php/about-rotary/donation-re...
http://www.greaterbendrotary.com/files/4113/9956/6219/pdf_over_smal...
However, I do not know the way to set this up in C5...even using HTML.
Any help appreciated...
Todd
http://www.greaterbendrotary.com/index.php/about-rotary/donation-re...
http://www.greaterbendrotary.com/files/4113/9956/6219/pdf_over_smal...
However, I do not know the way to set this up in C5...even using HTML.
Any help appreciated...
Todd
I have inherited an application that has a mouseover on a png that takes the users to a pdf page. I am not sure how the html was created.
http://www.greaterbendrotary.com/index.php/about-rotary/donation-re...
Iwould like to do the same here:
http://www.greaterbendrotary.com/index.php/ad-sales-campaign/...
Any help would be greatly appreciated.
Todd
http://www.greaterbendrotary.com/index.php/about-rotary/donation-re...
Iwould like to do the same here:
http://www.greaterbendrotary.com/index.php/ad-sales-campaign/...
Any help would be greatly appreciated.
Todd
You should be able to do both the link and the image with the built in image block and it will take care of that javascript to change out the image for you.
If you ever want to do this by hand with HTML and javascript the syntax looks like this
If you ever want to do this by hand with HTML and javascript the syntax looks like this
<a title="Title" href="LinkToPDF"><img onmouseover="this.src='URLToHoverImage';" onmouseout="this.src='URLToRegularImage';" src="URLToRegularImageg" /></a>
You can often do mouseover changes without any javascript by using the css :hover selector. Sometimes the css way is easier. Sometimes the javascript way is easier.
Thank you all for the insights into what would otherwise be difficult for me to discover on my own (as so many aspects of C5 happen to be). Coming from a PHP background, it has been difficult for me to get in sync with the MVC, C5 style, way of doing things let alone to learn that "extra language".
With appreciation...
Todd
With appreciation...
Todd
If you are trying to do something else please provide more detail as to what you are trying to do.