Announcement

Collapse
No announcement yet.

javascript event

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • javascript event

    I try to jump to a certain website when I click on an image field. The javascript procedure generated by SC is:

    function sc_logo_onclick()
    {
    window.location.href = 'http://www.ouderkracht.nl/something';
    }


    but, when I click the image nothing happens. Why?

    (something is added to prevent google finding the cms site, in my code the correct url shows)

    By the way, if you put a javascript alert into the onclick event it doesn't work either
    Last edited by aducom; 10-04-2012, 04:52 AM.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl
Working...
X