Slider image with import csv file
how to make a javascript image slider with csv import ? please help me.... !!
jquery plugin - trying to change an elements width/background
I'm using a jquery plugin to create an image slider with thumbnails underneath. My goal is to have the main image's background be `bg.png`, with the thumbnail section background be `wood.png`. I've changed the CSS to what I believe to be correct(see below), but the background of the thumbnail section isn't extending the full `961px`, it's restricted to the `921px` width I've established with the main image. I have a feeling this might be due to nesting within the plugin's php/jquery, I'm just not
Is is better to set up data before click or onclick?
Bit of a jquery noob. I have a simple function that replaces the href content on a link with that of a data attribute. The function looks for the class click-reveal and performs the action. I'm unsure of which is the best route, 1) call a function that replaces all in my page load function, or 2) do it onclick with a redirect. A code sample for the second variation is shown below. var gotoOutPage = function (e) { pd(e); var url = $(this).data('url'); $(this).attr("href", url) window.location
How can I attributes exist?
I'm a bit of a noob at jquery, so would appreciate some help if possible. I am making some changed to a link, by taking the content of a data tag and inserting it into the href tag. This seems to work ok at the moment but I'd like to ensure that both exist before carrying out the function. Can anyone advise? var gotoOutPage = function (e) { pd(e); var url = $(this).data('url'); $(this).attr("href", url) window.location = $(this).attr('href'); } Thanks in advance.
Hiding Fields - NewForm.Aspx
Can anyone help me please. I created a sharepoint list, and so on the NewForm.apsx have received the standard template fields.. like attachments. I need to hide all of those fiekds as I have buttons above now added via infopath to create the selection into the standard fields so they do not need to be seen. Can you hide elements using the "Table Class" id because that would take care of the whole section at once. Many thanks for reading this. Craig
Selecting the country drop down changes the state drop down
Hello I have a form with the country drop down list which has all the countries..if I select one country I need to populate the respective states of the country...can any one help me how to do it using jquery html php?? Thanks
functions bothering me
The syntax for functions in jquery is causing me problems I have two questions 1) with normal javascript use of a function looks like this function(){ } but with jquery it looks like this (function(){ }); the difference being the ( at the start and the ); at the end why does jquery require this. this is unlike regular JS and php and constantly confuses me. 2) I have seen examples of jquery code in tutorials which call a function by placing it immediately after the code which calls it like this. $("#animate").click(function()
Need help with jquery for blogger
Hello, I'm feeling rather frazzled and frustrated. I have been searching for days, trying to find a simple explanation of how to make an image appear when someone mouses over a word, exactly like a tooltip but with no text. I'm blogging about magic decks, and I currently have the cards linked back to another site. But what I really want is them to have an image appear of the card itself when someone mouses over them, preferably in a static spot on the blog. The address to it is cheapmana.blogspot.com
jQuery HTTP post request
Hi! As I am new to jQuery i have to ask for the .post function! I was using before the XMLHttpRequest object. But with this I got problems with special characters in the received XML. Changeing the encoding didn't help so far... This I want to do: Post an http request with an XML document and receive an XML response. // Send the xHTTPRequest to the server in the browser adress function httprequest(xmlReqList) { // Überprüfen ob XMLHttpRequest-Klasse vorhanden und erzeugen von Objekte für IE7,
jquery jsonp
http://jsfiddle.net/CUzPz/ i am getting the output in console.log but can you guys tell me how to display it in the web page which consumes this feed and presents it as an attractive list of well-formatted feed entries, including item metadata
swinging menu
Hey, I have menu build from tiles that look like sign hanging from nail and I want to make my menu swing on mouse hover. How I can make this? edit: I found and used some with "mouseover" and "mouseout" and CSS3 transform, for example $(this).css('-moz-transform', 'rotate(20deg)') I had to use -webkit and -ms with the transform, I work good on Firefox and Chrome, and IE9 on older IE it do not work I believe it will work. So I need to forget about older IE?, I only going to support IE8, I do not care
Show hide a table (Traversing DOM on a condition)
Hello, back again with a question What i am trying to do here is .. on click of left side of menu categories.. i want to show only those categories in menu... below is how my menu is structured... <div class="middleContentWrapper"> <table border="0" id="tblMenuType" style="width: 100%;"> <tbody><tr> <td id="divItem" style="width: 54%; border: 0px solid blue; float: left;" class="name"> <span class="menuName" id="ContentPlaceHolder1_reptMenuFull_lblMenuCatHeader_0">Chinese-Soups</span>
How to access textbox which is inside EditItemTemplate?
<asp:DetailsView ID="DetailsView1" runat="server" Height="50px" Width="125px" AutoGenerateRows="False" DataKeyNames="id" DataSourceID="SqlDataSource1" AllowPaging="True" > <Fields> <asp:BoundField DataField="id" HeaderText="id" InsertVisible="False" ReadOnly="True" SortExpression="id" /> <asp:TemplateField HeaderText="myRow" SortExpression="myRow"> <EditItemTemplate> <asp:Label ID="Label2" runat="server" Text="Please type row number:"></asp:Label> <br /> <asp:TextBox ID="txtRowNumber" runat="server"
jquery load
Hi, I am using jQuery load in order to avoid appearing of the links in the source code of the page. It is working fine. Also I would like to add some content to the page loaded and that should be visible in the page and also appear in the source code of the page. And for this what I did is added the content in the div tags as follows: <div id = "ID"> <?php echo 'text to appear in the jquery loaded page and which should be appeared in the source code of the page'; ?> </div> <script type="text/javascript">
one more filter on roundabout
YASQ - I make roundabout image menu, and i want add effect on central box. SMt like grayscale/jumping on HOVER. (to indicate for user that this is clickable link) As far as i can see, easing addon works only wih 'clik'', not hover. Is there a simple option for smt like that? Or it need another plugin? Existed maybe?
jquery roundabout problem when first loading page
After first entering on page on new computer/smt new browser, roundabout menu is loaded with images etc, but all of them are in vertical position one after another like standard list. Few refresh solves this. How repair this?
Top of page without scrolling
I already have a function that uses animate to scroll to the top of the page. I have a feeling that this will become tiresome after a while and would like to compare it to a direct to top of page function, just like '#'. I still want to use javascript to do this as it sits inside an ajax panel. Can anyone tell me what method can be used that works in all browsers.
How to Configure Eclipse for jquery ?
Wha plugins are required to develop Web App using Jquery in Eclipse.
Need suggestions for jquery music player.
Hello All, I am looking for a music player that I can put on my website and it should play single mp3 file and also have an autoplay button to play songs in a loop. I didn't know where I can get help for this, so I decided to post it on this forum, where you all developers have huge knowledge about jquery and jquery plugins. Please accept my apology if it is annoying you that I have posted my query on developer's forum. Please help me and suggest me a jquery music player which have following features:
click event doesn't work in firefox
I've got such a code $(document).ready(function () { $("td").click(function (e) { var child = $(e.target).attr("id"); var td = $(this).find("span:first").text(); var numberHolder = $(this).find("span:last").attr("id"); var checkbox = $(this).find(".chbx input[type='checkbox']").attr("id"); var clientBlockFlag; var indx; if ($("#" + checkbox).is(":checked")) { indx = $("#<%=DropDownList_pastQuestions.ClientID%>
General JQuery Request For HTML Capture Question
I have a proxy page from which I make a request to a target page to capture html in a specific "DIV". The desired html is returned to the proxy page just fine. The html captured is a list of name links, with a hidden div associated with each link. The hidden "div's" each have a unique identifier associated with them. When one of the links is clicked a javascript function is supposed to execute which will take the name from the link and retrieve some more data which is then supposed to be appended
error selecting div element with a particular id - beginner at jQuery, javascript
Hi, I am playing around with selecting elements in the DOM using jQuery, and I tried the following: $(document).ready(function() { $("a").toggle(function(){ $("div[@id=SomeID]").hide('slow'); },function(){ $("div[@id=SomeID]").show('fast'); }); }); And in the html source, I do have this section: <div id="SomeID"> <!-- div code --> </div> However, when I click on an anchor tag I get the following error: Syntax error, unrecognized expression: div[@id=SomeID]
i cannot click or alert my li class after on my php page after my ajax call
Hi to all, Please help me to my problem, i have a form that will select all the list of item on my db using select option. i create jquery function. kindly refer to the code below: FORM: <script type="text/javascript" src="jquery/jquery.js"></script> <script type="text/javascript" src="jquery/jquery-ui-min.js "></script> <link rel="stylesheet" type="text/css" href="mycss/playlist.css" /> <script type="text/javascript"> function getList() { $.post('getList.php',{slect: form2.slect.value}, function(output)
CARREGAMENTO DINÂMICO NO COMBOBOX NÃO FUNCIONA APÓS DUPLICAÇÃO DOS CAMPOS. AJUDEM!!
Amigos estou utilizando um carregamento dinâmico para combox via ajax. No entanto após duplicar o campo combox o carregamento não funciona. Como resolver o problema? Sou iniciante no jquery e preciso da ajuda de vocês. Segue abaixo o link para o vídeo que explica melhor minha dúvida. https://docs.google.com/file/d/0B1NeacqLnbZzNTZIUEliZVlpczA/edit?pli=1 Um abraço a todos. Friends'm using a dynamic loading via ajax combox. However after doubling the field combox charging does not work. How to fix
How to addClass name?
I want to check if normalDay > div has class name selfOwned and i want to add class name to normalDay. i try to addClass but it add to each normalDay. <td class="normalDay"> <div class="selfOwned"> </td> Thank you
Point of sale style list
jQuery and Javascript are rather foreign to me. PHP is my thing just cant get my head around javascript and such. So my sticking point is this: I am looking for something like this: http://www.codemashups.com/source/jquery/jquery-autocomplete-p1/ I need the user to be able to enter a product description then they can select the right one in the drop down box. Then it fills in the rest of the form jumps to the number needed the user enters that presses enter and you can then add more items. Then it
How to use a variable in / across a "dot operator" or across widget options
I have an Autocomplete and I change some of the choices in the dropdown list via the renderItem function. That much works. If the user selects a changed choice, I want to make a different select: than if they select an unchanged choice in the list. So far, a click on a changed choice causes the select: option to do its normal thing. It seems I need to change a variable from 0 to 1 when changed choices appear, and then use an if statement in the select: option to determine which select action to
check box selecting
Hello , I am trying to implement one senario here, what I am doing is I have a accordion with three categories for example Category 1, Category 2 and Category 3. When I click category 1 I have check boxes options like catergory1_1,catergory1_2,catergory1_3 and when I click category 2 I have check boxes options like catergory2_1,catergory2_2,catergory2_3 and when I click category 3 I have check boxes options like catergory3_1,catergory3_2,catergory3_3. What I am doing right now is I am selecting
$.each problem illegal character at the end of each
guys im having trouble on getting all the data in the table. someone suggested me to use $.each() function but my firebug keep on giving me illegal character on the }); at the end of the $.each(). i checked if i supply the correct number of }); and they all have the sufficient supply of }); here is the code HTML: <div id="wrap-body"> <form action="" method="post"> <input type="text" name="username" id="username"> <input type="text" name="msg" id="msg"> <input type="button"
How to get Long-value from JSON-object?
My JSON-document has a property "id":"250155863787057152". I'm trying to get it in success-section of $.ajax, like this - data[0].id, and it show me 250155863787057150. How to get unrounded value from JSON?
Stoping setInterval
I am new to javaScript and wondering if anyone can share some insight. I am playing around with "ID's" trying to get comfortable and such. I know jQuery has a really quick solution, but I want to know how to do it via js. PLEASE HELP! function startTimer(){ var n = 0; var e = document.getElementById("output"); var myTimer = setInterval (function() {e.innerHTML = n++;},100); // clearInterval(myTimer);
implement static divs in an animation
hi all thanks to popnoodles i could finaly achieve what i wanted but now i am in front of an other problem xD maybe anyone could help me there http://jsfiddle.net/yCY9y/175/ here are some boxes which are getting bigger by mouse over but now i want to implement 2 static boxes ( in each column one ) by static i mean boxes which dont change their size by mouse over but they are moved when an other box cahnges the size so that is is seen all the time greetings fönig
Putting scripts inside a query string
Sorry if this is a bit vague but How do I put an existing Script string inside a $("div).html(Script) This is what I have tried but it all goes wrong after the </script>"); and displays all the content for the rest of the script in text else if (myDay == 1 && myhour >= 11 && myhour <= 17) { $('#chatButton').html("<br><script type='text/javascript'>if (typeof sWOTrackPage == 'function')sWOTrackPage();</script>"); } Thanks
Remove hotspot outline with jquery?
I have an outline that appears around my poly hotspot, but outline:none isn't removing the outline. Because this runs on an intranet, we don't have to worry about accessibility. Here's a simplified version of the page code. As you can see, I even tried to fade out the image with the hotspot before loading the hidden div on top. It just fades out the image but keeps the hotspot outline. It made me laugh the first time I saw that happen. <html><head><title>ribbon</title><meta http-equiv="Content-Type"
Correct syntax for jQuery inside an 'if' statement?
Hi folks, I'm new to javascript, jQuery and the forum - so this may well be a stupid question... The following script allows a control with ID = 'next' to move through a list of sibling elements (class = 'ListItems') by controlling which ListItem is allocated ID = 'vis'. The script works until the visible ListItem is the last element. So, I introduced line 4, which attempts to prepare the first ListItem to be the next to display, when the current visible item is the last in the list. But the syntax
help in overcoming a small problem in the code that I am trying to write
Hello, I am new to jquery and I'm trying to overcome a small problem in the code that I am trying to write. I'm trying to write a code that identifies pressing a button and accordingly hides a div or expose a div. The problem arises when the page first loads, In this situation it takes two clicks on the button for the desired action to occur - instead of one click. after the two clicks its working great, the problem only occur when the page first loads. I'd be happy if someone could help me diagnose
Calling Files
Hello everyone, this is my first post here :) I've got a jQuery code, that works perfectly in http://www.example.com/dir, but the same code doesn't work at http://www.example.com/other/dir Whats wrong? :s
change enter behavior in tabby plugin
Hi, I am new to js and jquery. Usually I try to learn things by fullfilling a certain task and read the docs/manuals as much as possible to do so. Currently, I try to get a textarea element to behave a little more like a desktop text editor. It should be able to write a tab in the textarea when pressing tab and when pressing enter it should be able to intend the cursor in the new line if the current line is intendend. I found the the plugin "tabby" which works fine with TAB and SHIFT+TAB. For the
General Question
What's the best way to generate html code along with dynamic data (from one or more JSON objects) and add it to a page? Is "document.write()" better than using some of the JQuery methods like prepend, append, etc., for such purposes?
Video object locking up IE9 when called.
So I'm building this nice animated page to open with some music and a splash video. http://www.pbrfragrance.com/ All seems purdy sweet till you try it in IE. For now I will just skip over the fact that nether the video or the audio elements actually play. The part that piss me off is that for a moment , in IE9, the Jquery actually followed thou and the iframe went ahead and came up and I called it graceful degradation. Well not 5 minuets later (after adding a volume .5 to the script) IE locks up
Next Page