Как да постигна този ефект?

diva4et0o0

Registered
Как да постигна този ефект?
1_125.png

При определен текст да се появява ето това нещо като помощ
 
ами доколкото разбирам искаш код за самото прозорче... погледни тук

но ако искаш да е при определени думи да се показват определени tooltip прозорчета ще трябва да ползваш и php

ето ти един бърз пример:
Код:
<?php
$string = "PHP: Hypertext Preprocessor is a widely used, general-purpose scripting language that was originally designed for web development to produce dynamic web pages. For this purpose, PHP code is embedded into the HTML source document and interpreted by a web server with a PHP processor module, which generates the web page document. As a general-purpose programming language, PHP code is processed by an interpreter application in command-line mode performing desired operating system operations and producing program output on its standard output channel. It may also function as a graphical application. PHP is available as a processor for most modern web servers and as standalone interpreter on most operating systems and computing platforms.

PHP was originally created by Rasmus Lerdorf in 1995[1] and has been in continuous development ever since. The main implementation of PHP is now produced by The PHP Group and serves as the de facto standard for PHP as there is no formal specification.[2] PHP is free software released under the PHP License.";

$string = str_replace("PHP", "<a href=\"http://php.net\">PHP</a>", $string);

echo "$string";

?>

В този пример навсякъде където има "PHP" ще бъде заменено с линк към PHP.net по същият начин можеш да направиш и самите tooltip-чета :)
 

Back
Горе