Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New Coder
    Join Date
    Jul 2002
    Location
    Noblesville, IN
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts

    inline popup window.

    i have some text on a page where when you click on it it pops up a new window. how can i make that an inline popup so that it looks like it is on the same page. can you point me to a good tutorial?

    thanks,
    ed.
    Ed Ventura
    Graphic/Web Designer
    www.blackwatercompany.com

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    ColoRockyz
    Posts
    1,649
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Not clear on what you mean...

    <a href="#" onclick='window.open("page.html","pagename","width=200,height=100,etc.");'>Pop it</a>

    Like dat?

    With all the pop-up killers on the market, it's probably a good idea not to use pop-ups anymore...
    Zoobie or not Zoobie...That is the problem.
    <body onUnload="flush( ! )">

  • #3
    New Coder
    Join Date
    Jul 2002
    Location
    Noblesville, IN
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts
    no, i don't want to open a new window, i just want to sort of do a "fake" popup where when you click on think, more descriptive text shows up (but in the same browser window), but right next to the text i clicked on.
    Ed Ventura
    Graphic/Web Designer
    www.blackwatercompany.com

  • #4
    Regular Coder
    Join Date
    Jul 2003
    Location
    Massachusetts
    Posts
    472
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I think something like this is what you're looking for.
    Moderator @ WebDeveloper.com
    Mentor @ WebXpertz.net

  • #5
    Senior Coder
    Join Date
    Jun 2002
    Location
    ColoRockyz
    Posts
    1,649
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Ahh...a tooltip. Well, fred's link is in color but it loads a lot of javascript retarding page loading.
    I'd simply use the 'title' attribute with formatting:
    <a href="page.html" title="Small description here
    This is line 2
    This is line 3">Link</a>

    It works on hover so the user doesn't have to click anything...Can work with an image, too...but use 'alt' instead of 'title'.

    An 'alert' or 'confirm' box with description could be used, too.

    Now you have choices...
    Last edited by zoobie; 09-29-2003 at 08:41 PM.
    Zoobie or not Zoobie...That is the problem.
    <body onUnload="flush( ! )">

  • #6
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It works on hover so the user doesn't have to click anything...Can work with an image, too...but use 'alt' instead of 'title'.


    Always use Title for tooltips! ALT is for accessability purposes and can be used with Title on an image. Don't let IE's incorrect implementation of ALT fool you. IE will display the title text as a tooltip if it's present and the alt text if the title text is empty but the alt text is not so title is always the preferred property to use.
    Last edited by Roy Sinclair; 09-29-2003 at 09:54 PM.
    Check out the Forum Search. It's the short path to getting great results from this forum.


  •  

    Posting Permissions

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