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.
3
votes
2answers
193 views
Best approach to have Google index content primarily generated by Javascript
I'm developing an app where customers can drop in a Javascript tag onto their website, and it will generate content. What is the best approach to have Google index this content and associate it with ...
2
votes
2answers
92 views
Major SEO Pitfalls of JavaScript loaded CSS?
Looking to start with a basic.css and have JavaScript load enhanced.css when JavaScript is ebabled. What major negatives will this have for Search Engines indexing and ranking my site?
4
votes
3answers
4k views
What is the optimal folder structure for a web directory?
I've been doing web development for years, and I've always done a web structure similar to this:
public_html/login.php
public_html/css/login.css
public_html/js/login.js
public_html/img/logo.png
...
2
votes
1answer
2k views
Javascript not loading from local drive
I'm overlooking the obvious...Modifying an index page on local hard drive before uploading it to server. And the javascript is not loading. This doesn't work:
...
3
votes
2answers
1k views
Hijax == sneaky Javascript redirects? Will I get banned from Google?
Question
Will I get penalised as "sneaky Javascript redirects" by Google if I have the following Hijax setup (which requires a JavaScript redirect on the page indexed by google).
Goal
I want to ...
2
votes
0answers
347 views
Hijax == sneaky Javascript redirects? Will I get banned from Google?
Question
Will I get penalised as "sneaky Javascript redirects" by Google if I have the following Hijax setup (which requires a JavaScript redirect on the page index by google).
Goal
I want to ...
1
vote
1answer
278 views
Point to folder in <script> tag
When you are loading JavaScript files via the <script> tag, you can only do it one-by-one, ie <script src="myFile.js"> or so I'm assuming. Is there a way to load an entire directory of .js ...
-2
votes
2answers
87 views
2
votes
2answers
282 views
A JavaScript Rich Editor That Doesn't Convert Non-ASCII Text to Character Entities?
I am working on a site for Spanish speakers, and I am looking for a UTF-8 enabled JavaScript Rich Text Editor that preserves non-ascii characters as text, instead of entity encoding. That is, when I ...
3
votes
1answer
351 views
Is this safe? <a href=http://javascript:…>
I wonder if href and src attributes on <a> and <img> tags are always safe w.r.t. XSS attacks, if they start with http:// or https://.
For example, is it possible to append javascript: ... ...
2
votes
1answer
215 views
What are the PCI compliance and security implications for processing payments through my embeddable widget?
I've built a little embeddable Javascript widget that list items for sale for publishers to embed on their site. The current use case is that when the user clicks on an item, they are redirected to my ...
2
votes
2answers
200 views
What could artificially increase the bounce rate reported in Google Analytics?
Since deploying Janrain Engage to our website, which includes a javascript snippet that is loaded from their servers, I've noticed about 10-15% increase in our bounce rate. I think this is artificial ...
3
votes
1answer
1k views
Hide email adress with JavaScript
I read somewhere that hiding email address behind JavaScript code, could reduce spam bots harvesting the email address.
<script language="javascript" type="text/javascript">
var a = "Red";
...
1
vote
3answers
517 views
Javascript and PHP how should I en/decode my data
I would like to know in what encryption should I encode my data and why. First of all, I use GET method because it is search engine inside website. Second, I use RTL language (hebrew). And third which ...
1
vote
3answers
639 views
Will my new HTML5 website decrease my Google ranking?
I have a traditional HTML website that loads pages/sections of the site when people click on menu items. Pretty standard.
Currently, I'm working on relaunching my website with a brand new HTML5 code ...
4
votes
2answers
524 views
Does placing Google Analytics code in an external file affect statistics?
I'm working with an outside software vendor to add Google Analytics code to their web app, so that we can track its usage. Their developer suggested that we place the code in an external ".js" file, ...
0
votes
1answer
979 views
How can I making Twitter, Facebook and Reddit share buttons load last?
I have a website with a number of pages that sport twitter, facebook and reddit share buttons. They take forever to load and until they do the rest of the page doesn't load. So how I can make them ...
1
vote
2answers
116 views
Here we go again - quest for web hosted forum via javascript
disclaimer
If this is the wrong location for this question, then please advise me accordingly.
backgound
I've been using Disqus and intense debate as a 'comments' service for a variety of my ...
1
vote
1answer
28 views
Tracking Redirects Leading to your site
Is there a way in which I can find out if a user arrived at my site via a redirect?
Here's an example: There are two sites, first.com & second.com. Any request to first.com will do a 302 ...
1
vote
1answer
336 views
What is a light-weight “slideshow” script that could integrate w/ CMS?
I'm looking to reduce the footprint of my Strict html 4.01 front page. One possible way is to combine much of the "upcoming events" into a single small box, and have them automagically switch which ...
1
vote
1answer
390 views
SimpleViewer + lightbox
Is it possible to integrate any kind of Lightbox with SimpleViewer? But I don't want to display SimpleViewer in Lightbox. I want to Lightbox show when I click on one of the images in SimpleViewer.
...
15
votes
1answer
47k views
How to open the JavaScript console in different browsers?
Updated on October 7th 2012
Chrome:
Press either CTRL + SHIFT + J to open the "Console" tab of the Developer Tools.
Alternative method:
Press either CTRL + SHIFT + I or F12 to open the ...
0
votes
0answers
77 views
Error on page - Firebug Lite [closed]
When i click Firebug's bookmarklet (Firebug Lite) .
There is an error on my page.
I can't solve this. Firebug Lite working all other websites, but doesn't working on my webpage.
7
votes
7answers
909 views
Can anyone list some real examples of 'HTML5' being used in the wild?
I am using HTML5 in the same way everyone seems to be using it these days, meaning: HTML5 tags, Canvas / 3D / javascript and CSS3.
I am struggling to find examples of sites that are using these ...
1
vote
2answers
409 views
Optimizing perceived load time for social sharing widgets on a page?
I have placed the facebook "like" and some other social bookmarking websites link on my blog, such as Google Buzz, Digg, Twitter, etc.
I just noticed that it takes a while to load my blog page as it ...
0
votes
1answer
2k views
How to make buttons that highlight on select? [closed]
Requirement:
1. Buttons options are submitted part of form action
2. Only one option is allowed at a time (like radio button)
3. There are no bullets displayed
4. The button text 'button' is ...
0
votes
2answers
441 views
Sidebar for Navigation in Website
I want to have a sidebar in my website with navigation in it.
I will use script like phpBB etc. but I want sidebar to be displayed on every page.
So I am thinking about making a Sidebar in HTML and ...
2
votes
2answers
345 views
Should I use HTTP or HTTPS to reference resources on the Google CDN?
All the examples of accessing google's CDN use https:// in the URL (including on Google itself) - but this has caused a problem when testing in Safari (certificate problem and also different domain).
...
1
vote
1answer
4k views
Why does XFBML work everywhere but in Chrome?
I try to add simple Like button to my Facebook Canvas app (iframe). The button (and all other XFBML elements) works in Safari, Firefox, Opera, but in Google Chrome.
How can I find the problem?
...
1
vote
2answers
528 views
Has anyone been able to convert a site's media content from flash to html5?
I'm looking to convert a site from Flash based video to HTML5, the current video uses time marks to display slides (kind of like how youtube has ads on their videos). But the difference between ...
0
votes
3answers
146 views
Search engine for website
Does anybody have any recommendations for a search engine that I can use for my website. I currently use Google CSE, but am wondering if there is anything better.
I want to be able to have the ...
3
votes
7answers
537 views
Space in img:s “ALT” attribute good/bad for search engines?
I am trying to make it easier for search engines to crawl my website, as it is almost 100% dynamic.
I have a couple of transparent images which are actually links to sections of my page.
I wonder, ...
0
votes
2answers
641 views
How to find a good photo gallery for my website? [duplicate]
Possible Duplicate:
Which Content Management System (CMS) should I use?
For my website I'm searching for a really simple gallery module that looks like the one use by Dropbox. But I'd like ...
0
votes
1answer
107 views
Intentional placing of text in clipboard
By intentional I mean the user is actively clicking a button or performing an action that leads to certain text being places in their clipboard. As far as I know the only solution to this is Zero ...
4
votes
1answer
254 views
Some Adsense domain's ads are causing document.write() statements that remove the html from the page
All that is output on the page is the domain name of the advertiser, for example 'www.solar-aid.org'. The rest of the content is stripped, I believe because of a document.write() statement.
I'd like ...
0
votes
3answers
145 views
How can i replicated this functionality?
http://www.astorandblack.com/ab/bespokevisualizer/ (click on "continue as guest")
A client wants this "bespoke visualizer" on their site. Is there a third party plugin I can buy for this? It can be ...
2
votes
2answers
103 views
2
votes
3answers
143 views
Recommend me a CSS/JS compressor
There are scripts to compress CSS on-demand like these.
Have you stumbled upon something similar for javascripts? Also, any recommendations regarding CSS and JS compression are more than welcome. ...
2
votes
2answers
223 views
How do i properly use CustomVars in google analytics?
How do i properly use custom vars in google analytics? I used the code below and here is what i notice
i only seen 'one' being in the get request
After 24 hours only 'one' showed up
After commenting ...
1
vote
2answers
151 views
cookie not being sent when requesting JS
I host a webservice, and provide my members with a Javascript bookmarklet, which loads a JS sript from my server. However, clients must be logged in, in order to receive the JS script. This works for ...
4
votes
3answers
993 views
Is there a Magento extension for combining/compressing javascript and css?
I thought Magento came with this feature out of the box but it doesn't appear to be working at all. I'm not sure if I haven't set it up properly, but right now I'm resorting to using cat and altering ...
10
votes
3answers
2k views
Does the Google spider render JavaScript?
Does the Google spider knows how to render JavaScript, or only HTML?
3
votes
2answers
429 views
How can I create links in javascript that are crawlable by search engines?
If I use JavaScript + jQuery, for example, does links inserted in $(document).ready() will be available for crawling? How can I insert crawlable links in JavaScript?
3
votes
4answers
685 views
1
vote
1answer
471 views
Overriding link action with ajax - SEO
If I override default link href with onclick and ajax, for example link <a href="/mypage">, so onclick I load mypage through ajax, if javascript is disabled, or its a text browser or bot, I let ...
0
votes
2answers
113 views
Recommendations for affordable and reliable Drupal theme designer [closed]
Can anyone recommend an affordable and reliable Drupal theme designer, who can take a concept and produce a Drupal 6.19-compliant theme?
The backend functionality and structure of the web site is ...
9
votes
5answers
199 views
What new cross-browser features can we use if we drop support for IE6?
My company is dropping support of IE6 and I just realize that we can use a set of great features.
Is there a list of CSS, Javascript features which we can use with IE6 RIP?
2
votes
1answer
490 views
Google Search results not showing up
I have added a custom Google Search to a site and while the search box functions the results page is pathetically empty.
Here is the search box code:
<form ...
7
votes
3answers
3k views
How does redirects affect SEO?
I'm currently working on a new landing page for this site. I want the landing page to replace the existing front page of the site. However I don't want to lose the Page Rank of the current front page ...
0
votes
1answer
139 views
Bad webpage with excellent content. Ideas? [closed]
I am currently building a system that automatically create a redesign of an existing webpage. The new webpage should have better graphic design, better industrial design, and a state of the art ...