I created a html site that has images that are links, the images change on mouseover. I use a jquery function for this. It all works perfect in HTML, but Im not sure how to combine the anchor and base_url to them when converting them to codeigniter.
I have been at this all day Id really appreciate any help, I am new to codeigniter I could not find any answers on their page or with a google search.
HTML code (works fine):
<a href="hotel.html">
<img src="img/image.png" hover="img/hoverimage.png" class="rollover"/>
</a>
I can get as far as linking the src image and can apply the class=rollover I just can not figure out how to add the hover="img/hoverimage.png"
<?php echo anchor('hotel', img('img/image.png'), array('class'=>'rollover' ));?>