# Demo

- Details
- Category: Demo
- Hits: 1226

This is a demo of JExtBOX Equation which is a Joomla extension for inserting math.

For example, consider the following LaTeX code.

$$\frac{x^2}{a^2}+\frac{y^2}{b^2}=1$$

After rendering, we have the following equation. \[\frac{x^2}{a^2}+\frac{y^2}{b^2}=1\]

Let see the other example `\begin{equation}\int_{0}^{1}\sqrt{x}dx=?\label{eq1}\end{equation}`

.

Its result will be numbered equation like the following equation. \begin{equation}\int_{-\infty}^{+\infty}e^{-x^2/2}dx=?\label{eq2}\end{equation}

To call equation, labeled eq1, like (\ref{eq2}), it needs to be written `\ref{eq1}`

.

Now consider inline equations.

`$\frac{x^2}{a^2}+\frac{y^2}{b^2}=1$`

is inline equation.

\(\frac{x^2}{a^2}+\frac{y^2}{b^2}=1\) is inline equation.

**PSPicture Example**

```
\begin{pspicture}(-4,-3)(4,6)
\uservariable{alpha}(0.1,0){x}
\psplot[algebraic,linewidth=2pt]{-4}{4}{pow(x,2)}
\psplot[algebraic,linecolor=blue,linewidth=3]{-4}{4}{4*(x-alpha)*alpha}
\psline{->}(-4,0)(4,0)
\end{pspicture}
```

The other example

```
\begin{pspicture}(-5,-5)(5,5)
\rput(0.3,3.75){ $Im$ }
\psline{->}(0,-3.75)(0,3.75)
\rput(3.75,0.3){ $Re$ }
\psline{->}(-3.75,0)(3.75,0)
\pscircle(0,0){ 3 }
\rput(2.3,1){$e^{i\omega}-\alpha$}
\userline[linewidth=1.5 pt]{->}(1.500,0.000)(2.121,2.121)
\userline[linewidth=1.5 pt,linecolor=blue]{->}(0,0.000)(2.121,2.121){(x>0) ? 3 * cos( atan(-y/x) ) : -3 * cos( atan(-y/x) ) }{ (x>0) ? -3 * sin( atan(-y/x) ) : 3 * sin( atan(-y/x) )}
\userline[linewidth=1.5 pt,linestyle=dashed](-1.500,0.000)(2.121,2.121){x}{0}{x}{y}
\userline[linewidth=1.5 pt,linestyle=dashed](-1.500,0.000)(2.121,2.121){0}{y}{x}{y}
\rput(-0.75,-4.25){$1+\alpha$}
\rput(2.25,-4.25){$1-\alpha$}
\psline{<->}(-3,-4)(1.5,-4)
\psline{<->}(1.5,-4)(3,-4)
\psline[linestyle=dashed](3,-4.5)(3,0)
\psline[linestyle=dashed](-3,-4.5)(-3,0)
\psline[linestyle=dashed](1.5,-4.5)(1.5,0)
\end{pspicture}
```

To test the rendering of maths which are loaded later, you can enter an equation as a comment below.

- Details
- Category: Demo
- Hits: 11453

This is demo of the Joomla extension which is named JExtBOX YouTube Custom iFrame Player.

The following player is the result of the script `[youtube]agMGyThdulE[/youtube]`

which are containing a single video. We configured the extension to play videos automatically. Web browsers, such as Chrome, blocks audio content being played without any user interaction. Thus we muted it when the extension was configured. For next players, auto-play functionality is disabled by the extension which is its parameter.

The following player contains multiple videos. Also we set start and end time for the first video. In this case, it needs the following script. In addition, the extension can be skipped scripts inside pre and code tags which are used to programming code.

- Details
- Category: Demo
- Hits: 4166

This is a demo of JExtBOX Login to Read More plugin with the integrated log-in module. After successful log-in, it redirects to the current article and an user can read full text.

You can login by using an user account has user name "guest" and pasword "jextbox_demo".