10
votes
7answers
3k views

Is inline JavaScript good or bad?

I've currently switched from WordPress to Yii framework and an external developer is rebuilding my site. One thing I notice is that each time he invokes AJAX / jQuery the Yii way, it embeds inserts ...
0
votes
0answers
37 views

How to inspect code in case of Arabic language?

In case of English, I am able to view by inspect element directly. I want to do the same for Arabic. Using body{direction:rtl} only flips some views but it does not apply body.rtl specific CSS ...
3
votes
3answers
203 views

How to redirect keeping the referral without server-side redirects?

I have an HTML page hosted in Dropbox that some external websites link to. I want to redirect to a different page using only HTML or Javascript, since I can't use any server-side redirects. My goal ...
0
votes
1answer
240 views

Segment subdomains with Google Analytics?

So, when a website has multiple subdomains: www.example.com foo.example.com bar.example.com What is the best way to use Google Analytics to segment the data? I would prefer have access to 'All ...
2
votes
1answer
68 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?
2
votes
2answers
267 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 ...
2
votes
1answer
251 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
0answers
58 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 ...
1
vote
1answer
98 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 ...
3
votes
3answers
228 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 ...
2
votes
1answer
823 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
168 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 ...
3
votes
1answer
689 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 ...
2
votes
1answer
102 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, ...
3
votes
1answer
275 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 ...
4
votes
2answers
283 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 ...
3
votes
2answers
288 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
969 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 ...
5
votes
1answer
420 views

How to overcome politics of the net (Google translate code refuses to work from a specific region)

According to the FAQ's I am not sure if my question is a ok to ask or will be closed or should I post it in the meta or even I would blame some one for downvoting it. However it is one that has been ...
2
votes
0answers
29 views

How to overcome politics of the net (Google translate code refuses to work from a specific region) [duplicate]

Possible Duplicate: How to overcome politics of the net (Google translate code refuses to work from a specific region) I have this Web Site. It uses the Google Translate API (Can't post the ...
0
votes
1answer
323 views

SVG images grow and create scrollbars when on the server

Okay so I embedded some SVG images into my page and opened it locally on Chrome and it looked fine. I upload the same file to the server and look at the page online and the SVG images have grown by ...
3
votes
1answer
1k views

Fixing validator error “cannot generate system identifier for general entity”

The W3C validator shows a "cannot generate system identifier for general entity" error when attempting to validate a page that contains the following code: <script type="text/javascript" ...
0
votes
3answers
458 views

Tracking Outgoing Links With Google Analytics Events

I've been trying to track clicks on external links on my website using the events tracking method. So I've got my Google Analytics code setup before body ends as shown below (note: quotes have been ...
1
vote
1answer
112 views

Is text in Javascript HMTL scripts taken into account in Google (or other) indexes?

I have a HTML page where I update the content of a div to display some introduction text when displaying the page. It is hard for me to create copies of this page for all possibilities and move the ...
2
votes
0answers
133 views

two columns text block with an image [closed]

I have a dilemma. Here is the layout: How should I markup this kind of layout? P.S.: The columns have different width.
1
vote
0answers
583 views

Javascript autotab function not working on iPad or iPhone [closed]

I have this this piece of html code: <form name="postcode" method="post" onsubmit="return OnSubmitForm();"> <input class="postcode" maxlength="1" size="1" name="c" onKeyup="autotab(this, ...
1
vote
0answers
543 views

I need this Font Picker for my project but I'm not able to get it working. [closed]

I am trying to create a "FontPicker" just like a normal "color picker". I have see many websites implementing "font picker" please check out http://mklogo.com for example, where the fonts are ...
2
votes
2answers
252 views

Run external application on markdown source in ikiwiki

Can I add a button to each wiki page in ikiwiki which launches an external application (on the client side) or script with the markdown code of the current page as input? Edit: I didn't realize that ...
0
votes
2answers
1k views

Best and easy way to add video to website

I want to add videos to my website. I want to click on images and then to show video in "window" and start playing (popups like lightbox). I just don´t know what is best way to do it. I think one of ...
3
votes
5answers
639 views

Can the webpage title be changed after site has been loaded.

Can the web page title be set to be dynamic? I want to let some part to be updated in title, if any changes occur, an automatic update resulting in a bit of word addition to the title. Example : the ...
1
vote
1answer
979 views

How to make my page load faster? [duplicate]

Possible Duplicate: Ideas to improve website loading speed? My page gets performance score 79 in yslow which is not bad. Yslow says the parts I can work on are 1) Grade F on Make ...
1
vote
1answer
140 views

Multimedia web applications that perform well [closed]

There are a few multimedia web applications like PHPMotion, ClipBucket that allow playback of multimedia files. Beside the mentioned multimedia web applications, are there other similar multimedia ...
2
votes
1answer
129 views

Why don't people embed style and scripts in the HTML?

I know this sounds like a silly question, but hear me out. These days, there are a lot of 'media aggregator' tools that will take your globs of javascript (laden with coffee and underscores and ...
1
vote
2answers
401 views

Putting Together HTML, CSS, and JavaScript

Hopefully this question isn't too broad… I am a competent iOS programmer and have some experience with Java (command-line tools). Over the last year or two I've dabbled into HTML, CSS, and ...
5
votes
1answer
491 views

When opening a local HTML file, how do I ensure I get the content not a cached version?

I have an issue where the newest content of a local HTML file is sometimes not displayed. Instead, the browser shows a cached version. The workaround is to press <Ctrl>+<F5> but I'd like ...
3
votes
3answers
223 views

Using js and cookies to show different content on homepage? Good or Bad Practice?

I just wanted to get everyone's opinion on this, so I've been thinking about using a cookie I set on our ecommerce site to show customers different content when they return to the website. It is ...
6
votes
1answer
211 views

If all content is on a single page and hidden/shown with JS would it make sense to use hashbangs?

I have a page where the general structure is <a href="#section1">section 1</a> <a href="#section2">section 2</a> <a href="#section3">section 3</a> <a ...
1
vote
1answer
147 views

How to have html display a link, but open a javascipt function instead?

I have an html page, and I need a link to show that the user would be going to 'example.html', when really, the link goes to 'javascipt:ajaxLoad(example.html);'. EDIT: I went over to stackexchange, ...
0
votes
2answers
138 views

Does Google Analytics track links that use onclick=“parent.location='Something.html' ”?

I am using onclick="parent.location='#'" to make a table into a link, but will Google Analytics see this as a link or will it cause mayhem in the reports?
9
votes
2answers
184 views

Automated Website Testing/Sanity/Quality

I am thinking about building a tool that starts from the root of a webpage and traverses the entire website gathering a list of resources such as CSS/HTML/Javascript files and then runs CSS/Javascript ...
0
votes
2answers
81 views

Mac font on website on PC

I like how fonts look on a Mac. Is it possible to render something similar in a website and have it work on all operating systems and browsers? I'm aware of font-face but I can't seem to find a clean ...
3
votes
1answer
126 views

JS and CSS caching issue: possibly .htaccess related

I've been using the HTML5 Boilerplate for some web projects for a while now and have noticed the following issue cropping up on some sites. My CSS and JS files, when loaded by the browser, are being ...
2
votes
1answer
89 views

Google Ads Blocking Other Site Elements From Loading

I'm using Google DFP to serve Adsense ads. In Google Chrome (this doesn't seem to happen in other browsers), the page will get stuck loading pagead2.googlesyndication.com. It will just load for hours ...
18
votes
5answers
460 views

What documentation exists for HTML, CSS, and JavaScript?

PHP users have the PHP.net docs Ruby users have Ruby-Doc.org Python users have docs.python.org jQuery users have docs.jquery.com All are considered go-to references when working within those ...
3
votes
1answer
1k views

Does using onclick on div's effect SEO?

I have a few elements on my page that uses onclick as the link, e.g: <div class="service" onclick="location.href='<?php echo $fields->service_1_link; ?>'" style="cursor:pointer;"> ...
5
votes
4answers
3k views

Free search tool for static website

I am looking for a free search tool for a website hosting html documentation files. the tool should display the results as listings of page title and few lines of text from that page. It should also ...
2
votes
1answer
2k views

Rounded corners in IE7 and IE8

Now every major browser supports border-radius, I was wondering what the best way to get rounded corners in IE7 and IE8 is until IE9+ becomes most dominant version of IE. I've seen several javascript ...
5
votes
1answer
591 views

Looking for a desktop application similar to jsFiddle

Is there a desktop application or IDE for Windows or GNU/Linux similar to jsFiddle where I can insert my JavaScript code, HTML and CSS and see how it executes? I don't mind writing HTML, CSS and ...
1
vote
3answers
344 views

Javascript in HTML vs in a .js file

I heard that putting the javascript in the html code isn't good for SEO and that it's better to put it in a .js file. It's clear that it makes the code more understandable but is it the only reason?
2
votes
2answers
384 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 ...