|
qtip with simple html page
|
|
16th June, 07:14
Post: #1
|
|||
|
|||
|
qtip with simple html page
Sorry, but i dont understand HOW.
We create a HTML page. in <head> we include the "jquery.qtip.css" file. in the end of document, before <body> we include "jquery.qtip.js" (its jquery 1.4) and "jquery.qtip.min.js" (its qtip's code), right? I dont understand where i must write the PHP Code
??? I tried this variant, but its dont working PHP Code
What i do is wrong? |
|||
|
23rd September, 10:37
Post: #2
|
|||
|
|||
|
RE: qtip with simple html page
JS Code
Just a few changes, you can't run the code before you load the libraries. Hope it helps. |
|||
|
6th October, 01:42
Post: #3
|
|||
|
|||
|
RE: qtip with simple html page
[php][php]<html><head><title>Untitled Document</title>
<link type="text/css" rel="stylesheet" href="qtips/jquery.qtip.css" /> </head> <body> <a href="/wiki/Momentum" title="Wikipedia: Momentum">momentum</a> <script type="text/javascript" src="qtips/jquery.js"></script> <script type="text/javascript" src="qtips/jquery.qtip.min.js"></script> <script> $(document).ready(function() { // Match all <A/> links with a title tag and use it as the content (default). $('a[title]').qtip(); }); </script> </body> </html>[/php] include the js of jQuery and qTip ![]() and write the code below them. 'qTip is a good javascript library!',my mum said that:) |
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| [Solved] HTML for attaching qTip2 to <a> tag? | paigepauli | 2 | 277 |
26th March 22:12 Last Post: paigepauli |
|
| Loading Multiple qTip2 Scripts on the Same Page | jdiggs332 | 1 | 614 |
18th December 20:56 Last Post: Craig |
|
| [Solved] Dynamically disable/enable tips on the same trigger without refreshing page | dvieira | 1 | 710 |
27th October 18:01 Last Post: Craig |
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help




