Hi Guys, I remember a post about passing url parameters to javascript src. For example
<script type="text/javascript" src="javascript.js?parameter=value"></script>
I forgot how to access the parameter and value? Anyone have an idea of how I can accomplish this? Thanks!
I've been searching for a way to redirect users to a website with their preferred browsing language.
The code seems simple enough.
var userLang = (navigator.language) ? navigator.language : navigator.browserLanguage;
The above works but when I go into my language options in both ie and...
Guys,
I'm trying to match two instances of an email within a web scraping script.
The first sample looks like this:
mailto:pers-zeawm-1181125745@mywebsite.org?subject=Aleman%20busca%20mujer%20de%20panama">pers-zeawm-1181125745@mywebsite.org</a> <sup>[<a...
Hi guys, Im having a problem adding a stylesheet to an xml file. I receive the following format of xml.
<?xml version="1.0" encoding="us-ascii"?>
<?xml-stylesheet type="text/xsl" href="seminars.xslt"?>
<rss version="2.0" xmlns:seminar="http://www.test.com/rss/seminars">
<channel>...
I've been searching for some information on print stylesheets and html emails.
I found one link that was usefull but the comment at the bottom threw me off.
http://www.campaignmonitor.com/blog/archives/2006/06/can_i_include_a_print_styleshe.html
I don't know if I wanna run through...
I got an xml httprequest being called over http. It works fine, however one of the pages requires https, when this page is loaded xml returns blank. Firebug tells me I have a response code of 302 found. When I try to hit the .xml file via url ie "https://myurl.com/xmlfile.xml" I get redirected...
Pretty cool site, what do you guys think? A lot of good articles makes for some good reading if i ever get downtime at work :P.
http://code.google.com/p/doctype/wiki/Welcome?tm=6
I have the following html/css that creates some divs with rounded corners. I can't figure out why IE appears differnt from opera ff safari and other browsers. Anyway I get the following to look like it does in ff for ie 6 or 7?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >...
I have already worked around this issue so it isn't too important but I want to try and figure out why my browser was crashing.
Using this code to remove an object causes firefox to crash.
this.parentNode.parentNode.removeChild(this.parentNode);
Anyone ever encounter this issue? I think...
At work I was asked to copy over some styles today to a new web app. It would have been an easy job but I tend to want to fix things if I think their wrong. I like things running as efficiently as possible. I noticed the previous designer had qualified all his class names by tag and sometimes...
I'm relatively new to c#. Been given the job of remaking a public site our company hosts. The site will have many visitors, and some of it's content needs to be xml driven.
So far I've been able get diferent tests working, but there are so many methods I don't exactly see which one is best...
I was wondering if you guys think the future os may be run in a web browser. I see so many cool things running off web browsers now its bound to happen I think. Here are a few links to get the topic flowing.
Desktop:http://extjs.com/deploy/dev/examples/desktop/desktop.html...
I visit this forum regularly and usually see questions posted where I feel people are not going about it in the best way. While looking at other forums I noticed that some have a FAQ where suggestions on how to properly ask questions are posted. Now I know that I'm a rookie compared to most of...
Hi,
I have a element which is dynamically created and sometimes i need to remove it. The element is appended to differnt divs based on user interaction.
Right now Im doing something like, and it works but it seems rather silly...
http://www.websiteoptimization.com/speed/tweak/css-sprites/
just found this article was wondering if anyone here has used this method of web optimization. What were the results you had? one of our higher traffic site averages about 250,000 visitors daily and i noticed we have 18 images that...
Anyone here ever hear of cssoff? or submit an entry. Seems like something fun to try out. What do you guys think?
http://cssoff.com/2007/05/15/so-what-exactly-is-this-css-off-thing/
I'm def gonna try to enter the next one.
Can you style an anchor based on it's href contents. For example if I have link that points to a .pdf file,
<a href="somepdf.pdf">link</a>
would it be possible to style the anchor based on it's href attributes. I know I can use javascript to parse the href value or use css to apply a class to...
Server at work runs a public website, no access to ssi. Whats the better choice?
was thinking of building something with javascript to include html and using an iframe as a fallback for people without js. Any other suggestions?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML>
<head>
<style type="text/css">
/* CSS for the demo. CSS needed for the scripts are loaded dynamically by the scripts */
*.*{
margin:0px;
padding: 0px;
}
#mainContainer{...
I've been given the task to implement drag and drop functionality to page. Someone apparently visited http://www.pageflakes.com/
and has asked me to build something like it but with less functionality.
I'm more or less looking for a bare bones drag and drop toolkit/Framework/library tutorial...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.