module JQueryCheats
require 'railtie' if defined?(Rails)
require 'engine' if defined?(Rails)
module HoverImage
#class used to do a quick Hover image
#class << self
def mouseoverimage(initimage,hoverimage)
cheats_image_tag =""
cheats_image_tag = ""
return cheats_image_tag.html_safe
end
def submitimage(imagepath,alt="Image Tag")
button_tag = "
".html_safe
button_tag += "".html_safe
return button_tag
end
def simplemolink(imagepath,link)
hover_arry = imagepath.split('.')
extension = hover_arry.pop
newpath = hover_arry.join
newlink = "#{self.mouseoverimage(imagepath,newpath+"-hover."+extension)}".html_safe
return newlink
end
def initialize()
end
#end#end self
end
end