I have the following script which appears multiple times on my page. I have a simple slide toggle attached to <div class="info"> and contolled by <a rel="viewinfo"> tag, but when I click on the anchor, all the divs with class info slide.
here is the HTML/PHP
<div class="couplistMeta">
<a class='view' rel="viewinfo" href="#">View C...
Are there toturails available or any javascript libraries? Thanks.
...
I've been trying to get the Uploadify flash uploader (www.uploadify.com) to work with Zend Framework, with no success so far.
I have placed all Uploadify files under /public/flash-uploader directory.
In the controller I include all required files and libraries like this:
$this->view->headScript()->appendFile('/js/jquery-1.3.2.min.js')...
I can get window.document but how can I get document.window? I need to know how to do it in all browsers.
...
I find myself using this method a ton to perform actions based on a anchor tag's URL (with jQuery):
("a").live("click", function(event)
{
event.preventDefault();
var href = $(this).attr("href");
// do something with URL
}
Elsewhere in my app, I've got some tabular data which I'm adding inline edits to. When you double cli...
Some design specs require for the avatar to be under the mouse cursor when the item is dropped.
to get around this i can easily check the drop position to see if the item was dropped within a source andprogramatically insert the node(s).
My problem is trying to get a reference of type dnd.Source for the source that was dropped into.
H...
I am attempting to use a Jquery menu, that makes use of the 'easeOutBounce' easing method. It is working fine but, I cannot figure out how to change the direction that the menu is bouncing out from. It currently expands to the right and bounces. My menu will be right-align and I want it to expand to the left.
This is the example I'm usi...
I'm loading some feeds and displaying them as links on my site page. When you hover over the link, a tooltip pops up with the feed, time, author, title and content. Sometimes the content is quite long and contains HTML. So I added a preview which cuts off the content after a certain point.
So my question is how do I determine a good bre...
does javascript on iphone mobile safari support xpath? I am using libxml2 to parse xhtml files in objective-c, but want to be able to change my parsing logic on the fly. Was considering using UIWebview's stringByEvaluatingJavaScriptFromString: method.
...
I've created a javascript object via prototyping. I'm trying to render a table dynamically. While the rendering part is simple and works fine, I also need to handle certain client side events for the dynamically rendered table. That, also is easy. Where I'm having issues is with the "this" reference inside of the function that handle...
I'm using a draggable effect on a css div for a shopping cart (prototype+script.aculo.us). I want to insert a link into this div which allows the users to toggle between fixed and absolute positioning. Does script.aculo.us has any simple way of doing it? (So far i found nothing)
...
I have implemented jQuery tabs and am using the opacity technique to fade one tab out and then fade another in. I would like to have the second image fade over the first and then hide the first image. That way the background behind the tabs will not be shown. Please advise.
Current jQuery code:
<script type="text/javascript">
$(fun...
I came across some javascript at work today that used jQuery to fetch two elements. It then used elem.nodeIndex to determine the position in the elements parent for each element. Nothing is setting this property anywhere and I do now see a reference to it in the msdn, mdc, or anywhere else.
I stepped through this javascript in FireFox ...
I'm currently working on a jQuery plugin that tracks a visitors mouse behavior. Movements, clicks, scrolling and resizing are all recorded and sent, via Ajax, to a location where this data is parsed and stored.
Originally, the data is sent to a script when the user leaves the page. By 'leaves' I'm referring to refreshing, going back and...
I have serveral forms(user can add new form dynamically) in one page, they're all submitted to the same struts2 action. I need to submit all these forms when the user clicks the save button.
Things go well in FF. But in IE and Google chrome, only the last form is submitted.
Any help is appreciated. Thank you.
Each form's elements are ...
I'm using Kevin Luck's jquery date picker plugin and I'm wondering what is the best way to format the dpSetEndDate() value to always be one year in the future? I tried using php:
<?php echo date('Y')+1;?>-<?php echo date('m-d');?>
But that didn't work. By itself, the php returns what I want to put in place of the date, but it doesn't...
I was searching for a script or at least a code snippet but haven't really made any progress. Anyway, I'm looking for a script that works like a simple pagination javascript but it should be accessable by linking from anywhere in the document and by calling it with the URL (e.g. on www.abc.de/default.html#thirddiv the third page of the p...
How can I use javascript with a C# application. Also, how can I create an HTML popup window?
actually my need to create a plugin for ie, which uses JSON response to create its elemtts and need a popup for login , which should be an html file
...
I am binding the click event to 4 href's (they have class="alink") using JQuery in the ready() event like this:
$(".alink").click(function() {
debugger; });
I expect whenever I click on a link, the event fires. However what I notice is that sometimes it doesn't fire and when it fires, it fires 4 times. Am I not doing i...
hi..
I am getting JSON response from the server..Inside that JSON string i am having HTML content which i need to display in a field..
Can anyone help..
...