Results 1 to 8 of 8

Thread: How do I set up this script?

  1. #1
    Join Date
    Dec 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How do I set up this script?


  2. #2
    Join Date
    Aug 2005
    Posts
    971
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Please do not double post.

  3. #3
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Why would you want to? Do you intend to annoy your visitors?

    Mike

  4. #4
    Join Date
    Aug 2005
    Posts
    971
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yea, seems so.

  5. #5
    Join Date
    Dec 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    (huh, why even ask such a question? Its a school project where you have to have an javascript effect to get a better grade in "javascript programming")

    I thought as a newbie that this was a simple script to do but I apparently its not

  6. #6
    Join Date
    Aug 2005
    Posts
    971
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Well, it is a simple script but it's annoying. If this is just an effect(not for practical usage) it doesn't really matter but if you use it in your site or something your users are so going to be annoyed.

  7. #7
    Join Date
    Dec 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by shachi View Post
    Well, it is a simple script but it's annoying. If this is just an effect(not for practical usage) it doesn't really matter but if you use it in your site or something your users are so going to be annoyed.
    The purpose of this homework isnt to produce a non-annoying either annoying script rather showing the teacher that you got the knowledge of doing a script like this.

  8. #8
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    There are several possibilities. One of the easiest is to set a visibility true/false.

    When page loads have btn1 set to true, and btn2 and btn3 set to false.

    use on mouseover events to set the next in line to true while turning current one off.

    And yes, while it will annoy the average visitor, there can be a practical approach to doing such a thing.

    One, a good joke site, these are always fun to trick your friends/visitors. Second, perhaps this would be a new(ish) way to block some bots from sending forms through your site? If worked correctly it could be very useful.

    I am not very good with JS, so I can't give a code to do such a thing right off, but I will look into it if there isn't a plausable response soon.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

Bookmarks

Posting Permissions

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