JavaScript is a dialect of the standardized ECMAScript programming language, primarily used for scripting web-pages. Use this tag for questions regarding ECMAScript and its dialects/ implementations: JavaScript, JScript, etc., excluding ActionScript.
1
vote
1answer
13 views
How to add button on each MediaWiki article?
I would like a button to appear on each article on my MediaWiki site, to make it easy to flag articles that should be reviewed.
When the button is clicked it should add the category "review", and if ...
2
votes
1answer
46 views
Is it acceptable practice to change the behavior of old HTML tags?
In my app I need to display some maps. So I use Leaflet.js to do so, but to simplify my HTML I have used a <map> tag to do so. Is that acceptable, or should I avoid doing this?
0
votes
0answers
10 views
script error: 'c is not a function" [migrated]
I get the following javascript error when I debug in firebug:
'cities' is not a function.
What I'm trying to achieve is dynamic options and it used to work, this is just a new version of the page ...
0
votes
0answers
14 views
Strange Javascript code in my html pages [duplicate]
I've been warned up today by my friend who owns a website I made for him.
I've just found that many files from the template directory have been modified today and in every of them, I can find this ...
3
votes
1answer
75 views
rel=“nofollow” being removed with javascript, why?
I was looking through the blog comments of a Alexa top 20,000 site, and i noticed something odd, when a comment is viewed in the source (or in firebug with js turned OFF) the authors name is written ...
-1
votes
0answers
19 views
how could i hide the text box in jquery for initial loading? [closed]
I am working in this project where i face this issue.
PHP Code:
<!--top section start-->
<?php $this->load->view("header");?>
<div id="wrapper" style="height: ...
0
votes
0answers
6 views
ASP.NET Server Controls - Show Hide Textbox based on Dropdown selection [migrated]
What is the best way to show/hide a textbox or an entire div section based on a users selection from a dropdown? I don't believe its possible with server controls, so I would have to use regular ...
-1
votes
0answers
18 views
Detect Google Ads width and height [closed]
I want to create a JavaScript which detect Google Ads width and height when someone click on them like statcounter is there any way I can do this.
If I have created a script which parse width and ...
0
votes
1answer
27 views
Protect SVG from client access
I want to make a presentation that consists from some number of slides.
The actual content of the slides is going to consist of vector elements in SVG format.
The transition between slides should be ...
0
votes
0answers
14 views
User entered Javascript security implications [migrated]
I'm creating a web site that lets people create their own site using a subdomain. Are there any security implications by letting people add custom javascript to their pages? If so, which ones? XSS? ...
1
vote
1answer
43 views
JavaScript loaded external content SEO
I wonder what is the best way to have Javascript loaded content indexed by search engines. I know that search engines don't execute Javascript, but I am thinking more of an progressive enchantment.
I ...
2
votes
2answers
47 views
Track exit link and ads with PHP
I want to track exit links on my website and also exit ads like Google Adsense etc. I mean by exit ads is that when click on add I get ads dimension and ads type like Google or other ads. In short I ...
0
votes
0answers
60 views
Sencha TOuch IDE (WebStorm) [closed]
I am new to Sencha Touch Framework. I am starting to develop a sencha touch application. I am stuck at using the right IDE for the development. Right now I am using Webstorm IDE for running the Sencha ...
0
votes
2answers
111 views
Any drawbacks by including Google Analytics in your main js file?
I'm using MVC that is compressing and minifying all my js files into one file so basically there is only one request.
As far as I see every page has Google Analytics code below their js includes. If ...
1
vote
0answers
37 views
Create a more voices for meSpeak.js [closed]
I saw a meSpeak.js project and there is also a folder called voices, but every voice file is json so i want to convert Mbrola voice to .json is there is any way to do that
thanks
0
votes
0answers
18 views
Does using html5shiv limits javascript usage in page? [closed]
I want to use html5shiv library.
My website has many pages that include javascript code.
Some page even have: window.onload = new function() { ... }.
Do you think that the html5shiv disrupt the ...
0
votes
1answer
84 views
Prompting Facebook to embed Youtube videos from a site
On a website for a newspaper, some of our articles are video reports (embedded from Youtube) with small descriptions below. When these get shared on Facebook, perhaps when someone copies the URL into ...
1
vote
2answers
92 views
SEO impact of links for javascript functionality
For example, jQuery tabs uses a link as each tab, that opens the tabbed content. Or often times developers will use a link as the anchor text for a hover tooltip, even though it doesn't actually link ...
2
votes
2answers
31 views
Test different timezones
What is a simple way to temporarily change the timezone in Chrome so as to test how a site renders for different locations?
On OSX Mountain Lion, I've tried as bash script with:
export ...
0
votes
1answer
69 views
JQuery Plugin files getting viruses even with CHMOD 755
I have a bunch of JQuery plugins (eg: masonry, isotope, carousel, etc) within a JavaScript folder in my root. These have been repeatedly infected with viruses making Google put alerts on my site.
The ...
4
votes
1answer
109 views
What is the best way to optimise a site with lots of images for a Retina display?
I am going to have a website which will deal with a lot of images. What is the best way to optimise them for Retina display without having much of an impact on website loading times?
There seems to ...
0
votes
0answers
16 views
MLS Search Widget (regional) [closed]
Does anyone have any experience with regional MLS search widgets?
I am doing some work with a real estate agent (who wants to get rid of his cookie-cutter, pre-paid real estate web site and) who now ...
0
votes
1answer
36 views
more capability from CSS [closed]
so i've just finished a book to learn CSS. (known HTML since high school but didn't have the initiative to pick up CSS 'til now).
anyways, ever since i started reading about pseudo-classes in CSS i ...
0
votes
1answer
64 views
What is the syntax for putting a nofollow attribute into a javascript file
Matt Cutts states in this video:
It turns out that as we are executing JavaScript, we do look at the attributes. So you can actually use Javascript and put, like, a nofollow attribute on ...
0
votes
0answers
54 views
How to put Evernote on my webpage
I have lists of things to do in Evernote. I want to put this on a webpage. If it can be interactive, that's even better, but I would be happy if I could just display my Evernotes on my page as well.
...
1
vote
1answer
56 views
Toggling between hidden divs instead of two links
For each entity in my site I have a 'joint' section (~30%), and a sub-section (~70%) which has two different options, meaning I only display ONE of them at a time. Currently I have two different links ...
2
votes
0answers
12 views
I want to build a script CDN for my place of employment [duplicate]
I write a bunch of scripts (javascript, php, perl) for my work. Right now, people have to get the scripts themselves from our sharepoint, and then install it as either a bookmarklet or a greasemonkey ...
1
vote
1answer
379 views
Site got hacked while many / all security leaks have been removed [closed]
I've got a website with this code appended to my php document :
<?
#8f4d8e#
...
1
vote
1answer
26 views
Organizing main page with detailed content
I need to develop a structure like the one that appears in the following site:
http://www.autoic2.com
Clicking an image, showing the related content
Clicking in that new content, showing the ...
1
vote
2answers
57 views
Proper name scrolling news/photo
I'm very new to webdesign and am wanting to install a scrolling news/picture banner in the site but don't even know the proper term to search for to find out how to do it. Here's an example of what ...
0
votes
0answers
20 views
How do I set the Expires header for Javascript files? [duplicate]
I have successfully set the Expires header for images and CSS files, however, my configuration does not appear to be working for Javascript files.
Here is my configuration directive for Javascript:
...
2
votes
1answer
143 views
A JS-based WYSIWYG HTML editor with flexible image upload? [closed]
Is there a good JS-based WYSIWYG HTML editor with flexible image upload out there? Ideally, I'd like an editor that allows me to handle image upload in a custom callback.
2
votes
1answer
70 views
New to website form validation
I'm new to form validation and I have been lucky over the years. I would like to update my method of form creation in my sites. I was curious to know what is standard and if there is a pre-existing ...
0
votes
1answer
77 views
Looking for a HTML5 canvas JavaScript library or framework
I am trying to make an interactive guide in HTML5 canvas element. With interactive guide, I mean something like this.
I want a JavaScript library or framework which is suitable for making interactive ...
0
votes
1answer
51 views
PHP and Javascript [closed]
I am a good C programmer. I have recently studied a bit of JavaScript and I plan on developing my skills by also learning PHP.
Can I learn both these language in 3 months and after that build a site ...
1
vote
0answers
34 views
Top commentators widget compatible with Facebook comments [closed]
I created a project on freelancer.com but then I was wondering if this thing is possible knowing Facebook comments has its own restrictions and limitations.
"Hi,
I want a widget on the sidebar that ...
-1
votes
1answer
414 views
Does anyone knows a good Facebook chat script? [closed]
I'm looking for a facebook chat script.. that can handle a large number of users.. does anyone knows one? I need one urgent and please post one that you had experience with.
2
votes
0answers
47 views
Design scrollable table structure [closed]
I'm currently looking for a way to design a table structure with HTML and JS which should be
Horizontally Scrollable (It has to be possible to dynamically add new columns)
Tolerant to changing sizes ...
0
votes
0answers
170 views
Display RokNavMenu as a two-tier menu system [closed]
I am trying to modify the was RokNavMenu displays its dropdown menus.
Assuming a 3-level menu, I need to have level 1 and level 2 be horizontal and level 3 drop down from level 2
This image shows ...
0
votes
1answer
58 views
Javascript Requester IP Address [closed]
Is it possible to get a visitor/requester public (WAN/external) IP address with pure Javascript? IE. without the use of additional JS libraries like jQuery? If so, how?
1
vote
3answers
114 views
Bootstrap dynamic content
I am building a website powered by twitter's bootstrap. I have created a landing page with menus and text. The next thing I want to do is create a About page, but what is the easiest way to create a ...
0
votes
1answer
38 views
Books / Resources on how to setup a website [closed]
I started building a website recently. I have no problem with the language technical skills. However, it's my first website, and I don't know how to setup my local machine and how to make it available ...
-1
votes
1answer
61 views
How to redirect to a new page and have the new page display dynamic data [closed]
This seems like a pretty obvious question, but for some reason I have yet to find an answer. The goal here is to have a user click a link, for example like on this site, the user clicks a question and ...
1
vote
1answer
69 views
Crawling retail websites to use as templates
I'm setting up a commerce website. I really like the Overstock website, and I was wondering if could simply crawl the website for the webpages, remove Overstock's logos, and use their website as a ...
0
votes
0answers
372 views
Simple CSS overlay/popup [closed]
Hey I got a really simple question (though quite confusing to me). Its technical but I figured it would be no problem for alot of the people on here so please bear with me and I would appreciate so ...
2
votes
0answers
96 views
Google Analytics cookie across SagePay checkout
We use SagePay's Server integration for our online payments. We use Google Analytics to track activity on our website and Google Ecommerce tracking to log transactions.
In Google Analytics, under the ...
2
votes
2answers
110 views
Get google to index JavaScript pages as separate pages
I have a product page with say 10 products, that loads up all the content when the page loads. Then JavaScript hides content till a product is selected. Then JavaScript hides and unhides information. ...
1
vote
2answers
523 views
Comparisons of Javascript 'data grids'?
I've found plenty of questions between here and StackExchange of people asking for the 'best' data grid / data table, or one that has a particular feature, and plenty of lists out there (of various ...
3
votes
3answers
129 views
Importance of 'href' attribute within an <a>
I am aware of the 'content is king' seo rule, but I'm also wondering whether empty <a> HTML elements is a relatively big downside regarding SEO.
To be more precise and actually cut to the ...
0
votes
1answer
98 views
Does adding live chat script to a website affect its SEO?
I have a client who has added a live chat script just before his /body tag. The live chat script uses WebSockets for communication with servers. However, it appears his SEO traffic decreased by a good ...


