SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Jan 2009
    Location
    London, UK
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to do expand box like in Sitepoint

    If you click on a user's name in Sitepoint then a box opens with options like "Visit Public Profile" / "Visit Homepage" / "Find More Posts by ..."

    I'd like to do something on my site with PHP. Can anyone point me in the right direction? A link to a tutorial or something like that would be great.

    Andrew

  2. #2
    SitePoint Addict
    Join Date
    Jul 2007
    Location
    San Jose, California
    Posts
    355
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    just search like drop down nav javascript or drop down nav css.

  3. #3
    SitePoint Member
    Join Date
    Jan 2009
    Location
    London, UK
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, thanks. What about if I want to open a form in a small window when a user clicks on a link? Basically, I want then to click on a "request info" link, and then the window will open where they can enter their email address.

  4. #4
    SitePoint Addict
    Join Date
    Jul 2007
    Location
    San Jose, California
    Posts
    355
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Same way you'd do it in HTML.

    <a href="url.ext" target="_BLANK">This opens in a new window</a>
    <a href="#" onClick="javascriptFunction()">This one loads a javascript function</a>

    And these questions would be better asked on the css/javascript forums posisbly html, as they are in no way related to php.


Bookmarks

Posting Permissions

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