I created a quick gallery website using jquery Responsive Image Gallery (http://jpatrickking.com).
It works fine in a desktop browser, but when viewing the gallery on an ipad, if I try to pinch to zoom (or touch the image in any way), the gallery automatically advances to the next slide. This...
Hi everyone,
I'm looking for a way to create a small javascript text navigation system. I have a faculty list of 30 names, only 10 of which will fit in the design at a time. So I'd like functionality where the first 10 are displayed initially, then you can click on "More" to display the next 10...
I have the following variable that I'd like to add a superscript character to. If the value from a dropdown selection equals MLS(ASAP), I'd like to add that CM superscript to the value. This value will be inserted into an Excel CSV via FPDF.
However, the code below simply inserts the HTML...
Does anyone have any experience installing an Open Type font and using it with FPDF and PHP? Can it even be done? I've got the PDF functionality working great, but for the life of me can't figure out how to install a new font, Open Type or otherwise,
Also, I have another version of the same...
I have a script that takes the form submission of a user, creates a .csv and attaches it to an email, then sends the email.
The issue I have now is that I can't get the Price variable into the message body of the email. Currently is reads, "The Price is: $price." but when I receive the email...
I know this should be simple, but I just started php. I have a form that will submit an email. The company name will be set by a selection from a drop down (with values of Company1,Company2,Company3). What I have below always returns Company3, regardless of which option I select from the drop...
I have several pages that a user can either submit or skip using a regular submit input. All of my content resides inside an iframe of my client (which resides inside another iframe on their containing page). When a user cycles through my content, I'm trying to get the client's browser The...
Hello all,
I'd like to email the results of a contact form submission as an Excel attachment. I'm currently using the following (abbreviated):
<?php
@extract($_POST);
$name = stripslashes($name);
$email = stripslashes($email);
$subject = 'Contact Form';
$text = stripslashes($message);
/*...
Hey all, I've started a script but can't quite get it right.
I have two inputs for email address and confirm email address. If both those fields have the same value, then a <div> containing a checkbox should display. If they don't match, it should stay hidden.
That catch is that the script...
I have a form that contains 2 questions. The first question has up to 20 checkbox selections.
The second question contains a dropdown (select menu) that I would like to have dynamically populated by the items that were checked in the previous question.
I'm not sure how to do this. Any ideas or...
Anyone know how to achieve the following:
I have several testimonial divs, each with different content, like this:
<div ID="alice">Alice's testimonial.
Lots of other HTML</div>
<div ID="bill">Bill's testimonial.
Lots of other HTML</div>
<div ID="sandy">Sandy's testimonial.
Lots of other...
I have the following script which simply takes whatever is in the "Email" field, and puts it in the "Username" field. Can anyone think of a reg expression that would only take the characters up to the @ symbol in an email address, and place only those characters in the "Username" field?
Thanks...
Here's a more detailed explanation of what I'm trying to do:
I'm trying to use Javascript to set the filter criteria of my XSLT depending on the selection in a select menu.
Here's my XML:
<?xml version="1.0" ?>
<catalog>
<coupons>
<title>Title</title>
<category>Category</category>...
I have an XML file where each coupon has a category node. For example:
<master>
<coupon>
<category>category 1</category>
<description>blah blah blah</description>
</coupon>
<coupon>
<category>category 2</category>
<description>blah blah blah</description>
</coupon>
</master>
I'd like to filter...
I have the following script for a tooltip (I'm using it to display fairly large images). However, when someone has a low enough resolution (or their browser is not maximized) the tooltip sometimes displays UPWARDS (toward the TOP of the browser)from the trigger.
Anyway to modify the script so...
I have the following javascript that I need to modify so when I click on the completeform.gif, <div id="one"> displays, and when I click on showdetails.gif, <div id="two"> displays. They should just toggle between the two. Been working on it for awhile but I can't seem to figure it out...
I'm using the following show/hide script. If a user clicks No, it will clear all checkboxes and radio buttons in the appropriate div.
Anyone know how I could make it so that any select boxes change back to the default (value=select), if a user clicks No? I'd that to add that functionality to...
Hi everyone,
I have a query that returns rows for search results. The first column is a Category ID that, in the output, is displaying the ID number. I'd like the output to display the name of the category, not the ID number (see below)
This is my query:
SELECT *
FROM Products
WHERE 0=0
AND...
Anyone have or seen a script that performs the following...
I have one large image (about 500px height, though it could be anything up to 600px) contained within a <div>. On load, the div's height is set to 200px, so only the top portion of the image can be seen. When a user clicks a button...
How can I delay the firing of this function by 2 seconds? The following is not working.
function showlayer(whichLayer) {
document.getElementById(whichLayer).style.display = 'block';
setTimeout("showlayer()",2000);
}
Thanks
Rick
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.