I would like to get something like this using Thickbox:
But I'm not sure how to add an image (the golden rose) in the description part (it uses title="description" in the anchor link).
P S: Can I change the color of the description elements?
I would also like to know how to make the scroll bar appear.
Thanks in advance.
...
I am a jQuery noobie, and have been trying to add a script to change the id of a div onClick.
Here is a jsfiddle example.
$(function accept() {
$("div:scrollwrap").attr('scrollwrap','highlight');
});
Thanks :)
...
I have a function that grabs an XML document and transforms it according to an XSL document. It then places the result into a div with the id laneconfigdisplay. What I want to do is, separate to the transformation logic, setup a jQuery change event for that div so I can tell when it has changed, and run some jQuery code.
I have tried ...
How to use FancyUpload in a JQuery based project? The page in which I will use FancyUpload is made of JQuery. How to use FancyUpload? Please mention every steps in details. Please
...
Hi,
I'm trying to achieve the following functionality. Within a form I have multiple fields with the class name .inputField if one of these fields is selected then the div associated with that element should be shown on focus and hidden on blur. However, when I implement the code below on selecting the second element the class is appl...
What's wrong here? The alert function was working until I added this new function to it.
Is there anything I am doing wrong? It just simply doesn't fire the alert anymore.
<input value="1" type="checkbox" name="salgsvilkar" id="checkbox2" style="float:left;"
/>
{literal}
<script src="http://code.jquery.com/j...
I am trying to implement a dynamic search jquery and php, but I am not able to change the value of a javascript variable on my onclick event.
<script type="text/javascript">
var main_category = '<?php echo $main_category?>';
var main_url = '<?php echo $url?>get/' + encodeURIComponent(main_category) + '/';
var container_id = '<?php...
Hi,
I am working on text area using jquery, to provide good UI validation.
Currently I stuck at -
Once user click in text area I want to set cursor position forcefully at end.
Please provide me some jquery solutions so resolve this ?
Thanks in advance
-Pravin
...
According to the jQuery manual you can send extra parameters (as an array) when calling a trigger. I am using this at the moment:
$('#page0').trigger('click', [true]);
How would I pick up whether the paramter has come through or not when using this?
$('ul.pages li a').click(function() {
// Do stuff if true has been passed as an ext...
Hi there,
I am some real trouble getting the transitions working for my iPhone site, I am trying to add the 'flip' transition using,
<a class="button flip" href="#about">About</a>
However I get no flip transition nor do is navigate to the about anchor, here is my HTML,
<!DOCTYPE html>
<head>
<meta name="viewport" co...
Hi guys,
I'm creating a gallery of images pulled in via a twitter image hosting service, and I want to show a loading graphic before they are displayed, but the logic seems to be failing me. I'm trying to do it the following way:
<ul>
<li>
<div class="holder loading">
</div>
</li>
<li>
<div class="hol...
I'm new to PHP and MySQL I want a user to be able to store multiple names and there meanings in a MySQL database tables named names using PHP I will dynamically create form fields with JQuery every time a user clicks on a link so a user can enter 1 to 1,000,000 different names and there meanings which will be stored in a table called nam...
I have a modified version of the jFeed plugin and now want to pack the four source files.
There is a Makefile and some perl scripts in the download but I don't know how to use them.
This is the file structure:
\Makefile
\proxy.php
\src\jatom.js
\src\jfeed.js
\src\jfeeditem.js
\src\jrss.js
\build\packer\jsPacker.pl
\build\packer\Pack.p...
I have a div tag and i'm changing its innerHtml attribute. And i want to add listener to this div tag to show/hide when its innerHtml changed.
...
I'm using @rem's jQuery :visited plugin to do something with visited links on a page. The plugin works by creating an invisible iframe, injecting the HTML source, and comparing the colour of links to see which have been visited. It works perfectly.
The problem I have is that on Safari, the status bar message always hangs on "Loading (X-...
What I'm trying to do is make a grid of invisible coordinates on the page equally spaced. I then want a <div> to be placed at whatever grid coordinate is closest to the pointer when onclick is triggered. Here's the rough idea:
I have the tracking of the mouse coordinates and the placing of the <div> worked out fine. What I'm stuck wit...
I have defined objects in js as following
var newevent = {title: txt, start: new Date(y, m, d, h, mi), end: new Date(y, m, d, h, mi+parseInt(eventtime[itemobj])), allDay: false, editable:eventedit[itemobj], className:eventbg[itemobj]};
My question is, what sense does the following code make?
var evt = [newevent];
...
i have a requirement where in the name of the patient will be searched by the doctor ..there may be multiple patients with same name also..so when he starts searching he must get a drop down of all the patients with matching names he has typed.and he must be able to select from it and he must be still able to type new new search and drop...
Hi I'd like to get the list of selected checkboxes ina page, actually what I really need is th get the text of the element next to the checkbox which is a html element <li>
the code is below and its not working
Here is my current jQuery:
$(document).ready(function () {
$('#target').click(function () {
alert("in");
var checkVa...
Does anybody know of a good Jquery solution to checking for swear words when a form is submitted?
Basically I have a form which submits to Twitter, upon successfully passing a swear word check it will submit via ajax. I know how to do it in PHP (for non javascript enabled users), I did a foreach loop through an array of predefined bad w...