Adding a pop up box

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • ofirbeigel
    Master Sergeant

    • Jul 2008
    • 65

    Adding a pop up box

    I think this might be in the tutorials because I remember seeing this somewhere but I checked and I could find the answer.
    Is there any way to add a symbol that when the mouse courser hovers above it - it opens a box that explain what is written next to it ?

    sort of a "what is this ?" question mark that you see in a lot of websites.

    Thanks.
    Ofir
  • Collectors-info
    General

    • Feb 2006
    • 8703

    #2
    Re: Adding a pop up box

    Can use this script in a html box LINK
    Regards Chris.

    Collectables, Collecting, collectors-info.com

    www.chrismorris.co.uk

    House build project

    Comment

    • ofirbeigel
      Master Sergeant

      • Jul 2008
      • 65

      #3
      Re: Adding a pop up box

      great link.
      But what HTML code should I use if I just want the pop up box without it linking when you press on it. I'm not very familiar with HTML so if you can just write the script that would be great.

      Comment

      • Collectors-info
        General

        • Feb 2006
        • 8703

        #4
        Re: Adding a pop up box

        Hi, follow the script a instructed & use the code below to suite the html box on the front of your page..

        With a link


        <a href="http://www.collectors-info.com" class="hintanchor" onMouseover="showhint('Your hint text here..', this, event, '250px')">[?]</a><br />

        Without a link

        <a href="#" class="hintanchor" onMouseover="showhint('Your hint text here.', this, event, '150px')">[?]</a>
        Regards Chris.

        Collectables, Collecting, collectors-info.com

        www.chrismorris.co.uk

        House build project

        Comment

        • ofirbeigel
          Master Sergeant

          • Jul 2008
          • 65

          #5
          Re: Adding a pop up box

          I already have it written with a "#" but still when I click it it sends me to the top of the page. Isn't there any way that it won't do anything ?

          Comment

          • Collectors-info
            General

            • Feb 2006
            • 8703

            #6
            Re: Adding a pop up box

            Hi, strange! try...
            <a href="#nogo" class="hintanchor" onMouseover="showhint('Your hint text here.', this, event, '150px')">[?]</a>
            Regards Chris.

            Collectables, Collecting, collectors-info.com

            www.chrismorris.co.uk

            House build project

            Comment

            • ofirbeigel
              Master Sergeant

              • Jul 2008
              • 65

              #7
              Re: Adding a pop up box

              Excellent! It worked.
              Thanks.

              Comment

              Working...
              X