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.

learn more… | top users | synonyms (2)

1
vote
1answer
115 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
536 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
30 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
82 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 ...
2
votes
1answer
309 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
111 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 preexisting ...
0
votes
1answer
59 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
73 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 ...
-2
votes
1answer
1k 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
60 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
1answer
101 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
863 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 ...
1
vote
1answer
105 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 ...
5
votes
1answer
554 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
204 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
1k views

Comparisons of Javascript 'data grids'? [closed]

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
270 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
254 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 ...
2
votes
1answer
942 views

Weather Widget/API

I am developing a website and am looking for an easy piece of code that I can add to a webpage that will display the weather for today and also for the next 5 days for a given location (Wellington, ...
1
vote
1answer
182 views

Which HTML+Javascript source editors support continuous validation and preview?

For programmers, Eclipse continuously compiles source code and highlights errors as you type. This greatly accelerates edit-test iteration cycles. I'm looking for a similar sourcecode editor for HTML ...
8
votes
1answer
738 views

Does adding external images or javascript to a website affect its SEO?

When adding images to your site, is it bad to use an image located on another site: <img src='http://www.some_other_site.com/image.jpg'> The same goes for javascript, is it bad to link to ...
1
vote
1answer
41 views

Testing the application

We are nearing finish of the web application done in RoR (it is Social website). I am not RoR person, I am just JS/Jquery side. All of us do not have much experience with big applications, and this ...
3
votes
2answers
347 views

Will text that appears dynamically (via javascript/jquery) be indexed by search engines? [duplicate]

Possible Duplicate: Does the Google spider render JavaScript? I'm writing an article that is broken up into sections, where the content of each section is hidden unless the user expands ...
2
votes
1answer
99 views

@Viewport @media use for input type?

I've searched high and low for some way to setup my HTML5/CSS3 for various devices. Going by screen resolution isn't the best route because some times the screen size of one device is the same as ...
3
votes
1answer
995 views

Forbidden 403 error on Google AdSense requests

I have created a new website and have set some ads. For some unknown reason, FireBug tells me that I get 403 errors on Google Adsense requests. I have checked my AdSense account and it does not block ...
1
vote
0answers
5k views

Line Feed or Carriage Return - What to use?

In javascript, Line Feed and Carriage Return behaves similarly. Which one to use and when? OR Can it be used alternatively? Unicode Characters: Line Feed: \u000A Carriage Return: \u000D ...
2
votes
1answer
109 views

Prevent HTML files downloaded from getting copied from that particular system to another system or getting the script modified?

How to prevent my HTML files downloaded to a particular system from getting copied from that particular system to another system or getting the script modified? Is there any tool or method out? Well, ...
2
votes
1answer
994 views

Show/Hide Div - Cross browser compatibility and jquery concerns

I'm working on displaying a hidden div when clicked on for a website. This would be a contact for to request more information about a product, so, its a very important form. So, i came across the ...
1
vote
1answer
233 views

How is the new Hulu not penalized for SEO?

I heard if you serve different content with Javascript disabled, search Bots can penalize you. I have been looking at the source of the new Hulu website and wanted to ask a few questions. I was told ...
0
votes
1answer
411 views

Table-Sort Script with Search Feature

I lost a JavaScript-based, sortable-table script that had a unique feature of a search box. The search box that made non-relevant rows disappear when a user typed a word. Any idea where I can find a ...
5
votes
3answers
345 views

Why do websites require retyping the password upon user error in a registration form?

Many times, when you fill out a registration form and miss a required field, the form reloads with all the fields filled out except for the password which you have to retype. I'm wondering if I ...
3
votes
1answer
2k views

document.referrer from google searches only showing “https://www.google.com”, no search terms

So I put this basic code on my website, and alert with document.referrer: alert(document.referrer); And when I do a search the link is: ...
3
votes
2answers
980 views

How to disallow selection of text on website?

I have a question about preventing the selection of content and right-clicking with your mouse on a website. Some websites that I have encountered display a dialog which prohibits right-clicking but ...
3
votes
1answer
382 views

What is this thing called?!?! (bottom of screen popup)

I am looking for the name and some possible jquery libraries etc for the standard bottom of screen popup bar. Its like a little bar that pops out on the bottom of the screen after X seconds or ...
8
votes
3answers
3k views

Directory structure for a website (js/css/img folders)

For years I've been using the following directory structure for my websites: <root> ->js ->jquery.js ->tooltip.js ->someplugin.js ->css ->styles.css ...
2
votes
0answers
65 views

How to run/test JavaScript? [closed]

I'm reading David Flanagan's "JavaScript: The Definitive Guide, 6th ed". It only actually tells users how to run JS code on page 311, where users are told of the following solutions: "Client-side ...
1
vote
1answer
32 views

Is it possible to export comments from TypePad Connect?

Note that I'm not talking about TypePad, but TypePad Connect, their hosted commenting product. I see comments in their company blog from 2008 (!!!) saying they were working on an export feature, but I ...
4
votes
2answers
336 views

<!--hppage status=“protected”--> Bad for SEO?

I've just come across this protection code: <!--hppage status="protected"--> It hides the html and page code from anyone who wants to right click and view source. I can't see a work around to ...
1
vote
1answer
235 views

SEO - Google and link cleaning / cloaking [duplicate]

Possible Duplicate: Does the Google spider render JavaScript? This a SEO related question, not a code related one. Googles own link cleaning / cloaking Gå to http://www.google.com and ...
3
votes
2answers
333 views

Will a search engine lower the rank of my page if i have hidden iframes?

As a praxis, all external content on our site is put in iframes to lower the risks of any external parties injecting stuff to our users. We also do it to make sure our content shows up before banners, ...
0
votes
1answer
1k views

SEO - Index images (lazyload)

Note:My question is not about Javascript. I'm developing a plugin for jQuery/Mootols/Prototype, that work with DOM. This plugin will be to improve page performance (better user experience). The ...
1
vote
1answer
2k views

Tracking logged in vs. non-logged in users in Google Analytics

I am building a social media site that is similar is structure to twitter and facebook.com where unauthenticated users who go to https://mysite.com will see a login + sign-up page, and authenticated ...
2
votes
0answers
116 views

Which JavaScript carousel zooms blocks from the playlist? [closed]

I saw a carousel/slider for displaying featured content a while ago that does something that most don't. It started fairly simply, with the top feature large, and a playlist to the side of other ...
0
votes
2answers
52 views

Help choosing slider

I'm looking for JS implementation of effect similar to: http://www.citroen.it/home/#/home/ main slider Joomla! module will be the best solution, however, standalone JS snippet is also an option. ...
2
votes
2answers
240 views

How can I create a dynamic site that is still search-bot friendly?

If I want to have a slide effect between pages. You click a link, it is loaded off to the side and then slides in (pushing the old page off the other side). I can imagine using jQuery to do the PHP ...
-4
votes
2answers
182 views

Jquery lie about size of download [closed]

When you go to jquery.com you see on top right "Grab the latest version! Choose your compression level:" its saying 32Kb for Production (compressed) version in reality when you download it its 91Kb. ...
2
votes
2answers
308 views

jQuery scrolling images for e-commerce site, what to do about users who disable JS

As the title suggests, I am developing an e-commerce site and I intend of having two jQuery plug ins on the default page, one for scrolling images and the other for the navigation menu. Should I be ...
0
votes
4answers
224 views

Web development and tips for building a website and the advantages of using HTML 5 in the site [closed]

I am trying to make a website for my college, and the program starts from jan 13 and we get 15 days of time to develop a running site. The best site will become the college site. I am participating, ...
4
votes
2answers
212 views

Is making AJAX site crawlable AND degrading gracefully with JS turned off possible?

According to this spec, making AJAX site crawlable by Googlebot means that you have to use hashbang (#!) links in it which means it won't degrade gracefully when JS is turned off. This might mean that ...