Results 1 to 2 of 2

Thread: divs

  1. #1
    Join Date
    Dec 1969

    Default divs

    Hello, i&#039;ve a page that as 5 divs, every time i click a link a function makes one of the five visible and the rest of them hiden, now i wanted to control them so i could decide if they were or not "clickable", imagine i&#039;ve a page that i can edit is content, BUT whenever i&#039;m editing his content i don&#039;t want the user to be able to change div (i would have to disable the onclick event from the divs) is this possible?<BR><BR><BR>regards

  2. #2
    Join Date
    Dec 1969

    Default Sure.

    Allow it to be clicked, but just have a global flag of to determine if you are in editmode or not. If you are in editmode, don&#039;t do anything. If they aren&#039;t, proceed w/ the function as normal.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts