• We just launched and are currently in beta. Join us as we build and grow the community.

Twitter Bootstrap Popover

hoangbn000111

Lead Gen Expert
H Rep
0
0
0
Rep
0
H Vouches
0
0
0
Vouches
0
Posts
87
Likes
67
Bits
2 MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1 300 XP
Hi guys,

I have here a Popover from twitter bootstrap. Add small overlays of content, like those on the iPad, to any element for housing secondary information. Try this code to your future project. Hope you like this code, for more question email me at [email protected] or visit twitter bootstrap website.

Thank you.

Sample code:
  1. <html

    >
  2. <?php include(

    'header.php'

    )

    ; ?>
  3. <body

    >
  4. <div

    class

    =

    "row-fluid"

    >
  5. <div

    class

    =

    "span12"

    >
  6. <div

    class

    =

    "container"

    >
  7. <center

    >
  8. <script

    type

    =

    "text/javascript"

    >
  9. $(document).ready(function(){

  10. $('#first').popover('show')
  11. $('#first').popover('hide')
  12. });
  13. </

    script

    >
  14. <script

    type

    =

    "text/javascript"

    >
  15. $(document).ready(function(){

  16. $('#second').popover('show')
  17. $('#second').popover('hide')
  18. });
  19. </

    script

    >
  20. <script

    type

    =

    "text/javascript"

    >
  21. $(document).ready(function(){

  22. $('#third').popover('show')
  23. $('#third').popover('hide')
  24. });
  25. </

    script

    >
  26. <script

    type

    =

    "text/javascript"

    >
  27. $(document).ready(function(){

  28. $('#fourth').popover('show')
  29. $('#fourth').popover('hide')
  30. });
  31. </

    script

    >
  32. <a

    id

    =

    "first"

    class

    =

    "btn btn-large"

    data-placement=

    "top"

    data-content

    =

    "content here"

    title

    =

    ""

    data-toggle=

    "popover"

    href

    =

    "#"

    data-original-title

    =

    "A Title"

    >

    Click to toggle popover top</

    a

    >

    <br

    >
  33. <br

    >
  34. <a

    id

    =

    "second"

    class

    =

    "btn btn-large"

    data-placement=

    "left"

    data-content

    =

    "content here"

    title

    =

    ""

    data-toggle=

    "popover"

    href

    =

    "#"

    data-original-title

    =

    "A Title"

    >

    Click to toggle popover left</

    a

    >

    <br

    >
  35. <br

    >
  36. <a

    id

    =

    "third"

    class

    =

    "btn btn-large"

    data-placement=

    "right"

    data-content

    =

    "content here"

    title

    =

    ""

    data-toggle=

    "popover"

    href

    =

    "#"

    data-original-title

    =

    "A Title"

    >

    Click to toggle popover Right</

    a

    >

    <br

    >
  37. <br

    >
  38. <a

    id

    =

    "fourth"

    class

    =

    "btn btn-large"

    data-placement=

    "bottom"

    data-content

    =

    "content here"

    title

    =

    ""

    data-toggle=

    "popover"

    href

    =

    "#"

    data-original-title

    =

    "A Title"

    >

    Click to toggle popover bottom</

    a

    >
  39. </

    center

    >
  40. </

    div

    >
  41. </

    body

    >
  42. </

    html

    >

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.

2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Download
You must upgrade your account or reply in the thread to view hidden text.
 

452,292

323,526

323,535

Top