www.webdeveloper.com
Results 1 to 2 of 2

Thread: Smilies

  1. #1
    Join Date
    May 2005
    Location
    Near my Computer
    Posts
    527

    Smilies

    Y somethimes does the Smilies when i click on them just scroll the page 2 the top???? :?

  2. #2
    Join Date
    Dec 2002
    Location
    Manchester, UK
    Posts
    6,276
    Perhaps you sometimes have JavaScript disabled. If you look at one of the links:
    Code:
    <a href="#" onclick="smilie(':)'); return false;"><img src="images/smilies/smile.gif" alt="Smilie" border="0" /></a>
    It calls a JavaScript function to insert the smilie code into the textarea, then returns false so that the default action of the link is not carried out. If you have JavaScript disabled then it would just return you to the top of the page.
    Every fight is a food fight when you’re a cannibal.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles