Jump to content
php.lv forumi
  • 0

Popup logs


waplet

Question

Tā īsāk sakot vai kādam nav tāds popup logs,kurā var ievadīt tekstu,stils ir tāds kā tiem,nu zinat kad uzspiež uz bildītes mazas ,un tad itkā palielinas.

Un es nevaru atrast tādu, kur lai bildīties vietā varētu ielikt tekstu ;(

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

A Tev vienkārši slinkums lasīt to instrukciju (tā ir augšā virs piemēriem)? :D

How to Implement ThickBox:

 

Before you can implement ThickBox make sure the page that invokes ThickBox has a valid DTD. This is required for ThickBox to look and function correctly.

 

1. ThickBox requires the jQuery JavaScript library; because of this, you will need to include the jquery.js file in the head element of your web page, followed by the thickbox.js file (NOTE: jquery.js must come first in the source order). Example below:

 

<script type="text/javascript" src="path-to-file/jquery.js"></script>

<script type="text/javascript" src="path-to-file/thickbox.js"></script>

 

Once you have included the .js files, open thickbox.js or thickbox-compressed.js and locate the tb_pathToImage variable at the top of the page. Once you have found it, make sure to change the value of tb_pathToImage to the path where the loadingAnimation.gif file is located on your own server.

 

2. Include the ThickBox CSS file in your web page. As of version 3.1 you will also need to update the path to the macFFBgHack.png in the thickbox.css file. Example options below:

 

<link rel="stylesheet" href="path-to-file/thickbox.css" type="text/css" media="screen" />

 

Or

 

<style type="text/css" media="all">@import "path-to-file/thickbox.css";</style>

 

Or, open the thickbox.css file and copy and paste the styles into an existing style sheet. Be aware that the ThickBox CSS file will remove the browsers default padding and margin for all elements.

 

3. View the examples to learn the many different ways to use and invoke ThickBox functionality.

...

<input alt="#TB_inline?height=300&width=400&inlineId=myOnPageContent" title="add a caption to title attribute / or leave blank" class="thickbox" type="button" value="Show" />

<a href="#TB_inline?height=155&width=300&inlineId=hiddenModalContent&modal=true" class="thickbox">Show hidden modal content.</a>

<div id="myOnPageContent">

<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</p><p><select name=""><option>test</option></select></p></div>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...