0
votes
2answers
17 views
Use variable name fadeIn and Prepend
I want to prepend this variable "logText" and make it fade in at the same time.
var logText = today + ":" + " " + document.getElementById("textBox").value + '<br>\n';
...
0
votes
1answer
20 views
basic javascript jquery json api
i have the following code which doesn't work. I don't know how to integrate Jquery and javascript in same file when they are accessing same variable.....like here latitude1 and longitude1 are two ...
1
vote
3answers
26 views
basic Javascript jquery json Html
i am new to Json and Jquery.
Today i made this little code but its not working. I guess i wrote it right, but i know there is some little mistake somewhere. can you please help me to figure it out?
...
1
vote
1answer
29 views
How to create a selection box with icons in HTML javascript?
I want to create a dialog box to select a particular icon from a grid of icons .Like this:
I am using jQuery Impromptu dialogs for my other dialog usage .But I dont know how to make this thing ...
0
votes
1answer
8 views
How to embed VLC in webpage
I am trying to embed a video into my HTML/ASP webpage using VLC. The box appears showing the VLC player in FireFox, but it won't play anything. This is what it looks like:
Please tell me what I am ...
0
votes
1answer
76 views
jQuery illuminate in use with bootstrap 2.2.2 won't work together: e.css(…) is undefined illuminate.js
I've downloaded and set up jQuery illuminate( http://www.tonylea.com/2011/jquery-illuminate/ )
I made sure both jQuery and illuminate plugin are loaded in page.
Then I coded like this
Javascript ...
0
votes
0answers
6 views
Magento integration with Foundation 4
I tried to integrate the foundation inside magento here while I stuck on initializing the javascript. I used the normal initialization from the website, in which results with:
Uncaught TypeError: ...
0
votes
0answers
12 views
Is it supposed to be too slow to use jQuery accordion in Mobile Browser?
I implemented jQuery accordion on my web page.
It's working perfect but too slow to open whole content after I clicked it.
Is it normal?
I tried it with my Android(Kinda new model) but too ...
1
vote
0answers
13 views
How can I divide users by their user-agent?
This divide when it's accessed from iPhone,iPodTouch, and All Androids including iPad.
But, I don't want iPad(and other wide width Tablets) in it!!
How can I exclude iPad(and other wide width Tablets) ...
1
vote
3answers
39 views
How can I hide an element on load?
My code enables accordion with jQuery.
When I click on accordion dt element, accordion opens, and it closes if I click it again.
As default, it's opened but it closes after whole page load.
This ...
0
votes
2answers
25 views
Form is Auto Submitting
createQuesAdd.jsp
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; ...
0
votes
1answer
13 views
TwitterBootstrap 3 Carousel not working?
I seem to be having problems with Bootstrap's carousel. The last time I implemented one was when I was using Bootstrap 2.xx. Ripping from the 2.xx example code pages worked fine. But when I do the ...
0
votes
1answer
42 views
Calling externally loaded javascript functions in code
I'm somewhat new to Javascript but know enough that I'm aware I shouldn't be writing my Javascript inline with my HTML but instead loading it from an external file. I've been trying to put it in an ...
0
votes
1answer
49 views
Which javascript browser library (or technique) gives you the best performance when laying out elements?
I'm doing this a lot (and should be pretty common for web developers in general).
Example with jQuery:
var _wa = $(obj_a).css('width');
$(obj_b).css('width', _wa/2);
Basically, reading and writing ...
0
votes
2answers
26 views
JQuery - Load HTML file and get script?
I have a menu with say 5 buttons. On each item click, I want to AJAX load a HTML file that contains some script. The loaded file looks like the following:
<div>
someContent...
</div>
...
0
votes
2answers
29 views
Change Link Styling Based on Current Div
I have a single HTML page with a fixed position top level navigation menu with links that lead to different sections. Is there a way to change the color of my links when a user reaches the ...
0
votes
4answers
29 views
Change height and slide down a textarea
Upon clicking on a textarea, I need it to change the height of the textarea to 60px and slide down at the same time so it all looks like one smooth animation.
Here's the JSFiddle: ...
0
votes
0answers
33 views
Javascript - slideToggle effect is not smooth (no jQuery)
I have created a accordion effect without the use of any jQuery but the problem I am experiencing is that the effect is not very smooth. For example, if simultaneously click from parent link to ...
0
votes
2answers
52 views
Does Javascript .ready() function includes images and database?
I'm planing of loading all content first inc. database text, images and stylesheet and then show the page.
I was thinking about a simple way just to make a general div with display:none; and then on ...
-6
votes
0answers
28 views
Python: Is there an example of a cookie being set with a WSGI script? [duplicate]
I would like to set a cookie
using python/wsgi
currently this is what my wsgi script looks like:
def application(environ, start_response):
start_response('200 OK', [('content-type', ...
0
votes
1answer
13 views
Pulling data from another website
I'm building a troubleshooting site and am looking for a way to pull info directly from the OEM websites. An example would be instructions for a master reset for a Droid DNA coming directly from HTC. ...
0
votes
2answers
24 views
how to change color dynamically
I want to change my marquee color
Here is Html code
<marquee><div id="thakan">Thakaan ka Ant, Shakti Turant!!</div></marquee>
And this is the javascript code
<script ...
0
votes
0answers
14 views
Changing JS mask on_focus to on_load or equivalent
Currently, my text field will only change its appearance after clicking on it (see attached screenshot). I am trying to change it so that it appears like that all the time, without the need to click ...
0
votes
1answer
73 views
How do I change the function of a button when the window size changes?
So I have two images, one for higher than 1440px wide resolution and one for lower.
I have a button to toggle on this image, unfortunately I can't figure how to get it to work so it toggles on the ...
0
votes
0answers
25 views
Multiple javascript live updating input fields
I would like to have more than one input which can output what the user has put inside the input box on one page and for it to update live. I can currently only get one input to work live.
HTML Code
...
0
votes
1answer
46 views
jQuery $.post() and PHP issue
It's not updating and I'm missing what I'm doing wrong. Uses HTML, jQuery, and PHP. All code is posted below.
What I'm trying to do is allow a user to change a 'client' seed and when it' changed ...
0
votes
0answers
11 views
Pass onclick event in iframe to iframe's source code
My application has a mutli-view display of data and all three displays need to be updated simultaneously when one of their elements are selected. I have dajaxice/dajax working to do what I need in ...
0
votes
0answers
42 views
Allowing users to change background image with Javascript in HTML
Using this code I found on a previous question:
var defaultImage = "http://...";
document.getElementsByTagName('body')[0].style.backgroundImage = localStorage.getItem('back') ? ...
0
votes
2answers
44 views
CSS display types: Tabs
I am trying to make a tab-based layout, I have it working if it is in a vertical orientation, but I would like to make them horizontal. When a tab is clicked, I would like to make a div expand then ...
0
votes
1answer
15 views
How to get country code information using geonames service api not the html5 location object thing
I am trying to get the country code of the user's current location using Geonames Servcie API. And I believe geonames service API will return me two letter country code instead of three letter country ...