I'm certain I've seen this before. This is how i remember it
$cnta.css({ top:'+=50' });
Needless to say, it doesn't work :-)
I know i can parse the css value, manipulate the result and put it back into css, but that takes twice the code.
Thanks for answers!
...
Hi,
I'm currently writing a Rails 3 app that uses the google maps API (v3) extensively. Currently, the infowindow for each marker contains a link that takes the user to the page for that particular marker - ie. /places/1. A sample of my code is below:
jQuery.getJSON("/places", function(json) {
if (json.length > 0) {
for (...
<form action="index.php?page=checkin" method="post" name="regForm">
Fullständiga namn: <input name="full_name" type="text" id="full_name" class="required">
<br >
Email: <input name="usr_email" type="text" id="usr_email3" class="required email">
<br>
Sex: <select name="sex"><option value="male">Kille...
I have 2 sets of elements:
<div class='container container1'>
<div class='colors'>
<div class='blue'></div>
<div class='red'></div>
</div>
<div class='drinks'>
<div class='soda'>coke</div>
<div class='juice'></div>
</div>
</div>
<div class='container container2'>
<div class='cars'...
Hello.
So im holding on making a 2 spliced registration form, now i ran into this ajax request I have to check for if the fields are filled correctly (email and name), before you can continue to other part of the form.
Im very new to ajax requesting, i quite understand a little and have tried myself to work on it, heres what I've done:
...
Hi,
This isn't a specific code question, but more of a conceptual question. I'm trying to figure out which direction I should go in solving this problem.
Here is the site testsite
Right now when you hover over interior and click Mastersuite, it takes you to a page for the master suite, which includes the navbar through SSI, but when ...
Has anyone run into any problems running jQuery UI AutoComplete and jQuery UI iPod like DrillDown Menu?
http://wiki.jqueryui.com/Menu
I realize it's still in a development stage, but curious if anyone else has noted this issue?
If you know of a fix that would be awesome as well.
Cheers.
...
Consider this snippet:
<div>
<span style="color:red;">a</span>
<span style="color:blue;">a</span>
<span style="color:white;">a</span>
</div>
How can you remove style from selected by user text?
Edited: to add clarifications from OP:
Thank you for your answers!
I had to be more precise. Sorry for that.
What do I mean...
I have the same problem as the user in this question, which is due to this bug in Webkit. However, the workaround provided will not work for my app. Let me re-state the problem so that you don't have to go read another question:
I am trying to select all the text in a textarea when it gets focus. The following jQuery code works in IE/FF...
This is quite urgent guys. I saw this jquery dropdown menu on the net and I love it a lot. It works perfectly in firefox and all browsers except as usual Internet Explorer. In IE, it's freaking slow and annoying. Is there any way I can solve this problem? Any help will be appriciated.
To keep things neet, please visit: http://sandbox.l...
I've been using the jQuery UI button all over my page, however I haven't found a way around what seems to be a simple problem. I want some of my buttons to be smaller than the other, this should be as simple as setting the CSS of the button text to something like, font: .8em; However jQuery UI takes your DOM element and wraps it:
<butto...
The site I'm working on opens with a fancy jQuery opacity animation. Currently It's working in all browsers, but in IE all text and alpha images are left with ugly black borders that makes the text practically unreadable.
Is there some clever javascript command i can run to refresh/update the graphics?
Any other way to fix this?
My pro...
If anyone read my last question, this is somewhat of a continuation of it.
AFAIK, when using jQuery UI's Autocomplete ability to grab data from an XML file as its data source, you can only do it from one file in the Ajax call.
http://www.finalfantasyunion.com/includes/xml/games.xml
I'm planning to have a series of XML files like that ...
I really like sql-database in HTML5, but so far only Opera and Webkit browsers support this feature. Are there any javascript libraries out there that replicate this feature or provide something close to this?
Thanks!
...
Alright, this pretty much goes along with my previous question. I'm still trying to figure out how to display data from an array which is created by a PHP file- using JS/jQuery. I'm working on a points system for ZetaBoards, and I've currently got it set up here. (Points will be displayed below the users post count once I get this workin...
Hi All,
I have a PHP application, which has a delete function on one of the pages. I am allowing user to delete a tag from their profile, by clicking on the tag. Once the user clicks the tag, the content area in the HTML which previous displayed the tags, gets updated with the new set of tags.
Now the problem is, from the list of tags,...
i have a bunch of divs that are representing cards in a hand. depending on how many are drawn, i want to be able to have them start to stack on top of each other so that the hand container div is only one row deep. the card divs are also set up as draggables so this is kind of me trying to figure out a way to auto sort them. would usi...
Hello,
I want to stylize only certain word from my dynamic div
say,
<div id="info">{$info}</div> prints
<p>here you can get info about somnething. if you want more info about something then click here....</p>
I only want stylize the word 'info'
How can I achieve this using jQuery?
Thanks.
...
Hi,
In my ASP.NET MVC project i need to select all text boxes that have attributed "readOnly" in current page and show modal Jquery dialog in keypress on the disabled text box.Any help appreciated.
...
I'm at a loss. I'm using JQuery 1.4.2 and JCrop 0.98. Everything else works fine, but I cannot move a selection once created. When I mouse over the selection and click, nothing happens.
I have the JQuery library, the JCrop library and the JCrop css file all included. It's a pretty clean page without much else on it. I don't know if...