Results 1 to 7 of 7

Thread: Adding a pop up box
      
   

  1. #1
    ofirbeigel is offline Master Sergeant
    Join Date
    Jul 2008
    Posts
    65

    Default 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

  2. #2
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,721

  3. #3
    ofirbeigel is offline Master Sergeant
    Join Date
    Jul 2008
    Posts
    65

    Default 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.

  4. #4
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,721

    Default 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>

  5. #5
    ofirbeigel is offline Master Sergeant
    Join Date
    Jul 2008
    Posts
    65

    Default 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 ?

  6. #6
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,721

    Default Re: Adding a pop up box

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

  7. #7
    ofirbeigel is offline Master Sergeant
    Join Date
    Jul 2008
    Posts
    65

    Default Re: Adding a pop up box

    Excellent! It worked.
    Thanks.

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49