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...
that code reminded me of jquery cause jquery uses a javascript compresser.
My guess the person who wrote your code also used a compressor.
more info -->http://dean.edwards.name/packer/
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
Is it really incomplete though I read that the DTD url was optional?
The complete doctype did fix the display differences between ie7 and other browsers except for ie6. IE6 is still being silly and adding exra padding or margin to my divs, I'm sure this bug is documented somewhere I guess I'll...
Nnm problem fixed by switching from.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
>
to
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
VSS was auto inserting the doctype so i didn't double check it. :<
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" >...
Ok well I was thinking about your problem one possible solution is to load an image, some small like a spacer and attach an onload event that will reference it's parent element on load. I would NOT recommend this, there has to be a better way to achieve what you are trying to accomplish but...
No idea, we could help you better if you posted client side code instead of a mix of php, html and javascript. Also include your functions. I have no idea what your greyOut function looks like or what it does.
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.