www.webdeveloper.com
Results 1 to 2 of 2

Thread: Hide Script

  1. #1
    Join Date
    Aug 2006
    Posts
    2

    Hide Script

    Hello everyone. I am using a piece of code to open a small pop-up bubble when a link is clicked on. Everything works great except the piece of code needed to make it work is displayed on the page. I am not sure how to hide this.



    <div class="jq-codeDemo jq-clearfix">
    <pre><code>$("p.neat").addClass("ohmy").show("slow");</code></pre><a href="http://docs.jquery.com/Tutorials" class="jq-runCode">
    link text</a>

    ......etc.

    Thanks for any help!

  2. #2
    Join Date
    Sep 2008
    Location
    Mexico
    Posts
    786
    Have a test link?
    I don't understand why you are displaying the code in
    HTML Code:
    <pre><code></code></pre>
    It is somewhat redundant... and will show the "code" by design... is that what you are trying to do? or did you copy and past this from a tutorial where that is what they wanted to do?
    ...but stupidity is terminal.

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