Hi all,
I posted a question http://stackoverflow.com/questions/3560381/next-not-working and gota reply which is working fine, but can somebody explain me what exactly is going on here:
$(this).closest('tr').next('tr').find("img.cc").toggle()
.closest('tr').siblings('tr').find("img.cc").hide();
...
This problem was already discussed in this thread I did implement the solution but it didn't work.
In brief, I have two DIVs, one for Google Maps and the other is for Street View. They are synced, you move the first, the latter also change the position. Now I implement tabs, I made them myself and didn't use jQuery UI. It doesn't work. ...
Hello
I've an iFrame A which has an iFrame B inside it. In frame B i load a page which has a input type button element. It basically, when gets clicked, navigates to another page. Now i want to change the target of the button so that i loads the page in its parent iFrame A.
I've tried changing
currentButton.target = '_parent'
But it...
I have a textbox that is wired up using jQuery UI 1.8.4 autocomplete. I have the select event wired up so when the user chooses an item from the list it calls another javascript function that issues an ajax request to save the data and update an XML document.
On the same textbox there is an onBlur event so that if the user manually typ...
I found some code at http://labnol.blogspot.com/2006/12/allow-site-visitors-to-change-font.html to allow folks to change font size and adapted it to use buttons.
<html>
<head>
<script language="JavaScript" type="text/javascript">
function changeFontSize(inc)
{
var p = document.getElementsByTagName('*');
for(n=0; n<p.length; n++) ...
Hi,
I am using RichFaces and I want to enable/disable h:commandButton based on h:selectBooleanCheckbox using Javascript. By default the button should be disabled and check box unchecked. The button should be enabled when the check box is selected and disabled when the check box is deselected.
Any help would be greatly appreciated.
Th...
Please take a look at this navigation:
http://beta.viewcms.info/mint/
And you can see the hover animation!
How to create the exactly same hover menu like that?
Sorry for bad English
...
I know to style odd / even table cells using jQuery, but how do i style the 3rd, 4th or 5th element?
<table width="300" border="0" cellspacing="0" cellpadding="0" id="Weekdays">
<thead>
<tr>
<td>Week Day</td>
<td>Short Name</td>
</tr>
</thead>
<tbody>
<tr>
<td>Monday</td>
<td>Mon</td>
</tr>
<tr>
<td>Tuesday...
There are two domains:
a.example.com
example.com
example.com is the parent domain of a.example.com. Now both a.example.com and example.com may write a cookie named test_cookie. Now we have a page of a.example.com which will use javascript to read value of cookie test_cookie. Is there a way that only read the cookie set in the domain...
The setting is easy; I want to be able to add a class to (in this case) a button when onClick-event is fired. My problem is that I haven't found a way to pass the button itself as the parameter to the function. I'd like to do something like:
<asp:Button ID="Button" runat="server" onclick="addClassByClick(this)"/>
And then a javaScript...
Hi,
I'm new to cakePHP but am close to quitting using it due to my inability of getting jQuery to work with it.
I'm using cakePHP 1.3 and so thought the Html and Js helpers had made Javascript and Ajax redundant but I can't really find any help/api documentation on how to use Js that is sufficient.
All I'm trying to do first of all is...
Hi All,
I am new to HTML5 and I am exploring HTML5 features. There I came across audio tag.
I written code with it to play sound files.
I am having one problem with this tag. On button click, I want to change the sound file stopping the previous one.
I searched a lot but didn't find anything.
Please help me to stop the sound played by a...
Hello.
I was wondering if anyone knew if there was a toolbar config name you could add to ckeditor that gave you buttons to wrap content in heading tags?
Just like the bold button for example, highlight the word and click 'h1' or 'h2'?
I've looked in the docs but I cant seem to find a comprehensive list of all the possible toolbar but...
Hi,
I use javascript confirmation pop-up for one of the rich faces command button functionalities. On the same page, I also have a rich:scrollableDataTable. Is it possible for me to show the number of data rows in the table on the java script confirmation pop-up? If yes, how can i achieve that?
Thanks in advance - Avinash.
...
I'm trying to make a canvas where the client can sign his name. It works well in Chrome v6:
but on Android 1.5 instead of drawing the browser scrolls the page and draws nothing:
I borrows the code from Opera's website.
Can I disable the scrolling or how can I make this work?
Thank you!
EDIT
using the events touchstart, touchmove ...
I create a safari extension , but I don't kown how to add javascript code to safari extension?
...
Hi !
I have a div (#thelist) that contains a bunch of html tables. When the mousewheel is turned i want the first table to be removed and added to the bottom. (And the other way around if the wheel is turned in the other direction).
For some reason the code below works also from my understanding the list should juts get longer and long...
I've been having quite a bit of trouble with Google Maps API and a database driven map. In a previous question I had inquired about faster geocoding of addresses to a map and basically what I need to do is store Lat/Lng into the database and create a map from there, instead of geocoding while the map is loading.
However, I'm unsure exac...
I've made a map, with markers on all of are accounts their locations, >1000 so I used fluster pretty cool library. Now I want to draw an overlay showing their value to us. My idea is to make an overlay where the "hot spot" would be the account with the highest value while the "cold spot" would be the account with the lowest value. Doe...
How can i load a list of items and preload some properties op a lookupvalue column?
See this sample. I want to load Company.CompanyWebsite property (companywebsite is a property of the Company custom list)
var list = this.Web.get_lists().getByTitle("Comments");
var camlQuery = new SP.CamlQuery();
var q = '<View></View>';
camlQ...