buttons with no href, onclick etc.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Karun Chaudhary
    New Member
    • Jan 2012
    • 1

    #1

    buttons with no href, onclick etc.

    Lately, I've been seeing a lot of sites that have clickable objects that don't have any hrefs or onclicks in their html code. I also tried alerting their href, onclick, onmousedown, onmouseup attributes but it only says "undefined" . I do notice that there's a lot of complicated javascript in these pages.

    one site in particular baffles me: http://www.sharenator. com/Boy_Teaches_His _Puppy_How_to_E at/#/doggy_01_Boy_Te aches_His_Puppy _How_to_Eat-0.html

    It's actually pretty good. The buttons aren't selectable as well. The ids of the buttons are nextBtn, nextBtn2, prevBtn and prevBtn2.

    Anybody has any idea how to implement this?
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    that's because the events are defined within JavaScript/jQuery. check slideshow.js line ~405

    Comment

    Working...