×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Open on mouseover rather than click

Open on mouseover rather than click 14 years 6 months ago #9662

  • Bill Pellowe
  • Bill Pellowe's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Is it easy to edit the javascript file so that the comment area opens up when the mouse hovers over the link, rather than when the person clicks? I'd like to experiment a bit with that to see if it encourages more comments.

Open on mouseover rather than click 14 years 6 months ago #9665

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Which compojoomComment template are you using?

Open on mouseover rather than click 14 years 6 months ago #9666

  • Bill Pellowe
  • Bill Pellowe's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
I'm using SmodernSlide - emotop with the css of "black"

Open on mouseover rather than click 14 years 6 months ago #9680

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Bill you will have to edit the index.html file of the smodernSlide template.
On line 132 you will find this
	<a href="javascript:JOSC_toogle('JOSCSHstretcherFORM');">
 
change it to this:
	<a href="javascript:JOSC_toogle('JOSCSHstretcherFORM');" onmouseover="javascript:JOSC_toogle('JOSCSHstretcherFORM');">
 

Cheers,
Daniel

Open on mouseover rather than click 14 years 6 months ago #9685

  • Bill Pellowe
  • Bill Pellowe's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Thank you! :D

I tried it. I don't think it was a good idea. :/
Sure, it opens fine, but the problem is, it also closes, so it's very distracting. I changed it back to the original.

Open on mouseover rather than click 14 years 6 months ago #9686

  • Bill Pellowe
  • Bill Pellowe's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0

Bill Pellowe wrote: I don't think it was a good idea. :/


What I mean here is, my idea to toggle on mouseOver wasn't very good. Your solution was fine!
  • Page:
  • 1
Time to create page: 0.113 seconds