Home » Posts tagged "Colorbox"

Archive for the 'Colorbox' Tag

OnClientClick

OnClientClick properties to close pop-up window and redirect visitor back to parent page when using jQuery. <asp:Button ID=”InsertCancelButton” runat=”server” Text=”Cancel” PostBackUrl=”~/ManageAccounts.aspx” OnClientClick=”window.document.forms[0].target=’_parent’;”  /> Code behind – Login.aspx.vb Partial Class Login Inherits System.Web.UI.Page Protected Sub Submit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Submit.Click ‘/ define vars Dim usn As TextBox Dim pwd As TextBox […]

Colorbox

Colorbox example 1. Create colorbox folder on your pc/server 2. Download index.html file (here) and save it in colorbox folder 3. Download jQuery.colorbox.txt file (here) and save it in colorbox folder as jQuery.colorbox.js 4. Download colorbox.txt file (here) and save it in colorbox folder as colorbox.css 5. Download images.zip file (here) save it in colorbox […]